locked
Playing H264 in DirectShow on Windows 7 RRS feed

  • Question

  • http://msdn.microsoft.com/en-us/library/dd390679(VS.85).aspx , this link says that Microsoft MPEG Decoder can now decode H264 and also it has AAC decoder as well (some other filter). Windows Media Player 12 on Windows 7 can successfully play MP4 files.

    But when I try to play MP4 file through DirectShow on Windows 7, it doesnt allow WM ASF Reader to open MP4 files, however documentation says that MPEG4 content can be opened through WM ASF Reader filter.

    If WMP Plays, that means DirectShow should be able to render MP4 on Windows 7, can anyone guide me how to do that?

    Or how difficult it will be to create MP4 demxer for DirectShow on Windows 7?
    Wednesday, October 7, 2009 8:30 AM

Answers

  • If WMP Plays, that means DirectShow should be able to render MP4 on Windows 7, can anyone guide me how to do that?

    Or how difficult it will be to create MP4 demxer for DirectShow on Windows 7?
    WMP might be playing through Media Foundation rather than through DirectShow. MP4 demultiplexer can be made, for example, using Intel IPP Samples, or Geraint's http://www.gdcl.co.uk/mpeg4/index.htm

    http://alax.info/blog/tag/directshow
    • Marked as answer by The March Hare Tuesday, December 1, 2009 5:48 AM
    Wednesday, October 7, 2009 8:35 AM

All replies

  • If WMP Plays, that means DirectShow should be able to render MP4 on Windows 7, can anyone guide me how to do that?

    Or how difficult it will be to create MP4 demxer for DirectShow on Windows 7?
    WMP might be playing through Media Foundation rather than through DirectShow. MP4 demultiplexer can be made, for example, using Intel IPP Samples, or Geraint's http://www.gdcl.co.uk/mpeg4/index.htm

    http://alax.info/blog/tag/directshow
    • Marked as answer by The March Hare Tuesday, December 1, 2009 5:48 AM
    Wednesday, October 7, 2009 8:35 AM
  • The ASF Reader object may be able to read MPEG-4 content, however it doesn't mean that the DirectShow filter that wraps the object got updated with the appropriate media types.  You should try a test with the WM SDK directly, if that works then you can create your own filter that wraps the object.


    www.chrisnet.net
    Wednesday, October 7, 2009 1:43 PM