Log in

View Full Version : Yadif is an excellent deinterlacer, but the last version, v1.7, is crap.


orion44
21st April 2023, 12:01
Throughout the years, I always read on video forums how Yadif is a very good deinterlacer,
and people were recommending it to users who didn't want to use QTGMC.

After downloading and trying Yadif v1.7 a couple of times in the past, I didn't know what all the fuss was about,
because it produced a slightly 'plastic' look that I didn't like. So I stopped using it.

Couple of days ago, out of curiosity, I downloaded Yadif v0.9 from here:
http://web.archive.org/web/20080112060959/http://avisynth.org.ru/yadif/yadif.html

Wow, what a difference this version makes! It produced an excellent deinterlaced video without any traces of that 'plastic' look.

It has now become my preferred deinterlacer for same frame rate deinterlacing (Yadif(mode=0, order=1)).

Anyway, just wanted to post this if any of the users are having the same problem with Yadif that I had.
If you don't like the look that Yadif produces, don't use versions of Yadif created after 2007. Instead, use the version 0.9 from 2007.

Sharc
21st April 2023, 14:07
Interesting.
Personally I still avoid deinterlacing unless I really have to deinterlace.

Have you ever tried BWDIF as an alternative to yadif or yadifmod2?
http://avisynth.nl/index.php/BWDIF

orion44
21st April 2023, 16:23
Have you ever tried BWDIF as an alternative to yadif or yadifmod2?
http://avisynth.nl/index.php/BWDIF

Yes, I tried BWDIF in the past, and found that it produced better looking videos than Yadif v1.7.

However, after trying out Yadif v0.9, I really like the look that this version produces, so it has now become my preferred deinterlacer.

It produces a look similar to TomsMoComp deinterlacer, just better.

richardpl
21st April 2023, 16:49
I really doubt in anything good being possible with avisynth.
avisynth is doing silly things here.

Selur
21st April 2023, 19:44
TDeint might be worth a look too,...

StainlessS
21st April 2023, 20:27
I kinda like YadifMod2, does not Over Process, which is nice if further processing required later, also reasonably fast.

Sharc
22nd April 2023, 12:44
YadifMod2 with nnedi3 can give pretty good results as well:
YadifMod2(mode=1, edeint=nnedi3(clip,field=-2))

StainlessS
23rd April 2023, 12:00
YadifMod2 with nnedi3
Yep, thats what I meant.

orion44
4th July 2023, 14:26
Is there a way to compile Yadif v0.9 to 64-bit version, to work with AviSynth+ x64?

StainlessS
4th July 2023, 20:03
And then of course, you'll want help to squash the bugs that were fixed in YadifMod and YadifMod2.

Yadifmod2
Requirements

[x86]: AviSynth+ or AviSynth 2.6
[x64]: AviSynth+
Supported color formats: Y8, YV12, YV16, YV24
AviSynth+: all planar formats (8/10/12/14/16/32-bit, Y, YUV(A), and RGB(A) with or without alpha) are supported.


http://avisynth.nl/index.php/Yadifmod2

poisondeathray
5th July 2023, 00:11
You can use mp_pipeline to load a x86 plugin into avs x64 host

=> Yadif x64 1.7 x64 produces bit identical results to yadif 0.9 x86 .

-I made sure source filter was the same by decoding to a lossless intermediate and using that the new test source (initially there were differences, this was the reason why - slight differences in decoding the mpeg2 source)

-I cleared out the autoloading plugins and manually loaded the .dll's. I verified that yadif was missing from the call (error message) at first, that there wasn't some hidden yadif in any of the search paths

-Double checked with full x64 encode, full x86 encode (not through mp_pipeline, native)

-Verified with subtract(a,b) and psnr (inf)

(Yadif has too many aliasing artifacts IMO)