Log in

View Full Version : Newby: Reinterleaving an Avi file


Thomas_AR
28th October 2005, 16:25
I have following Avi File:
Video: DivX 5 576x320 25.00fps
Audio: MS ADPCM 44100Hz stereo 354Kbps
Unknown
743 MB (779,446,272 bytes)

Voice and video are asynchrone,voice is some milliseconds behind even YAAI tells me everything is correct:
____________________________________
AVI Information
Filename: Fantasy Lagoon - Private.avi
Filesize: 779446272 Bytes (743.34 MB)
Streams (i.e. Video, Audio): 2
Video Stream
Compression: DX50 - Unknown
Avg. Bitrate: 649.87 kbit/s
Resolution: 576x320
Color Depth: 24 bits
Running Time: 5528.68 s (1h 32m 8s)
Framerate: 25.0000 fps
Microseconds Per Frame: 40000 ms
Frames: 138217
Keyframes: 537 (Every 257)
Audio Stream
Wave Type: 2 - Microsoft ADPCM Format
Avg. Bitrate: 354.88 kbit/s
Sample Rate: 44100 Hz
Bit Depth: 4 Bits
Channels: 2
Audio Delay: 0.00 s
___________________________________________



MPC is telling me 'this avi file was not prepared for sequential reading, the alternative 'Avi Splitter' will now let the default one handle it'. See attached screenshot.

I reinterleaved it with Virtualdub (Video and Audio: DirectStreaming copy, Interleaving anabled)

Result:
Video: DivX 5 576x320 25.00fps 649Kbps
Audio: MS ADPCM 44100Hz stereo 354Kbps
668 MB (700,629,540 bytes)
Audi still some milliseconds behind

Tryied AviMuxGUI
Result:
Video: DivX 5 576x320 25.00fps 649Kbps
Audio: MS ADPCM 44100Hz stereo 354Kbps
664 MB (696,955,528 bytes)
Audi still some milliseconds behind

The audio stream is still some milliseconds behind and the file has in both cases around 70MB less than the original. Is this normal regarding to the file size? Is there a better solution to get the problem fixed?

chilledoutuk
28th October 2005, 20:05
have you tried pluming the avi into vdub and saving using direct stream copy that might not mess up the audio sync.

Thomas_AR
28th October 2005, 20:40
have you tried pluming the avi into vdub and saving using direct stream copy that might not mess up the audio sync.
With vdub you mean Virtualdub? If so, yes i have done that in the way dicribed in my post above.

setarip_old
28th October 2005, 20:45
@Thomas_AR

Hi!

After loading the file into VIrtualDub (and setting both "Video" and "Audio" to "Direct Stream Copying"), from the "Audio" dropdown menu, select "Interleaving" and place an appropriate positive number in "Audio skew correction", click on "OK", then from the "File" dropdown menu, selct "Save as .AVI" and save with a NEW filename...

Thomas_AR
28th October 2005, 21:19
After loading the file into VIrtualDub (and setting both "Video" and "Audio" to "Direct Stream Copying"), from the "Audio" dropdown menu, select "Interleaving" and place an appropriate positive number in "Audio skew correction", click on "OK", then from the "File" dropdown menu, selct "Save as .AVI" and save with a NEW filename...
Worked perfect. Thanks, easy solution :)

setarip_old
28th October 2005, 22:35
Worked perfect. Thanks, easy solution

My pleasure ;>}