This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Trying to deinterlace with Bob NVEnc; job crashes
#15
(20.08.2021, 20:53)Selur Wrote: Okay, correction "-deint" isn't yadif_cuda, it's an option of 'h264_cuvid' which I'm not supporting since was replaced with h264_nvenc.
On Linux h264_nvenc is supported (but there is no deint option).

Umm, it was not replaced. Only the encoder was replaced. The decoder wasn't and uses the latest deinerlacing method from the drivers. This is why I use it.

The encoder was fully removed from FFmpeg, if h264_cuvid ever was an encoder to begin with.

(20.08.2021, 20:53)Selur Wrote: If you want decent deinterlacing use QTGMC, YadifMod or similar.
If you need that deinterlacer don't use Hybrid.

Fair enough.
QTGMC makes some videos flicker, while h264_cuvid doesn't.
QTGMC is far slower than h264_cuvid (30 FPS compared to 220)
YadifMod still keeps many combing artifacts, while h264_cuvid doesn't.

I rewrote the command in the initial post:
ffmpeg -c:v h264_cuvid -deint 2 -i <input_video> -c:v libx264 -profile:v high -preset veryfast -crf 18 -x264opts "keyint=500" -c:a copy <output_video.mkv>

The command initially sets the decoder used for the input video and sets the deinterlacing mode to "2", which means "adaptive". Then, the command follows a normal path, setting and configuring libx264 as an encoder.

In case you do want to add another deinterlacing method by enabling the use of h264_cuvid and h265_cuvid as decoders, you have the info needed here.

As I mentioned above, h264_cuvid and h265_cuvid areĀ not encoders, if this changes your mind.

EDIT: I just noticed there are resizing and cropping options. I have to test them and see whether or not they are more efficient than the usual CPU methods.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 18.08.2021, 20:42
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 18.08.2021, 21:08
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 19.08.2021, 12:12
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 19.08.2021, 18:00
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 19.08.2021, 21:04
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 19.08.2021, 22:53
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 21.08.2021, 14:59
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 21.08.2021, 15:41
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 21.08.2021, 21:41
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 21.08.2021, 23:49
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 16:13
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 16:27
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 16:53
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 17:09
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 21:58
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 22.08.2021, 23:18
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 10:53
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 18:07
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 18:31
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 20:56
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 21:19
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 23.08.2021, 22:48
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 01:41
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 13:57
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 15:21
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 15:39
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 16:31
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 19:31
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 20:17
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 24.08.2021, 22:37
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 25.08.2021, 20:57
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 25.08.2021, 22:19
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 28.08.2021, 22:26
RE: Trying to deinterlace with Bob NVEnc; job crashes - by antoniu200 - 29.08.2021, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)