VideoHelp.com Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date: Jan 2010
    Location: Brazil
    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. Member
    Join Date: Dec 2005
    Location: none
    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
    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. Member
    Join Date: Dec 2005
    Location: none
    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
    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. Member
    Join Date: Dec 2005
    Location: none
    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
    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
    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

  1. Video posted on youtube plays much faster than original
    By magg123 in forum Video Streaming
    Replies: 1
    Last Post: 5th Sep 2011, 14:53
  2. Replies: 10
    Last Post: 3rd Mar 2011, 21:13
  3. Replies: 13
    Last Post: 31st Jan 2011, 12:45
  4. movie plays right on pc,but faster in my ps3 help
    By boltmccrash in forum Blu-ray Ripping
    Replies: 0
    Last Post: 19th Oct 2010, 09:06
  5. Windows Media Player: MPG playback bar moves faster than video plays
    By Grunberg in forum Newbie / General discussions
    Replies: 4
    Last Post: 15th Sep 2009, 04:07
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools