VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Is it possible to have delay in AVI-files like those in DVDs and if so, how do I check what delay my files have?

    I'm having problems with meGUI.

    I've been re-encoding some music videos into iPod-compatible MP4/AVC now and certain of these go offsync. And I'm not talking about the kind of offsync where it's synced at first and then go increasingly offsync as time goes on. It's offsync from the start.

    However, encoding the same files in Elecard Converter Studio will give me a file with perfect sync (or so it seems at least).

    Why is this? Is it because of delay? Is it possible for AVI-files to have delays like the ones on DVDs? Is this why it's going offsync because meGUI cannot recognize delay and adjust accordingly?

    If it's because of delay, how do I check the delay? Neither G-spot or MediaInfo will tell me what delay (if any) the files have. Or is it something else entirely?
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Test your AVI files out with this:

    https://forum.videohelp.com/viewtopic.php?t=321684

    See if the remuxed with WAV files are in sync. If they are, feed them to Megui.
    Quote Quote  
  3. And if they aren't (it's still offsync)? >_>

    I still need a way to check the delay of a file. What if a certain file's got just enough delay to not be very noticeable? I don't feel like using AVI Prep on every single file I have before encoding them <_<'.

    Also, it took, like, 10 minutes to do a 4-minute music video. Of course, it was 125 meg large, but I don't want to think about how long it'd take to do a 2 hour 1.4 gig file. Checking the delay and adjusting the output accordingly is faster and easier.

    But is it even possible?
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    That probably means the audio sample rate is influencing the length of the audio file. Once your audio track gets resampled to 48000Hz, the length is no longer the same as the original.


    for testing purposes, you can change the Avi_Prep.bat file from

    ssrc_hp --rate 48000 --bits 16 --dither 1 --pdf 1 1 x-gain.wav a-gain.wav

    to

    ssrc_hp --rate 44100 --bits 16 --dither 1 --pdf 1 1 x-gain.wav a-gain.wav


    Just run one file through. Does the resulting file stay in sync ?


    ------------------------------------------------------------------------------------------------------
    You can determine sync values while playing your AVI in MediaPlayerClassic



    Keep changing the value while the video is playing - you probably won't need more than -1500 to 1500 ms
    Quote Quote  
  5. The resulting file stays in sync. However, encoding it in meGUI still yields a field that's out of sync. The only conclusion I can come to is that there's delay similar to that of DVDs involved and that I need to find out what said delay is.
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I don't know Megui very well, but if it lets you modify or create your Avisynth AVS file, adding this command might ensure better sync for certain files.


    SSRC(44100)
    ensurevbrmp3sync()
    Quote Quote  
  7. Hi again.

    Where in this should I insert the SSRC(44100)-code?

    DirectShowSource("C:\United KIngdom.avi",fps=29.97000002997,audio=false)
    #Not doing anything because the source is progressive
    #crop
    BilinearResize(320,240) # Bilinear (Soft)
    #denoise

    BTW, the output file is AAC CBR.
    Quote Quote  
  8. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    If you put Audio=False, then there is no reason to put the SSRC line.
    Quote Quote  



Similar Threads

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