[FFmpeg-user] ffmpeg cuvid not transcoding properly
dssnosher at gmail.com
Tue Nov 19 05:22:40 EET 2019
This finally fixed it:
-hwaccel cuvid -c:v mpeg2_cuvid
Indeed, you need to specify the input type before transcoding!
On Mon, Nov 18, 2019 at 12:35 PM Ted Park <kumowoon1025 at gmail.com> wrote:
> I just noticed this but it some examples it seems you are specifying h264 decoder for an input that (apparently) is mpeg? I’m not sure which is which, but I think cuvid and nvdec differ in the way they map or copy to graphics memory thought maybe that might be the difference between the logs (hw decoder into gpu you probably need to specify format, especially when its input is http, I don’t know if in ffmpeg the protocol takes mime type into account.) For the compilation issues, check that you have cuda nvenc ffnv… etc where they can be found by configure script, clean before make.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user