Log in

View Full Version : VDubMod only takes 1/3 of audio


llr
29th December 2003, 11:10
Okay, i have not so nice vbr sounds and im trying to recompress that. So i tryed to save my audio's in wav whit no compress, but it only take 20mins of 85mins. It works whit Direct Stream Copy, but not whit Full processing mode.

Thx

Sorry about my bad english

EDIT:

Mispelling in topic =)

bond
29th December 2003, 11:55
Originally posted by llr
i have not so nice vbr sounds and im trying to recompress that.whats the problem with vbr?

llr
29th December 2003, 12:40
Well, i think that is reason why my audio is not sync.

EDIT:

I got audio ripped off video by demuxe. Now i noticed that there is 1ms diffrence between audio and video. Does that cause sync problem? In movie i have like 2sec sync problem.

Movie is DivX 3 Low-motion and FPS 23,97

Thx

bond
29th December 2003, 13:19
vbr has nothing to do with sync issues!

is the sound in the whole movie constantly out of sync?
do the sync issues get worse during playback?
are there also sync issues before 20min

llr
29th December 2003, 13:26
Audio get's of sync during movie.

Hm.. it could be after 20 mins. Not sure

Thx

bond
29th December 2003, 13:30
Originally posted by llr
Audio get's of sync during movie.this means the sync problems get worse?

are there sync problems right from the start?

llr
29th December 2003, 13:35
Not at start

Yup, it get worse at end.

bond
29th December 2003, 13:42
than you need to change the framerate in vdm till audio and video are in sync again

llr
29th December 2003, 13:46
Ok, like Video Bitrate from 23,97fps to 25fps ?

thx

bond
29th December 2003, 13:48
yes, you have to play around a bit till you get the sync again

the resulting framerate can also be something like 25.016 for example...

llr
29th December 2003, 13:56
Ok thx ! =)

Well, quess i will start trying =)

EDIT:

Haven't tried yet, but here is little more info. Movie works fine, but when i convert it to vcd audio get's out of sync. When i open movie whit vdubmod it says something about vbr audio

llr
29th December 2003, 16:06
Uhm. What to do if bitrate is something like 23.9005, 23.901 is not enough and 23.902 is too much.

bond
29th December 2003, 16:09
than you have to decide which one of the two is less worse

sorry there is no other way :(

llr
29th December 2003, 16:11
I have feeling that this doesn't work. I get audio sync whit some part, but when i go another frame of movie is out of sync too

bond
29th December 2003, 16:14
well thats why i asked if there are problems at 20sec as you wrote that there are problems at that position

so check if the sync problems occur at that position

llr
29th December 2003, 16:31
And edit only that frame ? Or do i create two clips and rejoin them. one after 20mins and one before 20mins ?

bond
29th December 2003, 16:40
well do the sync problems begin at 20min or also before that?

llr
29th December 2003, 16:42
After 20mins. Before that everything is fine.

EDIT:

And VdubMod only saves 20mins of audio when saving audio separate to wav

bond
29th December 2003, 16:49
well than your audio stream is f*cked up

try other tools for demuxing the audio stream, if it doesnt work you should rerip the audio from the dvd

llr
29th December 2003, 16:57
Here what VDub says http://mbnet.fi/~smannila/misc/note.jpg

I get audio ripped off whit VDub and i can recompress it and when i put it back it looks good, but after saving avi it get off sync again

bond
29th December 2003, 17:01
virtualdub cant really handle mp3, use virtualdubmod to demux mp3!

llr
29th December 2003, 17:03
Done it. Should i recompress mp3 to pcm or something and rejoin it to film ?

EDIT:

And oh, thanks very much for sharing you time :)

EDIT2:

Noticed that Movie is 1:23:50 and audio 1:23:49

bond
29th December 2003, 17:13
hm, if you say the problems begin at 20min than your audio stream is borked, you can try to reencode, but this will lead to worse quality and i am not sure if it helps sync

all-in-all there are two possibilities to resync audio and video:
1) change the delay, which means that the a/v gets a constant delay through out the movie
2) change the framerate, which has to be done if the sync issues get worse the longer the movie plays

llr
29th December 2003, 17:16
Ok, Thanks very much for sharing your time! And does it matters that audio is 1s shorter than film ?

bond
29th December 2003, 17:26
Originally posted by llr
And does it matters that audio is 1s shorter than film ?hm if there are no sync issues till 20min than it doesnt matter

