I can't for the life of me get this to deinterlace correctly.
Any help appreciated.
Thanks in advance.
35mb (VOB) sample
http://www.mediafire.com/?sharekey=373b063b713c09751f8e0fff488e27e0e04e75f6e8ebb871
+ Reply to Thread
Results 1 to 19 of 19
-
-
The field blending is causing your problems. Use AviSynth's SRestore() to fix it. It won't be perfect:
Quick low quality Xvid: vts.aviCode:Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll") Import("C:\Program Files\AviSynth 2.5\plugins\SRestore.avs") MPEG2Source("VTS_01_1.d2v") Yadif(mode=1, order=1) SRestore() -
Where can I obtain those filters.
And if I use them will it get rid of the interlacing? -
http://avisynth.org.ru/yadif/yadif.htmlOriginally Posted by pureimpure
http://avisynth.org/mediawiki/Srestore
Yes.Originally Posted by pureimpure -
Wait , I'm still getting jaggy lines.
Here's another sample.
Sample2 (Give it a min I'm still uploading the file)
http://www.mediafire.com/?sharekey=373b063b713c09751f8e0fff488e27e0edca383837e873d0c95965eaa7bc68bc -
Since yadif is pretty fast, it will tend to leave slight jaggies and artifacts.
You can replace it with a higher quality deinterlacer in bob mode
TempGaussMC_Beta1() is very very very slow but will get rid of the jagges almost perfectly
Yadifmod+NNEDI2 is slow, but will get rid of most the jaggies, certainly much better than yadifCode:MPEG2Source("sample2.d2v") TempGaussMC_Beta1() SRestore()
IMO, the blends are the bigger problem in this source, and you can't get rid of 100% of themCode:LoadPlugin("...\yadifmod.dll") MPEG2Source("sample2.d2v") interp=nnedi2(field=3) #double rate, keep top field yadifmod(order=1, field=-1, mode=1, edeint=interp) #TFF, field set to order, double rate SRestore()
Question for jagabo: how do you know the base rate is 25fps instead of 24fps -
Yeah, but that's not interlacing. That aliasing is the by-product of using bobbed fields to replace blended frames. To improve on the aliasing/jaggies you'll have to use a better (and far slower bobber, one such as TempGaussMC_Beta1. And since this looks like a movie, I don't think you'll want to take the time.Originally Posted by pureimpure
-
Actually, I just saw the blended fields and assumed it was a PAL to NTSC transfer. Ran the script and it looked OK. I didn't check it closely for duplicate frames though.Originally Posted by poisondeathray
-
Those are there because you applied hard pulldown to create 29.97 fps interlaced video out of 25 fps progressive video. You're basically converting the original interlaced video to progressive video with the AVS script then converting back to interlaced with your MPEG encoder! I recommend you convert to 720x480, 25 fps progressive MPEG 2 then use DgPulldown to add pulldown flags to 29.97 fps.Originally Posted by pureimpure
-
So when I re-encode don't encode to 23.98 3:2?
Use 29.97 then use DGpulldown?
Cause the encode is going to take an entire day 24hr because of the slowness of that filter. -
Make a lossless AVI first (I use Lagarith) and then feed that into the encoder (via an AviSynth script, if possible). That way the slow script is used only once (assuming you're running multiple passes in your MPEG-2 encoder), and the passes in your MPEG-2 encoder will go much faster.Originally Posted by pureimpure
Up to you, but if encoding it as 25fps you don't have to 'stretch' the audio. Yes, you can slow it to 23.976fps, but then you'll also have to mess with the audio because you've changed the length of the video. The TempGaussMC_Beta1()/SRestore() part of the script keeps it the same length as the source DVD.So when I re-encode don't encode to 23.98 3:2?
No, his suggestion is to encode it at NTSC resolution (720x480) but at PAL framerate (25fps). You may need to disable some NTSC DVD template in your encoder in order to be able to do this. Have you said what encoder you're using?Use 29.97 then use DGpulldown?
When done run the progressive 25fps MPV through DGPulldown set for 25->29.97 to apply a special kind of pulldown to make it NTSC DVD compliant. -
On your PC? It may simply be the player performing the pulldown. Open your MPEG/VOB file in VirtualDubMod (it doesn't perform the pulldown). Do you see the comb artifacts there?Originally Posted by pureimpure
-
yes, I still see aliasing.
I have a plasma screen as a monitor.
That's what the video will be played back on. -
Post a short sample again. If you're not making an NTSC DVD encode 25 fps progressive.
A plasma HDTV won't deinterlace unless you are connected to it at 480i or 1080i. Otherwise, if you want to play interlaced video you should use a media player with deinterlacing options. -
He's talking about aliasing, not interlacing. He's just disappointed that TempGaussBeta doesn't do a perfect job.
Look, if you start with a crappy source it'll never be as good as if the source had been prepared for DVD properly (i.e., a good progressive NTSC master made and used for the DVD). Stop living in a dream world. The DVD production company was too cheap to prepare a decent master, and just used some already existing PAL master for the NTSC DVD which was then run through a cheap standards converter box, winding up with what you see. That's just the price that we film fans and encoders sometimes pay for our obsessions. If you don't like it, stop buying from these fly-by-night companies and only buy DVDs of 'foreign' films from Criterion/Eclipse. Or get the progressive PAL DVD of whatever film this is. You can bet it isn't aliased on thin lines.
Similar Threads
-
AviSynth or GPU based deinterlacing / IVTC
By topsyturvy in forum Video ConversionReplies: 2Last Post: 7th May 2011, 10:07 -
Best AviSynth plugin for deinterlacing? (general consensus) ...
By takearushfan in forum Video ConversionReplies: 5Last Post: 29th Apr 2011, 00:59 -
AVISynth : Upsizing & DeInterlacing
By Bonie81 in forum EditingReplies: 14Last Post: 30th Dec 2010, 08:23 -
AviSynth Deinterlacing Help...
By Shizam in forum RestorationReplies: 3Last Post: 19th Aug 2010, 10:58 -
H.264 deinterlacing AVISynth scripts for 29.97fps
By PuzZLeR in forum Video ConversionReplies: 12Last Post: 7th May 2008, 23:36



Quote