VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Jan 2010
    Location
    Brazil
    Search Comp PM
    I have 2 flv files that plays with no problem when played individually. The code below was used to put both together.
    The VirtualDub Mod was used to test the video and once it starts, the video plays 2x faster with no apparent reason, making the video and audio out of sync. Could someone tell what should i do make the video to play in its normal speed ?

    avisynth code:

    zep="C:\Video\test\file1.flv"
    zep=directshowsource(zep,audio=false)
    zep=crop(zep,20,24,-28,0)

    concert="C:\Video\test\file2.flv"
    concert=directshowsource(concert,audio=true)
    concert=AddBorders(concert, 0,0,596,400)

    Overlay(concert,zep,188)
    Quote Quote  
  2. Add AssumeFPS(correct_fps) to your script. Substitute a numeric value for correct_fps. For example:

    AssumeFPS(29.97)

    The recent trend toward calling 30i 60i, and 25i 50i is creating confusion.
    Quote Quote  
  3. Member
    Join Date
    Jan 2010
    Location
    Brazil
    Search Comp PM
    very weird ... i changed the AssumeFPS parameter and it didn't work.

    would be something related to the codec ? i have installed the klite mega code pack.
    Quote Quote  
  4. Where did you add AssumeFPS()? Try changing the last line to:

    Overlay(concert,zep,188).AssumeFPS(whatever)
    Quote Quote  
  5. Member
    Join Date
    Jan 2010
    Location
    Brazil
    Search Comp PM
    correct.... Overlay(concert,zep,188).AssumeFPS(8.00,true)
    i used several combination of values and true/false... and didn't worked..... don't know why....... does anyone has any clue ?
    Quote Quote  
  6. I don't see how it could not work.

    You can change the source frame rate in VirtualDubMod. Go to Video -> Frame Rate... in the top section enable "Change to [8] frames per second."
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    DirectShowSource often gives the wrong frame rate for flv files.
    Add the fps parameter to the call to force the correct rate, eg
    zep=directshowsource(zep,audio=false, fps=29.97)

    (If you don't know what the framerate should be, use MediaInfo to find out)
    Quote Quote  
  8. Member
    Join Date
    Jan 2010
    Location
    Brazil
    Search Comp PM
    thank you ! i worked....

    i also had to add convertfps=true to apply the fps i've located.

    concert=directshowsource(concert,audio=true, fps=26.460, convertfps=true)
    Quote Quote  



Similar Threads

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