View Full Version : VBR Audio in AVI conversion problems
Tekka
5th January 2004, 21:10
I'm a bit stumped here, I have some XVID AVIs with VBR audio, they play fine under WMP9 but under Media Player Classic they out of sync pretty quickly and when I open them in Virdub I get a VBR error saying to decompress the whole stream and recompress it.
What I'm trying to do is convert them to MPEG1s with 48000 audio (they are already 48000) so I can make a DVD, only I am having all the trouble in the world getting them to sync when I use TMPGEnc, I've decompressed the audio to a wav file and then tried my settings, I still get the problems.
Any advice would be appreciated.
jojo15
6th January 2004, 16:09
Ok,
convert the wav file to a mp2 using BeSweet
then load that mp2 seperatly from the video at "audio source"
Tekka
8th January 2004, 18:42
No, I'm afraid that didn't work, I'm still getting skew on the audio :-(
jojo15
8th January 2004, 19:14
First, something i didn't notice last time, you need a mpeg2 to make a dvd..
Second, use GSpot to tell you which framerate your avi has..
Download GSpot here (http://www.headbands.com/gspot/download.html)
Tekka
9th January 2004, 03:20
Originally posted by jojo15
First, something i didn't notice last time, you need a mpeg2 to make a dvd..
Ummm no... You can use MPEG1. I've done it before, all you need is an MPEG1 VCD compatible file with 48khz audio instead of VCDs 44.1khz, but these XVIDs are already have 48khz audio.
jojo15
10th January 2004, 11:24
OK,
but i thought you wanted to make a REAL dvd, not a vcdvd..
Well, try using Canopus Procoder to make a vcd file, maybe it'll make it work..
Tekka
10th January 2004, 11:30
Originally posted by jojo15
OK,
but i thought you wanted to make a REAL dvd, not a vcdvd..
They are the same thing... I'm just using MPEG1 at a higher bitrate to fit more on, anyway I reencoded the XVIDs into DivX5 using DrDivX, took all night, but they convert really well now.
Bit of a pain in the butt really.
jojo15
10th January 2004, 14:20
So,
there is no problem (anymore)?
Tekka
10th January 2004, 14:25
Not really, but I'd like to avoid such an annoying process each time I want to do something like this :-(
jojo15
11th January 2004, 11:58
Well,
try this mpeg4converter (http://www.dse.nl/~jojo1988/)..
maybe you like it better..
damrod
6th February 2004, 13:58
something you can try :
install last version of avisynth : in this, directshowsource functionnality handle both audio and video
so you can make an avs like that
directshowsource("toto.avi",29.97)
first name of file then its framerate
normally you will have no desync...
it's better to do that since in virtualdub you can decompress mp3 audio in pcm format (not extract the audio in wav!!! you lust recompress the audio in pcm format) but the framerate can be changed
so check it again and if different than original.. modifify it to remove desync...
tmpgenc doesn't handle nicely vbr-audio...it sucks!!!
so if you want to make dvd-file compliant you must reencode avi-wav file and not avi-mp3 file to avoid problems of sync
btw, you can unlock the vcd profil to force the frequency of audio to 48khz...
i'm making dvdvideo with vcd and cvd source...
except i modify the template of vcd to have a 48khz source
it works fine after in tmpg dvd author to create dvdvideo fully compliant
cvd is mpeg2 (quality of svcd)
and vcd is mpeg1 ( choose high quality (slow) in encoding settings -- for a video of 1h it takes 1h30 on my celeron1.7 instead of 1h with default settings => but the quality is far better !!!)
you can put around 6 cdr on a dvd-r in vcd-48k format (7h30 of video)
in cvd it's around 5h maybe 6 if you choose a bitrate of 2000kb instead of the default 2250)
try it ;-))
echooff
8th February 2004, 16:55
Everytime you re-encode you lose quality. You should avoid it as much as possible. Try this: Open the Avi in vdub. When you get the warming about vbr audio click the x to close the box.
Select audio-->full processing, then select file-->save wav.
Next select audio-->no audio.
Then select video-->direct stream processing.
Finally select file-->save as avi.
This will give you a video with no sound and a audio wav file. Use this output wav in BeSweet to encode to 44,100 mp2.
Then use tmpgenc to encode the the video using the vcd template.
You can then mux the two using tmpgenc tools.
You can test to make sure audio and video is in sync by loading your encoded m1v file in vdub and select audio-->load wav. Select your wav file from above. If it's in sync encode to mp2, if not use the interleave option (under audio tab) until you have sync. Then encode to mp2 using the interleave offset in BeSweet.
This sounds like a lot of work but it works very well and you will save encoding time using a soundless file.
damrod
11th February 2004, 18:44
why unjoining audio and video
in vdub you set video todirect stream copy
and audio =< full processing mode + no codec (pcm audio)
you get and avi with audio in wave format...
check the framerate in video menu to be sure there is no desynchro...
if yes... modify framerate to the original framerate of the avi-mp3
you can load after you avi_wav in tmpgenc...
WhipHubley
26th February 2004, 22:02
Originally posted by echooff
Everytime you re-encode you lose quality. You should avoid it as much as possible. Try this: Open the Avi in vdub. When you get the warming about vbr audio click the x to close the box.
Select audio-->full processing, then select file-->save wav.
Next select audio-->no audio.
Then select video-->direct stream processing.
Finally select file-->save as avi.
This will give you a video with no sound and a audio wav file. Use this output wav in BeSweet to encode to 44,100 mp2.
Then use tmpgenc to encode the the video using the vcd template.
You can then mux the two using tmpgenc tools.
You can test to make sure audio and video is in sync by loading your encoded m1v file in vdub and select audio-->load wav. Select your wav file from above. If it's in sync encode to mp2, if not use the interleave option (under audio tab) until you have sync. Then encode to mp2 using the interleave offset in BeSweet.
This sounds like a lot of work but it works very well and you will save encoding time using a soundless file.
hi - just want to say thanks to everyone in this thread, but particularly to the above poster.
I've been having a nightmare trying to convert an .avi movie to PAL DVD with TMPGEnc. the .avi was XviD and MP3, and the best I could get was a film with the video and audio way out of sync - very disappointing :-(
so I thought I'd come onto the doom9 forum for some help, and this thread has sorted it completely. I now have a complete movie on DVD which is now in sync!
so thankyou very much for your help.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.