If you don't specify a video AviSynth will assume "last". So a script like:
is equivalent to:Code:MPEG2Source("C:\movies\mymovie.d2v") fielddeinterlace()
So your script should read something like:Code:last = MPEG2Source("C:\movies\mymovie.d2v") last = fielddeinterlace(last)
You could also use the "." operator to pipe directly from one filter to the next:Code:video=MPEG2Source("C:\movies\mymovie.d2v") audio=MPASource("D:\movies\mymovie Tc0 L2 2ch 48 192 DELAY -22ms.mp2") AudioDub(video,audio) fielddeinterlace()
If you want really good deinterlacing look into QTGMC(). If your source is film based you want to inverse telecine, not deinterlace. See TFM().TDecimate().Code:video=MPEG2Source("C:\movies\mymovie.d2v").fielddeinterlace() audio=MPASource("D:\movies\mymovie Tc0 L2 2ch 48 192 DELAY -22ms.mp2") AudioDub(video,audio)
+ Reply to Thread
Results 31 to 36 of 36
-
-
Try YADIF instead to deinterlace.
Get here: http://avisynth.org.ru/yadif/yadif.html
Yadif(order=1)
Claudio -
Thank you folks, I spent some time doing some test conversions, leaving aside the deinterlace function for the moment, since I have a non interlaced source.
The problem, instead, is that, after creating the Avisynth script:
- if I play the .avs file in VLC it's ok
- if I convert with VirtualDub an extract of the .avs file that starts from the beginning frame and ends, say, at 10 minutes, everything is still ok
- if I also cut in VirtualDub the ad blocks away and convert the "cleaned" movie, 1) the output has got very serious audio/video sync problems (and it seems not a static constant delay, but increasing during the movie, probably every time it reaches the point where I cut an ad block) and 2), both when reopened and played in VLC & PotPlayer and when reopened and played in VirtualDub, frequent "stops" in the sound and in the pictures (in the sense that the image or the audio pause for a while now and then; it doesn't seem a problem of hard disk spees or RAM usage, but if played frame by frame there are not duplicated frames...)
Falco2000, video newbie.
Let's everyone help each other. - if I play the .avs file in VLC it's ok
-
You might also check the Video -> Frame rate -> Change so video and Audio durations match. I've had good luck with syncing many times with that checked.
Also, are you using VirtualDub's key frames and selecting start and stop markers and then delete key to delete them or some other program to obtain the 'clean' video? VirtualDub usually works well for this type of editing.Last edited by Budman1; 15th Feb 2013 at 23:07. Reason: Additional Info
-
I'd wish to thank each of you for the help you gave me.
I've been able to put myself "at work" again only now, after some weeks.
Here's the continuation of my attempts, if you should be interested in:
https://forum.videohelp.com/threads/353776-MP2-audio-cutting-problem-in-MeGUI-%280-bytes-rejoin%29
Falco2000, video newbie.
Let's everyone help each other.
Similar Threads
-
High Quality Capturing with Little Frame Loss in VirtualDub
By monsoon01 in forum User guidesReplies: 65Last Post: 18th May 2013, 22:33 -
Newbie questions about frame rate (also VirtualDub)
By wallywalters in forum Video ConversionReplies: 5Last Post: 29th Oct 2012, 09:16 -
Resizing(Frame Size) w/ VIRTUALDUB - PLEASE HELP!!!
By MDrumm in forum EditingReplies: 8Last Post: 17th Jan 2011, 02:12 -
How do I remove a bad frame from a video without VirtualDub or DivFix?
By teapot in forum Newbie / General discussionsReplies: 7Last Post: 11th Dec 2008, 19:07 -
How to Paste Insert frames from Virtualdub (Snapshot source frame) ?
By Bilskate in forum EditingReplies: 1Last Post: 18th Aug 2008, 15:21