rigaya / NVEnc

NVENCによる高速エンコードの性能実験
https://rigaya34589.blog.fc2.com/blog-category-17.html
Other
1.1k stars 114 forks source link

Deinterlace video / Analysing + Auto detecting interlacing #650

Open zenomag opened 3 days ago

zenomag commented 3 days ago

Hello, I would like to know if it is possible or if there is a way within the available options to detect the type of interlacing a video has. Many blurays have interlacing, some are fakes, some are hybrid, some are more complex. etc

Analysing + Auto detecting interlacing type

For those who will comment that the only optimal way to know and detect the type of interlacing in a video is to check it yourself and that your eye is the best detector ..... I already know that, thanks :)

Please is there such an option or would it be possible to add it? I know that the Megui program has a source analyser and it detects the type of interlacing and also tells you which filter would be better to use, etc. Is there anything similar here? thanks.

image image

And a second question, for example, what would be the equivalent of these Avisynth filters in NVEncc?

tfm(order=1) -------------------- (http://avisynth.nl/index.php/TIVTC/TFM) tdecimate(hybrid=1) --------------- (http://avisynth.nl/index.php/TIVTC/TDecimate)

Thanks for the help and I hope you can help me.

rigaya commented 2 days ago

Auto deinterlace

It might be achieved by using --interlace auto combined with the deinterlacer below.

The deinterlacer we have on NVEnc is below.

what would be the equivalent of these Avisynth filters in NVEncc?

There is no filter equivalent to those. They are too complicated (it seems to be including motion vector detection), and difficult for me to implement as a GPU code in a realistic time.

For those complicated filters, I recommend to simple use Avisynth and read avs file in NVEncC.