[FFmpeg-trac] #11505(avcodec:new): Cuvid decoders do not work with CUDA hwaccel anymore
FFmpeg
trac at avcodec.org
Wed Mar 12 20:00:38 EET 2025
#11505: Cuvid decoders do not work with CUDA hwaccel anymore
-------------------------------------+-------------------------------------
Reporter: bermond | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: cuvid cuda | Blocked By:
Nvidia hw_decode hwaccel |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by bermond):
> I still do not get it why are using it like this, that is kinda wrong...
h264_nvenc should be used.
h264_nvenc is an encoder, and I guess you are confusing things here. This
issue is not about the encoder.
But the issue is about the decoder. And more specifically, about Cuvid
decoders (h264_cuvid, hevc_cuvid and so on).
> ffmpeg -init_hw_device cuda=gpu:0 -hwaccel cuda -hwaccel_output_format
cuda -hwaccel_device gpu -hwaccel cuda -i input.mp4 -c:v h264_nvenc -y
test-out.mp4
Your example does not use Cuvid decoders, which are the subject of this
issue.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11505#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list