View Full Version : VirtualDub gets out of sync when adding Subtitles to an AVI
Booooom
29th August 2005, 10:17
Hello all,
Whenever i am trying to add forced subtitles to an AVI file (Xvid), the end result is desync of the video-audio-subtitles.
I set the subtitles frame rate to the proper frame rate, but i still get desyced between all three!!!
When I load the AVI I get the following message:
VirtualDub has detected an imporper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibility. This may introduce up to 16699 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed Wav file and recompress with a constant bitrate encoder. (bitrate: 114.5 +/- 13.2 kbps)
I understand the message but can someone Please write the steps I should take in order to get forced subtitles+synced audio right.
Thanks.
mic
29th August 2005, 19:39
Not trying to be a smarta.. :), I would do as it says: create a wav file, use that as audio source with your video & subs. Remux in your vbr audio.
Booooom
29th August 2005, 21:14
Hey,
The question being how.
I did forced subs into the AVI using VirtualDub and I did separate the Video from the Audio. So now I have an AVI with forced subs but with no Audio. Whenever I try to mux the WAV file I have created, I get desynced, so I must be doing something wrong.
BTW, the audio of the original AVI file is AC-3
Thanks
stephanV
29th August 2005, 21:55
put the video and audio back together with AVIMux GUI. VirtualDub does not handle VBR MP3.
mic
29th August 2005, 22:00
very generally...
Demux your audio (ac3) & convert to wav. With your original video opened in V/Dub, use the wav audio under the audio menu to select your wav file, set skew (delay) under interleaving, and check a preview by playing the file. Add your subs, checking preview too. After setting compression and any other options, and if everything previews correctly, save your new avi.
If you want to add ac3 to an avi, use a muxing app or try & mux it into the video the same way, only use stream copy so nothing is rendered. If you want can also create a new ac3 incorporating any skew/delay, or you might add delay to original ac3.
otherwise there are several posts in the forum that detail everything, cover potential problems, and include tips for best quality.
Booooom
30th August 2005, 06:53
No matter what I do, the audio keep getting desynced.
What I need to do is just adding Subtitles to an AVI file, and I don't see why the audio gets out of sync. I am using VirtualDub, but if there are other programs that do that, I will be more than happy to try them.
Thanks.
Sylf
30th August 2005, 17:49
Try AVI-Mux GUI (http://www-user.tu-chemnitz.de/~noe/Video-Zeug/AVIMux%20GUI/index-eng.html)
mic
30th August 2005, 18:00
No matter what I do, the audio keep getting desynced.
Ouch :(
For alternative programs could try using Avisynth.
Assuming everything plays fine before adding subs...
Is the problem only after adding (muxing) the original audio back in? If so, have you tried other muxing programs?
If the problem is before that, before adding the original audio back in...
Does it play in sync in VirtualDub using original video, subs, and wav audio? If not, are you setting V/Dub to change the frame rate? What are you using for the subs, and what version? If you leave out the subs do the video and wav (not ac3) files play in sync in VirtualDub?
Booooom
31st August 2005, 08:06
Hey,
Regarding AVI-Mux GUI, I don't understand the application. I have loaded the AVI file and then added the subtitles file, but after checking the new AVI file it created, I saw no subtitles when I played the AVI file (either with windows media player or on my DVD).
AVI-Mux GUI tells me that a subtitles stream does exist however, but not while playing the AVI.
With regard to VirtualDub, the original file is played nicely on VirtualDubMod (since the audio stream is AC-3), the subs version is *.srt
So I badly need help , but if I have no choice, I will simply convert the AVI into DVD or SVCD.
Thanks.
stephanV
31st August 2005, 09:32
OK... you said this:
Hey,
The question being how.
I did forced subs into the AVI using VirtualDub and I did separate the Video from the Audio. So now I have an AVI with forced subs but with no Audio. Whenever I try to mux the WAV file I have created, I get desynced, so I must be doing something wrong.
BTW, the audio of the original AVI file is AC-3
Thanks
Then I said this:
put the video and audio back together with AVIMux GUI. VirtualDub does not handle VBR MP3.
Have you tried to do that?
Booooom
31st August 2005, 09:58
Actually no. So your suggestion is to add the Subtitles using VirtualDub, then add the Audio with AVIMux GUI...sounds like something I should try.
Thanks.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.