Log in

View Full Version : AVIs with many audio streams


alexnoe
28th August 2002, 19:59
How many audio streams may there be in an avi, if it should be replayed with directshow?

If I make standard AVIs, 5 works fine (didn't try more), but for Open-DML files over 1 GB, only up to 3 audio streams are accepted. More than 3 lead to an "unknown file format", regardless wether audio is ac3, mp3 or pcm.

Is this a DirectShow bug or are my files corrupt?

SirDavidGuy
29th August 2002, 02:23
Oh how the mighty have fallen...

From a mod down to a lowly Junior Member. ;-)

Haven't programmed with directshow before, but I read a similiar thread somewhere, which leads me to think it is a Directshow problem.

alexnoe
1st September 2002, 21:03
Note that AVI-Mux GUI is completely based on "ReadFile" and "WriteFile" for the whole file input and output (OK, seeking is sometimes also necessary...), and it does not use any DirectShow-, VCM or other buggy crap.

If DirectShow is the problem, then it is the AVI file reader of DirectShow which is crappy.

alexnoe
13th March 2003, 10:35
Found the bug!

You must split the standard indices into several pieces (one per 15000 frames seems to work) when adding more than 3 audio streams to an open-dml file larger than 1 GB!