Log in

View Full Version : ATI MPEG Decoder and H264


dattrax
31st October 2007, 23:28
Has anyone managed to create a filtergraph to make this work? I have the latest AVIVO and MPEG2 works a treat. I cannot however manage to construct a graph which works for H264. I've tried .TS containers, .mp4, .mkv and .h264 and non work. Swapping out the decoder for coreavc allows playback.

Anyone managed to do this?

Jim

Sulik
1st November 2007, 21:10
You have to use the ATI MPEG Multiplexer and ATI File Writer. It will produce a AVI file with 'H264' FourCC.
(Note that it is baseline-profile only ~ ok for IPod)

dattrax
1st November 2007, 22:08
Thanks,

Tested this and I can produce a .mp4 from the ATI encoder. This plays back OK in CoreAVC but fails to play under the ATI MPEG video decoder. You would think that their encoder would produce something they could replay. All I get is a black window the same size as the video and can hear the audio.

Any ideas?

Jim

Jay Bee
3rd November 2007, 04:01
Does ATI have an AVC decoder?

Sulik
3rd November 2007, 04:25
Unlike with well defined MPEG-2 media types, MP4 playback with a specific decoder depends a lot on which demultiplexer you're using (demux from vendor A does not necessarily works with decoder from vendor B).

dattrax
3rd November 2007, 11:54
Yes, I recompiled MatroskaSpitter and MP4Splitter to send the FourCC 'H264' rather than 'AVC1' on the output pin. The Directshow graph connects, but I am having no luck with playback.

I have tested using HD-DVD profile for the AVC just in case it was a number of reference frames/profile/anything else issue but that didn't work. I have even tested creating with their own encoder. All I get when I play the filter graph is a black window the size of the video in the container.

My next job is to put some debug in the filter to see where the blockage is (if the ATI decoder is not accepting it).

I anyone has connected up this decoder in a directshow filtergraph I would appreciate a screengrab of the graphedit window.

Cheers

Jim