views:

46

answers:

1

I've been working with Directshow for some time now. I've been working with codes (GMFBridge), and I recently started working with mp4demux. I saw it does a good work demuxing many compressed types, but there are a few types I work with that it still can't demux. I'm writing to ask about these ones.

I have here a sample of a XDCAM-EX file, wich uses the MP4 container. Using a trial version of a commercial demuxer, I was able to see what stream I have in the demuxer video output, and I got what it seems to be a Mpeg2. The Format is MPEG2VideoInfo, both the FormatType and SubType are Mpeg2Video and, what I think is the main difference, the compression is 'mpg2'. The problem is that the mp4demux finds the audio stream and outputs it as PCM, but it doesn't find the video stream. I'm new to filter development, so I might be wrong on this, but after stuying some codes I didn't find any reference to a 'mpg2' compression.

To make a comparison, I tested another MP4 file, and the mp4demux worked well. Looking for the video stream atributes, I saw it used 'avc1' compression. I searched through the code for this one and found a reference. Since 'mpg2' isn't explicitly there, I think it's not supported.

If you're interested, I can send you these video samples I'm refering to.

Any help would be much appreciated.

A: 

What is the C++ question in this? Are you looking for a library that helps you do this? Please rephrase the question to what exactly is it that you are looking for.

Gangadhar
Hey Gangadhar, this problem isn't in my system... I'll go take more informations and edit the question. Thanks for attention!
KaH600