VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. I have an MKV video clip that has a bunch of frozen frames. If I play it in a VLC player it plays correctly, however I need to convert this file to a DVD and the problem is that AVISynth just skips over these frozen frames without adjusting audio accordingly and the result is out of sync. Is there a way to solve this problem ?

    This is the AVISynth script I use:

    DirectShowSource("j:\clip.mkv")
    Crop(0, 1, 0, -1)
    Crop(92, 0, 536, 402)
    LanczosResize(720,480)
    Quote Quote  
  2. I'd try using the ffmpeg source plugin rather than DirectShowSource().
    https://code.google.com/p/ffmpegsource/
    Quote Quote  
  3. And try converting the frame rate to whatever it's supposed to be (even though you'll be converting to the same frame rate as the source video). The example below is 23.976 but you can change it according to the frame rate of the source.

    DirectShowSource("E:\clip.mkv", fps=23.976, convertfps=true).AssumeFPS(24000,1001)

    Or if you try ffmpeg as jagabo suggersted:

    LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
    FFVideoSource("E:\clip.mkv", threads=1, fpsnum=24000, fpsden=1001)
    Quote Quote  
  4. thanks, that did it.

    BTW, What is the purpose of

    AssumeFPS(24000,1001)
    Quote Quote  
  5. Originally Posted by numlock1 View Post
    thanks, that did it.

    BTW, What is the purpose of

    AssumeFPS(24000,1001)
    I'm not 100% sure. I copied the DirectShowSource line from the script MeGUI creates and I forgot to delete it.
    At a guess...... I assume (no pun intended) "AssumeFPS(24000,1001)" is more accurate than 23.976 (which is rounded), but DirectShowSource probably only understands 23.976 so MeGUI adds "AssumeFPS(24000,1001)" afterwards in order for AviSynth to use it instead. Mind you the difference isn't huge. 23.976 vs 23.97602397.

    The other possibility is it's there to ensure the correct frame rate is passed along to the encoder, although I've encoded without "AssumeFPS(24000,1001)" added to the script in the past... I've only used DirectShowSource's "fps=23.976, convertfps=true"... and it doesn't seem to be a problem.
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you tried use the vlc record function? And then convert that file.

    Select View->Advanced control in vlc and open your mkv, click the red record button. The output should be in your my videos folder.

    Or try convert with vlc to some other format, under Media->Convert/save in VLC.

    Or have you tried remux the mkv? Using mkvmergegui, add the mkv and make a new mkv. Or try meteorite. And then convert that file.
    Quote Quote  
  7. yes,I tried remux the mkv using mkvmergegui and also meteorite. No luck in both cases.
    Quote Quote  



Similar Threads

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