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
#59
(24.08.2021, 14:53)Selur Wrote:
Quote: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).
Can't reproduce.

-> Can you give more details in what you did?

Sorry, forgot to mention that after the h264 input was loaded and the defaults were set, I restored the defaults. This is why I think defaults should not retain the decoder, but only the deinterlacer. Hybrid should always decide the decoder based on the input and never the user.



(24.08.2021, 14:53)Selur Wrote: About adaptive deinterlacing: What is the difference between adaptive and bod if both return one frame per field?

Sorry I have no documentation on this. The only way I can tell this is how it's supposed to function is by looking at output videos.

The difference between Bob and Adaptive is bob is the casual, usual bobber; whereas Adaptive is a Vector Adaptive deinterlacing method (deduced from the artifacts it creates with some videos used for testing).

Here are the sources I used to determine this: https://www.avsforum.com/threads/hd-1080...r.1157287/



Also, not sure CUVID is the broken part here:
Quote:ffmpeg -r 50 -c:v mpeg2_cuvid -deint adaptive -i ~/00001.ts -sn -an -qp 22 -c:v h264_nvenc -y out.mkv

Works fine for me on release/3.4, release/4.0 and master.

Note the -r 50 as input option, for the file which is originally 25 fps. You need to manually specify that, as ffmpeg.c is not up to the challenge of changing the fps from inside of a decoder.

Quote:ffmpeg.c just does not support a decoder changing the framerate of a video. Making it so it does is a major undertaking.
The only way around it is to use the deinterlacer via API from an application that supports it.

Another useful quote:
Quote:After further testing, -r 50 on input works fine if input is a correct encoded file, starting from keyframe etc etc. If input is a live stream (http or udp multicast), even if it starts at keyframe, with -r 50 as input any input error will immediately result in audio/video sync error. -r 50 on input completely breaks the audio/video sync mechanism on input (I guess because it kind of breaks timestamps). So it is not a good solution, it works for some workloads (file transcoding) but not for live transcoding.
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)