PDA

View Full Version : Audio - Bad Blocks


pacman99
28th July 2006, 21:25
Hi,
I have an AVI (xvid + vbrmp3 128k) that plays perfectly fine on my PC as long as I don't do anything to it. The audio is async when I try playing it on my standalone xvid/divx player.

I opened up the file in Virtualdub mod 1.5.10 and tried doing a direct stream copy and virtualdub just gives me an error saying "Audio samples 0-0 could not be read in the source. The file may be corrupted." So I tried to demux the audio using Avimux and it says VBR, bad: 392832, delay 8184ms.

I've tried the following:
-disabled the original audio track in the avi, add the demuxed audio in, select random portion of the clip, and did a direct stream copy. The audio was async.
-same as above except used a delay of 8184ms, audio is async.
-converted the vbr mp3 file that was demuxed using Avimux to wave using winamp and imported that in, audio was async
-same as point 3 but with a delay of 8184ms, audio was async.

I was just wondering how I could fix this audio problem.

I don't mind recompressing the audio but I don't want to touch the video. Since it plays fine on my computer if I don't edit it, would it be possible to perhaps make a avisynth script to do this? I just can't figure out a way to make sure the video is untouched without increasing the file size. (I'm not that great with avisynth)

Thanks~

setarip_old
29th July 2006, 20:20
Hi!

I'd suggest you go back to the original source material (the source you used to make the XviD-compressed .AVI and extract the audiostream - and convert it to CBR .MP3.

Then use VirtualDubMOD to load your problematic file, delete the problematic audiostream and add your new CBR audiostream. Then save with a new filename...

pacman99
30th July 2006, 17:58
there's no way to work w/ the current stream?