refactor: update FFmpeg hardware acceleration to use NVDEC instead of CUVID for improved performance
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m2s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m2s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
This commit is contained in:
parent
bdbf688946
commit
cb9ff7bc86
2 changed files with 7 additions and 9 deletions
|
@ -109,11 +109,9 @@ class FFmpegCapabilities:
|
|||
if codec == 'h264':
|
||||
options.update({
|
||||
'hwaccel': 'cuda',
|
||||
'hwaccel_device': '0',
|
||||
'video_codec': 'h264_cuvid',
|
||||
'hwaccel_output_format': 'cuda'
|
||||
'hwaccel_device': '0'
|
||||
})
|
||||
logger.info("Using NVIDIA CUVID hardware acceleration for H.264")
|
||||
logger.info("Using NVIDIA NVDEC hardware acceleration for H.264")
|
||||
elif codec == 'h265':
|
||||
options.update({
|
||||
'hwaccel': 'cuda',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue