Log in

View Full Version : Audio help with Sony Vegas


DFF
29th September 2007, 09:46
I've got an AVI I converted from a VOB with VDubMod who's audio is shorter in length than the video. I tried 'stretching' the audio in Vegas to line it up with the video, which looks fine and dandy onscreen, but when I play it back, the audio still comes a bit too early. Anyone have any suggestions? Thanks.

setarip_old
29th September 2007, 10:16
Hi!

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub,
VirtualDubMod and NanDub) and "Audio"
(VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream
list") to "Direct Stream Copy".


From under the "Video" dropdown menu, select "Framerate" -
and select "Change so video and audio durations match"

Save with a new filename

Let us know of your success ;>}

tebasuna51
29th September 2007, 11:04
I've got an AVI I converted from a VOB with VDubMod who's audio is shorter in length than the video. I tried 'stretching' the audio in Vegas to line it up with the video, which looks fine and dandy onscreen, but when I play it back, the audio still comes a bit too early. Anyone have any suggestions? Thanks.

Maybe the problem is not 'stretching' but 'delay'. If the video in VOB and in avi have the same framerate you never need use the 'stretching' method.

DFF
29th September 2007, 12:48
Hi!

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub,
VirtualDubMod and NanDub) and "Audio"
(VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream
list") to "Direct Stream Copy".


From under the "Video" dropdown menu, select "Framerate" -
and select "Change so video and audio durations match"

Save with a new filename

Let us know of your success ;>}

Well, I'd LUV to say it worked, but no dice. The new AVI is still oughtta sync.

Maybe the problem is not 'stretching' but 'delay'. If the video in VOB and in avi have the same framerate you never need use the 'stretching' method.

Actually 'stretching' the audio has come closer than anything else, but like I said, it's still a bit early. Anyway, the VOB and AVI are indeed the same framerate - 23.97. So what do you suggest?

BTW -- I've allready tried DGIndex/DGDecode. It didn't work either.

setarip_old
29th September 2007, 16:41
If the difference between audio and video is constant throughout the video:

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub,
VirtualDubMod and NanDub) and "Audio"
(VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream
list") to "Direct Stream Copy".

From the "Audio" dropdown menu, select "Interleaving" (For
VirtualDubMOD, rightclick on the listed audiostream and then
select "Interleaving")

Under "Audio skew correction", set an appropriate number of
milliseconds (positive or negative) in the box labelled "Delay
audio track by"

Save with a new filename

DFF
30th September 2007, 07:15
I tried that method around a month ago. I ran the file through DGIndex to get the delay, then skewed it, but alas, it didn't have any effect on audio/video sync.

Pfff...I tell ya', from what I've experienced, syncing audio/video is really an unholy pain in the ass. I've been trying for damn near a month to get it down packed and still haven't gotten anywhere. It's frustrating the hell out of me.

PhillipWyllie
30th September 2007, 20:23
Check that the sound is in sync with your VOB(using DGIndex -> Avisynth -> VFAPIConvEn in Vegas. Select a small region, goto tools -> build dynamic RAM preview to test. When stretching be sure to hold ctrl(a little squiggle will appear under the icon). Once done test again with avi as the preview video.

What if the video and audio aren't the same length?
But are in sync, here's a little formula I use:
AVI length(frames)/VOB length(frames)*audio length(frames), this will give you a frame number to stretch the end of the audio to. Check with a dynamic RAM preview to see if the audio is in sync, if it is render a region from the start to the end of the video.

setarip_old
30th September 2007, 20:47
it didn't have any effect on audio/video sync.That, my friend, is impossible ;>}

Perhaps you should carefully REread and follow the instructions of my last post.

You are aware, aren't you, that a millisecond ("MS") is only one one thousandth of a second?