Skip to content

Commit

Permalink
video: change default NVENC scaler to CUDA (#582)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Nov 18, 2023
1 parent a1e6e72 commit 05101ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [Unreleased]

- **Breaking**: The CUDA scaler is now the default for NVENC. You may need to reconfigure your transcoder. (see [#582](https://github.com/pulsejet/memories/issues/582))

## [v6.1.0] - 2023-11-15

- **Feature**: RAW files are now hidden (stacked) when another file with the same basename exists ([#537](https://github.com/pulsejet/memories/issues/537), [#152](https://github.com/pulsejet/memories/issues/152), [#419](https://github.com/pulsejet/memories/issues/419))
Expand Down
2 changes: 1 addition & 1 deletion lib/Settings/SystemConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SystemConfig
// NVENC configuration options
'memories.vod.nvenc' => false, // Transcode with NVIDIA NVENC
'memories.vod.nvenc.temporal_aq' => false,
'memories.vod.nvenc.scale' => 'npp', // npp or cuda
'memories.vod.nvenc.scale' => 'cuda', // cuda or npp

// Extra streaming configuration
'memories.vod.use_transpose' => false,
Expand Down
12 changes: 6 additions & 6 deletions src/components/admin/sections/VideoAccel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,22 @@
<NcCheckboxRadioSwitch
:disabled="!enableTranscoding || !config['memories.vod.nvenc']"
:checked.sync="config['memories.vod.nvenc.scale']"
value="npp"
value="cuda"
name="nvence_scaler_radio"
type="radio"
@update:checked="update('memories.vod.nvenc.scale')"
class="m-radio"
>{{ t('memories', 'NPP scaler') }}
@update:checked="update('memories.vod.nvenc.scale')"
>{{ t('memories', 'CUDA scaler') }}
</NcCheckboxRadioSwitch>
<NcCheckboxRadioSwitch
:disabled="!enableTranscoding || !config['memories.vod.nvenc']"
:checked.sync="config['memories.vod.nvenc.scale']"
value="cuda"
value="npp"
name="nvence_scaler_radio"
type="radio"
class="m-radio"
@update:checked="update('memories.vod.nvenc.scale')"
>{{ t('memories', 'CUDA scaler') }} ({{ t('memories', 'not recommended') }})
class="m-radio"
>{{ t('memories', 'NPP scaler') }}
</NcCheckboxRadioSwitch>

<br />
Expand Down

0 comments on commit 05101ed

Please sign in to comment.