[FFmpeg-user] Error decoding RTSP stream using h264_cuvid vcodec

Moritz Barsnick barsnick at gmx.net
Wed Mar 10 11:34:35 EET 2021


On Tue, Mar 09, 2021 at 16:46:41 -0500, Nishant Trivedi via ffmpeg-user wrote:
> I am trying to decode a RTSP video stream using ffmpeg while using
> h264_cuvid vcodec to take advantage of hardware acceleration on a machine
> with NVIDIA GPU. I am seeing an error with the message Unknown encoder
> 'h264_cuvid'.

That's because no such encoder exists.

Have you tried "h264_nvenc"?

> ffmpeg version n4.1.6-5-g7f0db52c53 Copyright (c) 2000-2020 the FFmpeg developers

On this list, it's also always a good idea to use a recent version of
ffmpeg - preferred from latest git. That way, you can rule reporting
bugs or missing features which are no longer valid.

Cheers,
Moritz


More information about the ffmpeg-user mailing list