I have this file, that I know contains bad frames. I will want to add subtitles to this, so my objective is to keep as close as possible to the original file - I would rather mask the bad frames than cut them out, just so that I have an easier time keeping my subs in synch.
My plan is to save the sound track as an uncompressed wav file, then to add this as an additional available stream in VirtualDub Mod, disabling the original sound track. Then I plan on checking my video for bad frames, masking them, so as to save a "cleaned" file made up of my original video where bad frames are masked, coupled with the edited uncompressed sound track that would be in full synch with my video.
This file I would then use as source, add subtitles, and frame serve to TMPGEnc.
That's the plan, but somehow I cannot get to get an uncompressed wav file that would be of equal duration to the original soundtrack:
[/img]http://home.euphonynet.be/famille_minne_huybrecht/audio%20streams.jpg[/img]
As you can see, the original sound file is 1:39:52.86, whilst the uncompressed was is 1:38:31.92. Sure enough, this leads to serious synch issues.
I wonder what I am doing wrong, and how to go about this issue ?
Thanks.
+ Reply to Thread
Results 1 to 9 of 9
-
-
I'd say - find a decent source. IMO, bad AVIs are 99 times out of 100 not worth the trouble dealing with.
/Mats -
Thank you both for your comments.
I did pass the file through DivFix and this seems to make the problem bigger. DivFix identifies almost the same bad frames as Vdub (Mod or MP3freeze) identifies, but then not exactly. I let DivFix rebuild the index, but now Vdub can't decompress / save the wav part - in addition, the "DivFixed" avi is now 2minutes 25 secs shorter than the original, and I don't understand why.
After wasting so much time on this, I believe I am going to follow Mats' advice.
What bugs me most though, is not to understand what's happening. This bugs me more than the time I lost.
Cheers -
You can try to load the original DivX AVI into GOLDWAVE and after it loads save the audio to a PCM WAV file.
That usually does the trick ... but ... I have never worked with DivX/XviD AVI files that have had bad frames ... so who knows?
It is worth trying though
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
My take, fix it with DivX fix and encode to MPEG. strip audio then and start working on sync (in smaller chunks (10-20 min).
-
Originally Posted by omicron
/Mats -
Originally Posted by proxyx99
I have had the problem of AVI files losing sync with the audio !! ... many times. Especially AVI files using Variable audio streams ... I hate it when I have to deal with them ... I prefer audio streams with a constant bitrate. -
You skipped the most important part in your quote "encode to MPEG". Good for Womble.
Similar Threads
-
audio not in synch
By ak.premkumar in forum Newbie / General discussionsReplies: 0Last Post: 23rd Jul 2010, 10:51 -
Out of synch audio
By Maxwellbest in forum Video ConversionReplies: 4Last Post: 20th Jan 2008, 10:33 -
Audio At strat in Synch , along of Movie Lost Synch with Video !!!!!
By p_samimi in forum AudioReplies: 9Last Post: 12th Jan 2008, 23:47 -
audio synch
By Usagi in forum DVD RippingReplies: 5Last Post: 28th Dec 2007, 19:11 -
Audio goes out of synch
By Semaphoric in forum Authoring (DVD)Replies: 3Last Post: 27th Sep 2007, 22:01