VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 36 of 36
  1. If you don't specify a video AviSynth will assume "last". So a script like:

    Code:
    MPEG2Source("C:\movies\mymovie.d2v")
    fielddeinterlace()
    is equivalent to:

    Code:
    last = MPEG2Source("C:\movies\mymovie.d2v")
    last = fielddeinterlace(last)
    So your script should read something like:

    Code:
    video=MPEG2Source("C:\movies\mymovie.d2v")
    audio=MPASource("D:\movies\mymovie Tc0 L2 2ch 48 192 DELAY -22ms.mp2")
    AudioDub(video,audio)
    fielddeinterlace()
    You could also use the "." operator to pipe directly from one filter to the next:

    Code:
    video=MPEG2Source("C:\movies\mymovie.d2v").fielddeinterlace()
    audio=MPASource("D:\movies\mymovie Tc0 L2 2ch 48 192 DELAY -22ms.mp2")
    AudioDub(video,audio)
    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().
    Quote Quote  
  2. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Try YADIF instead to deinterlace.

    Get here
    : http://avisynth.org.ru/yadif/yadif.html

    Yadif(order=1)


    Claudio
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Try full processing mode for the audio.
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    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
    Quote Quote  
  6. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!