locked
About DirectShow and Windows Media SDK RRS feed

  • Question

  •  Document says that DirectShow uses Windows Media Format SDK to support some formats, like MPEG-4. If our program uses DirectShow to play MPEG-4 videos, does it mean that our users must have some necessary Windows Media related software installed to make our program run correctly?
    Wednesday, February 11, 2009 12:14 PM

Answers

  • Because default MS Windows does not contain MPEG-4 codecs, your users have to have additional suitable codec installed. However it does not necessarily have to be related to Windows Media, most likely it has to be a codec with DirectShow interface (such as for example XviD), there is a variety of such codecs.

    http://alax.info/blog/tag/directshow
    • Marked as answer by The March Hare Friday, February 13, 2009 3:24 PM
    Wednesday, February 11, 2009 12:28 PM
  • With XP SP2 and Vista it should not be a problem.  With earlier versions of Windows you may need to install the Windows Media Runtime.
    My dshow site is http://tmhare.mvps.org
    • Marked as answer by The March Hare Friday, February 13, 2009 3:24 PM
    Thursday, February 12, 2009 3:33 AM

All replies

  • Because default MS Windows does not contain MPEG-4 codecs, your users have to have additional suitable codec installed. However it does not necessarily have to be related to Windows Media, most likely it has to be a codec with DirectShow interface (such as for example XviD), there is a variety of such codecs.

    http://alax.info/blog/tag/directshow
    • Marked as answer by The March Hare Friday, February 13, 2009 3:24 PM
    Wednesday, February 11, 2009 12:28 PM
  • Also note that the support for MPEG-4 offered by MSFT is quite limited as stated in the docs:


  • ISO MPEG-4 video version 1.0*
  • Microsoft MPEG-4 version 3*

  • My dshow site is http://tmhare.mvps.org
  • Marked as answer by The March Hare Friday, February 13, 2009 3:24 PM
  • Unmarked as answer by niexuchina Friday, February 20, 2009 3:25 AM
Wednesday, February 11, 2009 5:41 PM
  • If we only use Microsoft MPEG-4 version 3 or Windows Media Video, does our users have to install the correct codec?

    Thursday, February 12, 2009 12:50 AM
  • With XP SP2 and Vista it should not be a problem.  With earlier versions of Windows you may need to install the Windows Media Runtime.
    My dshow site is http://tmhare.mvps.org
    • Marked as answer by The March Hare Friday, February 13, 2009 3:24 PM
    Thursday, February 12, 2009 3:33 AM
  • Thank you:-).
    Thursday, February 12, 2009 9:09 AM