Hi,
I need to replace the audio in avi file with the audio from another avi (different languages). The new audio runs ahead of the picture. I tried mp3 and wav but result is the same.
Is there any way to fix the problem?
Sorry, the information was not full. When I try to open avi to demux or save the audio as WAV in VirtualDubMOD, I get message about improper VBR encoding. It advises to wrerite the header with standard CBR values for better compatability.
I tried to follow the advice and clicked OK and get the second message: Truncated or invalid MP3 audio format detected (28 bytes, should be 30). I clicked OK and saved the new avi.
After I saved the file with corrections the sound became unsynchronized on the file too.
Any ideas would be appreciated.
+ Reply to Thread
Results 1 to 7 of 7
-
-
Hi-
Any ideas would be appreciated.
Just say no....to the stupid message.
Are the 2 AVIs of differing framerates. One 23.976fps and the other 25fps, perhaps? -
Thank you!
Actually I did say "no" the first time and it did not work. The audio was not synchronized.
How can I check the framerates? And what should I do if they are different?
I tried to check in VirtualDub and it looks like both are 25. I am not sure I was doing everything right though. -
OK, if they are off by the same amount all the way through, it's a simple matter of finding and setting the delay. If the asynchronization gets worse and worse as the movie goes along, then you have a problem. Assuming it's off by the same amount all the way through, here's how you fix it:
Open the AVI in Media Player Classic. Right-click the screen and go Options->Filter->Audio Switcher->check the "audio time shift" box, and fill in an estimate of the amount of asynch. Hit "Apply" and test it out. Negative values are to make the audio play earlier. 1000 ms= 1 second. Resume playback. Adjust until you get it right. At that point you'll know how much the audio is out of synch and how much to set the delay in VDubMod. Then open the AVI in VDubMod, set the Video for Direct Stream Copy, go Streams->Stream List->Right-click the audio->Interleaving->Audio Skew Correction, and set the same delay as you found using MPC. OK your way out of there, go File->Save As, give it a new name, wait a minute or 2, and test it out.
To find the framerate and a lot of other information, open an AVI in GSpot. -
Thank you very much for the detailed instructions. I will try and hopefully it will work.
-
Again, thank you for your advice. It worked but in a weird way.
I’ve found the right delay in MCP (1860) but when I inserted the number in VirtualDubMod, the audio all of a sudden was well behind the picture.
I tried to fix it directly in VirtualDubMod (creating new and new avi files) and I ended up with….. 0. The audio synch was fine with 0.
I do not understand why and what but that the way it was. It was educative anyway.
Thanks again. -
One way or another, eh?
I suspect that the original may have had screwy Preload or Interleave values and your player maybe had trouble with them. By Direct Streaming it again, it got the default values, which the player liked much better. Don't know really. You could confirm or disprove by opening them both (the in-synch one and the out-of-synch one) in GSpot and looking for audio differences between the 2. That's just a guess, though, and maybe not a very good one.
By the way, unless you uncheck the MPC audio time shift box box when done, or set it back to 0, you'll get the same delay forever, so once it's fixed, it'll seem to be off by the amount you set. If MPC isn't your regular player, this won't be an issue, But if it is, that could certainly account for it being out of synch after you thought you fixed it.
Similar Threads
-
Audio video synchronization problem?
By antonymaheshca in forum Newbie / General discussionsReplies: 1Last Post: 14th May 2011, 05:26 -
Synchronization problem converting S-video to computer
By mtolesen in forum Video ConversionReplies: 4Last Post: 28th Apr 2010, 08:05 -
Audio synchronization problem when re-encodingwith StaxRip...?
By Stb1990 in forum Newbie / General discussionsReplies: 2Last Post: 15th Apr 2010, 22:42 -
Video/Audio synchronization problem with XviD4PSP
By pyromanic in forum Newbie / General discussionsReplies: 0Last Post: 30th Jan 2008, 19:40 -
Newbie question: Problem with synchronization
By ffabioo in forum SubtitleReplies: 2Last Post: 15th Jul 2007, 17:40