21.08.2021, 21:41
https://docs.nvidia.com/video-technologi...o-decoding
https://docs.nvidia.com/video-technologi...rog-guide/
I guess these can be useful links for implementing NVDEC, how they call it, or CUVID, how it is in FFmpeg.
From what I can see in FFmpeg and somewhat deduce from their documentation, all CUVID types have the same options. It seems that, for mpeg2_cuvid, the original field rate has to be forced with the "-r" command from FFmpeg, otherwise it will drop half the frame rate (at least on my drivers). Not the case with h264 and h265 versions.
Absolutely. I just tested with FFmpeg myself.
My mistake, sorry. I was thinking about the VLC version of YADIF, which is horrible. YadifMod is actually pretty ok, similar to QTGMC for my eyes, with less flicker; but still slower and a bit more prone to flicker than CUVID adaptive.
I deinterlaced a video where I saw QTGMC have some flicker. YadifMod did pretty well, but was slower than CUVID (2 seconds vs instant encode). I could also try YadifMod on longer videos, but that will take longer for me to get done.
If you're interested, I'd recommend downloading all videos, since Drive re-encodes them (and deinterlaces when interlaced).
Original - interlaced
CUVID Adaptive Deinterlaced
QTGMC Deinterlaced (Draft, Bob, OpenCL)
YadifMod Deinterlaced (NNEDI3, mode 1)
QTGMC was used in Draft, since that is the only way I can come close to an acceptable speed of 30 FPS for 1080i25 video files.
https://docs.nvidia.com/video-technologi...rog-guide/
I guess these can be useful links for implementing NVDEC, how they call it, or CUVID, how it is in FFmpeg.
From what I can see in FFmpeg and somewhat deduce from their documentation, all CUVID types have the same options. It seems that, for mpeg2_cuvid, the original field rate has to be forced with the "-r" command from FFmpeg, otherwise it will drop half the frame rate (at least on my drivers). Not the case with h264 and h265 versions.
Selur Wrote:So h264_cuvid can only be used when decoding h264 content through the gpu, right?
Absolutely. I just tested with FFmpeg myself.
(21.08.2021, 15:28)Selur Wrote:Quote:YadifMod still keeps many combing artifacts, while h264_cuvid doesn't.Okay.
My mistake, sorry. I was thinking about the VLC version of YADIF, which is horrible. YadifMod is actually pretty ok, similar to QTGMC for my eyes, with less flicker; but still slower and a bit more prone to flicker than CUVID adaptive.
I deinterlaced a video where I saw QTGMC have some flicker. YadifMod did pretty well, but was slower than CUVID (2 seconds vs instant encode). I could also try YadifMod on longer videos, but that will take longer for me to get done.
If you're interested, I'd recommend downloading all videos, since Drive re-encodes them (and deinterlaces when interlaced).
Original - interlaced
CUVID Adaptive Deinterlaced
QTGMC Deinterlaced (Draft, Bob, OpenCL)
YadifMod Deinterlaced (NNEDI3, mode 1)
QTGMC was used in Draft, since that is the only way I can come close to an acceptable speed of 30 FPS for 1080i25 video files.