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

Nishant Trivedi nishant at paravision.ai
Wed Mar 10 22:54:28 EET 2021


Oh duh! Thanks @Moritz!

As a side note, I just wanted to mention that we mostly deal with RTMP
streams and we have been starting the ffmpeg process the way I described
for over a year and half now and it never complained. It's just now that we
started looking into supporting RTSP, ffmpeg complained about the option.
Obviously it's a bug on our end and we will fix the arg but I thought it
would be interesting to note the behaviour here. Thanks again!

Best,
- Nishant.


On Wed, Mar 10, 2021 at 4:34 AM Moritz Barsnick <barsnick at gmx.net> wrote:

> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list