VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 34
  1. i'm having a problem with the picture and sound sync of this one avi i'm converting. I'm only having this problem with this avi, everything else that i convert is fine. The source avi isn't out of sync but the converted mpg is out of sync.

    ok, I used virtual dub to exract the wav file then used TMPGEnc to convert, using the avi as the video source and the extracted wav as the audio source. there's a two second delay for the audio and video for the converted mpg.

    I've tried d/l and using the external audio encoder TooLame and it's still out of sync. I'm thinking it has something to do with the source avi, even though it's not out of sync.

    any recommendations?
    Is there anyway i can set a delay time for the audio when it's encode?

    any help is greatly appreciated
    thx

    p.s. the avi is memento for anyone that's encountering the same problem
    Quote Quote  
  2. Check to see if the input file (AVI) and output file(MPEG) audio frequency matches(ie;48,000 or 44,100 hz)
    Quote Quote  
  3. and...if that does'nt work try this..
    http://www.vcdhelp.com/sync.htm
    Quote Quote  
  4. You don't need a whole pile of software just to synch your vid. Just use tmpgenc/settings/advanced now put a check in source range, next double click "source range" you should now see audio gap correct. Now when you encoded if the audio was ahead of video move the audio gap (-) numbers and if vid ahead of aud use (+) just encode a 2-3 min clip and check and make adjustments once in synch do entire movie. remember aud gap correct numbers are "miliseconds" this process has worked for all the movies I did which were not synched
    Quote Quote  
  5. Did you get your copy of memento in sync, as I am having the same problem. Delaying the audio by 2 seconds is no good, because although this corrects the sync at the beginning of the film it gradually goes out of sync again.

    Here is some file info from Vdub.

    Video Stream
    Framesize, fps (us per frame) 640x272, 25.000 fps, (40000 us)
    # of frames (time) 163211 (1:48:48
    Decompressor DivXMPEG-4 Low-Motion
    Number of keyframes 2259
    Min/avg/max/total key frame size 856/8383/24929(18494k)
    Min/avg/max/total delta frame size 87/3652/45988(574112k)

    Audio Stream
    Sampling Rate 48000Hz
    Channels 2(Stereo)
    Sample precision 0-bit
    Compression MPEG Layer-3 Codec (professional)
    Preload skew 11520 samples (0.24s)
    # of frames 271980
    Min/avg/max/total frame size 384/396/11520(105292K)

    Also if I look at the video framerate, the selection to change framereate so video and audio durations match is 9910.797 fps

    The video is 1:48:48 but if I save a wav file it is 1:48:47



    Craig
    Quote Quote  
  6. Thanks for the link

    But this shows how to sync an mpeg file which goes gradually out of sync, which is what I get if I encode the AVI which is in sync. This is one way of solving the problem. But the best way is to make sure that the file is encoded correctly in the first place. There must be a way to encode this DIVX avi File correctly so that the resulting mpeg file is in sync, and this is the solution I am trying to find.

    Craig
    Quote Quote  
  7. Banned
    Join Date
    Jun 2001
    Location
    UK
    Search Comp PM
    Originally Posted by ampuated limb
    i'm having a problem with the picture and sound sync of this one avi i'm converting. I'm only having this problem with this avi, everything else that i convert is fine. The source avi isn't out of sync but the converted mpg is out of sync.

    ok, I used virtual dub to exract the wav file then used TMPGEnc to convert, using the avi as the video source and the extracted wav as the audio source. there's a two second delay for the audio and video for the converted mpg.

    I've tried d/l and using the external audio encoder TooLame and it's still out of sync. I'm thinking it has something to do with the source avi, even though it's not out of sync.

    any recommendations?
    Is there anyway i can set a delay time for the audio when it's encode?

    any help is greatly appreciated
    thx

    p.s. the avi is memento for anyone that's encountering the same problem
    The AVI should not contain any bad frames, so it needs to be scanned first. If there are none you can move on to save out the Audio.

    Vdub save WAV
    Save uncompressed audio at 44.1khz (To match VCD spec)
    Audio > full processing mode
    Audio > Conversion > 44.1Khz
    SAVE WAV

    Fixing bad frames, new version of TMPGEnc can usually handle these problems now, but if necessary try this

    Vdub remove bad frames.
    Video > Scan video stream for errors
    Video > Direct stream copy
    Audio> Direct stream copy
    SAVE AVI (Save as movie2.avi)

    New Vdub has problems with some junk frames, it's know as the MMX problem, if Vdub stops while scanning, use "vdub-mp3-freeze.exe" instead
    Quote Quote  
  8. Kingjohn

    I have done this, there are no bad frames, I have saved the wave file uncompressed at 44khz, but I still have this sync problem. This is the only file I have had this problem with, and I have converted dozens of movies from divx to vcd.

    Craig
    Quote Quote  
  9. By the way this cant be right but if I look at the framerate control in vdub, the section where you select to match video and audio framerates states the framerate as 9910.797fps. Strange.

    Craig
    Quote Quote  
  10. Banned
    Join Date
    Jun 2001
    Location
    UK
    Search Comp PM
    What are the key frame spaces ?, DivX 5 uses a default of every 100 (Very bad) you could try saving out the AVI in full processing mode with another codec at 10 Key frames.
    Quote Quote  
  11. Managed to do it after a lot of messing about. Used vdub to save as an AVI using huffy compression, saved uncompressed wav file, audio was still out of sync, but constant, with the audio 1 sec before the video. Encoded with TMPGenc and set the audio delay to -1000ms.

    Craig
    Quote Quote  
  12. Sorry to bump such an old post, but I am having this same exact problem. Craig, what exactly did you do in Vdub to get the synch constant? Could you go into a bit more detail if you have the time please? I haven't done much tweaking in Vdub, I just usually select full processing mode, 48000Hz, and save wav. Any help you could lend would be greatly appreciated.
    Quote Quote  
  13. Originally Posted by Jasmill
    Sorry to bump such an old post, but I am having this same exact problem. Craig, what exactly did you do in Vdub to get the synch constant? Could you go into a bit more detail if you have the time please? I haven't done much tweaking in Vdub, I just usually select full processing mode, 48000Hz, and save wav. Any help you could lend would be greatly appreciated.
    By "constant" he means that the out of sync timing was uniform throughout the movie (ie:if it was 1 second out at the beginning of the movie...it will be 1 second out at the end).
    If this is the case with your movie,when you open up TMPGE to encode,set it up as normal then:
    Setting > Advanced > Check Source Range Box > Then Double Click on Source Range > Audio Gap Correct > Fill In Milliseconds delay (to move the audio forward) and fill in a Negative amount to move the audio backward.
    Or
    You can try this:
    http://www.vcdhelp.com/sync.htm
    "Today is only yesterdays tomorrow"
    Quote Quote  
  14. I asked what he did in Vdub to make it constant.
    Quote Quote  
  15. Originally Posted by Jasmill
    I asked what he did in Vdub to make it constant.
    I know what he said....I don't think you quite undestand.

    All he did was extract the audio and save as a WAV using the Huffy Compression.
    He told you that even after saving the WAV ,it was still out of sync..and it was constant (ie:it was 1 second out for the whole movie).
    He did'nt do anything to "make it constant".
    As Craig suggested,using TMPGE to correct the audio sync gap during encod.
    "Today is only yesterdays tomorrow"
    Quote Quote  
  16. Where do I select huffy compression in Vdub? All I am trying to do is get the synch constant. I do not see "Huffy" compression in Vdub. Perhaps you could help me, Wee?
    Quote Quote  
  17. No...the Huffy Compression is a Video Compression.
    He saved the AVI using Huffy and then extracted the WAV from the reulting file.
    (perhaps I confused you with the way I typed it...sorry).
    "Today is only yesterdays tomorrow"
    Quote Quote  
  18. /sigh

    so I need to use huffy compression before saving the wav? If so, what app do i need to huffy compress something?
    Quote Quote  
  19. Virtualdub > File > Open > Movie.avi > Video > Full Processing > Compression > Huffyuv v2.1.1 > Ok > Audio > Direct Stream > File > Save As AVI.

    then....

    Virtualdub > File > Open > Recently saved AVI (with Huffy) > Audio > Full Processing > Compression > No Compression > Audio > Conversion > 44100 for vcd and 48000 for svcd > File > Save WAV.

    then...

    TMPGE > Video Source > Recently saved AVI (with Huffy) > Audio Source > recently extracted WAV...

    Do a short 2 or 3 minute test encode to see how the sync looks.
    If its off,do as I suggested with the Source Range > Audio Gap Correct.

    then load templates etc for TMPGE with your preffered settings.
    "Today is only yesterdays tomorrow"
    Quote Quote  
  20. Sorry, but what with it being Christmas and all, I have not been on the forums much. Blimey this is an old thread.

    Wee haggis has it correct, I saved the audio as an uncompressed wav using vdub, but when I encoded using TMPGENc the audio was still out of sync, but by a constant 1 sec throughout the movie. I corrected this by setting a -1000ms audio delay in TMPGEnc.
    Quote Quote  
  21. That's exactly what I was looking for. Thanks!
    Quote Quote  
  22. LOL, I don't have Huffyuv as an option. I am using Vdub 1.4.13.
    Quote Quote  
  23. You must think I am a dumbass by now, and you are probably right, but I have the newest version of virtualdub. the one that is on that link. I still don't see anything that is remotely close to huffyuv?
    Quote Quote  
  24. I also have 1.4.13....
    Check ,
    Video Tab > click Full Processing > Click Compression > Drop down menu should include Huffy
    "Today is only yesterdays tomorrow"
    Quote Quote  
  25. wish i could attach an image, but it is not a choice. the list is in alphabetical order, it begins with (uncompressed RGB) and ends with MS MPEG4 3688 v3. It jumps from elemedia TM X3000S VIDEO CODEC to Intel I.263 video driver 2.55.016. I am beginning to think I just need to buy the damn movie, lol.[/img]
    Quote Quote  
  26. Huffyuv is a video compression codec, if you are trying to save the audio uncompressed so that you can encode a divx avi to mpeg for vcd creation you do not need to reencode to huffyuv compression. Doing this will reduce quality (as every encoding process has an adverse affect on quality) and create a very large file, and apart from anything else completely unecessary. Why would you want to reencode a divx avi to a huffy avi anyway.

    Huffyuv does not come with vdub it is a seperate codec you need to install seperately.
    Quote Quote  
  27. Originally Posted by Craig Tucker
    Huffyuv is a video compression codec, if you are trying to save the audio uncompressed so that you can encode a divx avi to mpeg for vcd creation you do not need to reencode to huffyuv compression. Doing this will reduce quality (as every encoding process has an adverse affect on quality) and create a very large file, and apart from anything else completely unecessary. Why would you want to reencode a divx avi to a huffy avi anyway.

    Huffyuv does not come with vdub it is a seperate codec you need to install seperately.
    mmmm....thats strange. I just downloaded 1.4.13 last week and it came with it?
    "Today is only yesterdays tomorrow"
    Quote Quote  
  28. Well perhaps it is being bundled with the latest version. This, however, never used to be the case.
    Quote Quote  



Similar Threads

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