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
#55
(24.08.2021, 05:06)Selur Wrote:
Quote:I just noticed your PM. First bug I see is that it forces you to drop one field.
That's how the deinterlacer works.
Either:
a. you use 'bob' and one frame per frame is returned
or
b. you use 'adaptive' and then by default, if the frame is marked as interlaced in the input, the first-field get's dropped or by setting '-drop_second_field' you drop the second field. If the field is marked progressive in the input it not deinterlaced.

That's quite not true. The CUVID adaptive is not the same thing as NVEnc adaptive.

NVEncC adaptive works by outputting one frame for 2 fields.
CUVID adaptive works by outputting one frame for 1 field.

Please test this behavior for yourself with any interlaced video. The videos I sent here clearly show how CUVID adaptive works.
(21.08.2021, 21:41)antoniu200 Wrote: Original - interlaced
CUVID Adaptive Deinterlaced

It says here:
Quote:
adaptive        2            .D.V....... Adaptive deinterlacing

Note how it doesn't say
Quote:
  • normal ... standard 60i → 30p interleave cancellation.
  • adaptive ... same as normal
Like it did here: https://github.com/rigaya/NVEnc/blob/mas...ace-string



I managed to break it: I saved the config for an mpeg2 input file, loaded an h264 input file and clicked on "Add to queue and start queue". It started the job using the wrong decoder (mpeg2_cuvid for h264 file).

The suggested fix: don't save the decoder used for the deinterlacer, but just the deinterlacer. Let the program always choose the deinterlacer.

One more thing to keep in mind: for mpeg2_cuvid, it is required that the final expected framerate be specified through FFmpeg, by using the option "-r <output_framerate>", basically overriding the input framerate. In my cases, I would need to add "-r 50", right before mpeg2_cuvid. I would advise using this option for all cuvid decoders, because testing each of them whether or not they require it is very time consuming.
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: 3 Guest(s)