VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    Hello,

    I use virtualdub and virtualdubmod for all my encoding. The only probem is when I playback my Video on the problematic Iriver X20, the video ends about half a second short only on the iriver, not on the pc, is there any way I can add blank black frames at the end of the video to fix this problem using virtualdubmod?

    Thanks.
    Quote Quote  
  2. Hi-

    If you use AviSynth for frameserving into VDubMod, then the BlankClip command can add a series of black frames - as many as you define - to the end of the video:

    http://avisynth.org/mediawiki/BlankClip
    Quote Quote  
  3. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    Ok,

    How would I do that?
    Quote Quote  
  4. You do it by frameserving into VDubMod using an AviSynth script. For specifics as to the kind of a script you'll need, I'd need to know what you're encoding. Are you making AVIs from DVD sources? If so, how are you doing it now? How are you getting the DVD files into VDubMod?

    But if you have no interest in learning AviSynth, then maybe someone else will come along with another way to do what you want.
    Quote Quote  
  5. Member
    Join Date
    Sep 2007
    Location
    Australia
    Search Comp PM
    I currently have an mpeg file that I am encoding into xvid with virtualdub.
    Quote Quote  
  6. Hi-

    OK, say you wanted to add half a second of black to the end a PAL 25fps video. Well, 13 frames isn't exactly half a second but you'll get the idea:

    LoadPlugin("C:\Path\To\DGDecode.dll")
    A=MPEG2Source("C:\Path\To\Video.D2V")
    B=BlankClip(A,Length=13)
    A+B
    Crop(8,0,-8,0)
    LanczosResize(512,384)

    Adjust for your paths and names. Also adjust for the crop and resize of your AVI. This is just for one I had lying around I was using for testing. This is a script for a soundless AVI. You'll mux in the audio when done encoding the video, or even while encoding by opening it separately in the Streams section of VDubMod or the Audio section of VDub. You can do something similar by using the Loop command to repeat the last frame for as long as you might like.

    http://avisynth.org/mediawiki/BlankClip
    http://avisynth.org/mediawiki/Loop
    Quote Quote  



Similar Threads

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