dattrax
19th September 2004, 15:07
I have some mpeg files which I created which are mpeg2 video and mpeg1 layer2 audio. When opening in mediaplayer the video plays (using ffdshow video decoder), but audio doesn't start.
When opening the same file in filtergraph it has the same problem in that the audio pin cannot connect. If I manually connect the mpeg1 audio from the demultiplexor to the ffdshow audio decoder, and then to the directsound audio renderer then everything connects and play fine (with the audio).
The problem seems that directshow cant auto determin the filter chain.
Anyone know how to fix this?
* Update *
It seems like using an AC3 audio track instead of an mpeg one alows for the auto creation of the filter chain so it would seem that only mpeg audio is broken.
Jim
When opening the same file in filtergraph it has the same problem in that the audio pin cannot connect. If I manually connect the mpeg1 audio from the demultiplexor to the ffdshow audio decoder, and then to the directsound audio renderer then everything connects and play fine (with the audio).
The problem seems that directshow cant auto determin the filter chain.
Anyone know how to fix this?
* Update *
It seems like using an AC3 audio track instead of an mpeg one alows for the auto creation of the filter chain so it would seem that only mpeg audio is broken.
Jim