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
+ Reply to Thread
Results 1 to 30 of 34
-
-
Check to see if the input file (AVI) and output file(MPEG) audio frequency matches(ie;48,000 or 44,100 hz)
-
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
-
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 -
"Today is only yesterdays tomorrow"
-
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 -
Originally Posted by ampuated limb
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 -
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 -
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 -
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.
-
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 -
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.
-
Originally Posted by Jasmill
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" -
Originally Posted by Jasmill
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" -
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?
-
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" -
/sigh
so I need to use huffy compression before saving the wav? If so, what app do i need to huffy compress something? -
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" -
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. -
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?
-
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" -
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]
-
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. -
Originally Posted by Craig Tucker"Today is only yesterdays tomorrow"
-
Well perhaps it is being bundled with the latest version. This, however, never used to be the case.
Similar Threads
-
Audio not in sync with Picture
By runaround in forum Video ConversionReplies: 1Last Post: 21st Jan 2010, 10:09 -
Avisynth Picture in Picture Script Slows Down Video and Lacks Sound
By OpNash in forum EditingReplies: 2Last Post: 26th Nov 2008, 20:00 -
Sound but no Picture?
By Soulfinger in forum Newbie / General discussionsReplies: 4Last Post: 13th Mar 2008, 18:10 -
I have sound, but no picture?
By TSI_AWD in forum Newbie / General discussionsReplies: 1Last Post: 9th Nov 2007, 10:59 -
No sound but picture works
By tou in forum MacReplies: 6Last Post: 12th Oct 2007, 17:36