llr
29th December 2003, 17:35
THANKEY THANKEY! I Got it work! Thx so much! :D

llr
30th December 2003, 14:39
Still having problems. =(

I recompressed audio to PCM whit avi2wav decompresser.
Everything is fine

When i recompress audio to mp3 whit VirtualDubMob it get's off sync.

bond
30th December 2003, 14:43
so when you mux the pcm wav with the movie there are no sync problems, but with the recompressed mp3 there are some?

wierd,
try another audio encoder (also try vorbis or aac)

llr
30th December 2003, 16:02
How to get rid off VBR ? Are VBR necessary for MPEG 3 ? Or should i compress it to another format ? It must be compressed some format becose now my audio file is 920 mt =)

I mean (http://mbnet.fi/~smannila/misc/note.jpg)

llr
30th December 2003, 16:50
I have tried to Convert audio whit Besweet. When converting to mp3 Framerate changes. I tried change framerate of audio whit besweet but program chrashed.

bond
30th December 2003, 17:18
Originally posted by llr
How to get rid off VBR ? Are VBR necessary for MPEG 3? I mean (http://mbnet.fi/~smannila/misc/note.jpg) [/B]vbr = variable bitrate and is a superior technology, which good mp3 codecs can handle

the pop-up you get in virtualdub, is because vd cant handle vbr-mp3 (its vd's fault not a failure in the mp3 stream itself)
handling of vbr-mp3 was one of the reasons why virtualdubmod was created!

but if you want to try cbr (constant bitrate) you can also do that with besweet, just go to the lame1 tab -> and set "alt-preset cbr" and whatever bitrate you want

Originally posted by llr
I have tried to Convert audio whit Besweet. When converting to mp3 Framerate changes. I tried change framerate of audio whit besweet but program chrashed.as your audio has pretty much the same length as the video you dont need to change the framerate!

btw if you would need to change the framerate its always better to do this in the video stream, as there you can do it without the need for reencoding

llr
30th December 2003, 17:25
ok, i will try cbr

Framerate issue: In VdubMod i can easily change framerate such as v&a syncs. Yeah it works at end of movie, but start of film still have sync problems

bond
30th December 2003, 17:31
hm you always wrote that the start of the movie doesnt have sync issues!

if you have sync issues right from the start, you need to add a delay between audio and video (ie if you add 1sec delay, the audio and video are delayed by 1sec through out the whole movie)

llr
30th December 2003, 17:39
Noup there isn't at start. If i choose: Change so Video and Audio duration match. Then we have sync problems at start :D

Now i will test does it work whit MP3-WAVE.

Haven't tested cbr

llr
30th December 2003, 18:13
This seems wierd

Short:

Movie is Divx and audio mpeg3. When movie is decompressed to vcd audio get's off sync. Audio is decompressed to pcm and then sync problems disappear. And when audio is compressed back from pcm to mpeg3 sync problems are back. Audio is 10ms shorter than movie. If setting: "Change so Video and Audio duration match" is choosen from VDubMod, there is still little sync problem, but not all part of movie. :(

Suiryc
31st December 2003, 20:27
There are few chances to get something (especially audio/video sync) to work when having a VBR stream.

If I read correctly you wanna recompress your audio stream. In this case (MP3 VBR inside AVI) I recommend you to 'Demux' the track (in 'Direct Stream copy' mode of course, and you said it would give you a correct - in length - file) and recompress it using external specialized tools. Then use VirtualDubMod (or any other tool, such as AVIMux-GUI) to re-add the audio in your file (replacing the original audio).

llr
31st December 2003, 21:02
I'll give it a shot

llr
31st December 2003, 22:50
New:

Demuxed audio from my movie to mp3. Then recompressed to pcm whit goldwave = Sync problems. Then i tried convert mp3 to mp3 whit BeSweet and changed from vbr to cbr, here what i get

http://mbnet.fi/~smannila/misc/besweet.jpg

EDIT:

Noticed that demuxed mp3 from video is 0:49:10 and after BeSweet my new mp3 is 1:23:49

llr
1st January 2004, 13:05
Ah, i think i got it work. I cutted video before sync problem part ( Look picture from previous post ) And then cutted after sync part. Now i had 2 files. Then i muxed audios separately and recompressed to cbr and then joined avis again. Now it seems to work. Thx all for helping, and i hope this post helps another peoples whit this kind of problems.

bond
1st January 2004, 13:23
hm so there was a failure in the audio stream

great that it finally worked :)