How to get Windows Media Player component to play .mov files?

by Will   Last Updated August 14, 2019 00:26 AM

I am working with the Windows Media Player component but I'm running into some trouble playing .mov and .mp4 files. I'm being told that they are running just fine outside the programming environment but inside they crash the application. Is there any way to get files of these formats to play inside an embedded Windows Media Player component?

Answers 2

Standard support for .MOV and .MP4 files in Windows starts with Windows 7, and Windows Media Player plays the files through Media Foundation API.

Earlier versions of Windows don't have out of the box MOV/MP4 support and Windows Media Player would pick the files if you have a third party DirectShow demultiplexer filter installed. The file is played back through third party component, possibly one of several choices available out there, through different API. This explains why something crashes in the same time being played back on another system.

There is actually little you can do to affect this, since in Windows 7 stock components are priority, and in older versions of Windows there is a competition of third party codecs and it's not so trivial to make WMP prefer one to another (you need to make sure the demultiplexer in question is registered with Windows at top priority, so that it is picked first before other possibly installed demultiplexers - there is no standard API/command for this and re-registration also requires local administrator rights, while playback itself does not).

See also:

Roman R.
Roman R.
May 27, 2014 14:43 PM

Method One: Update Windows Media Player Method Two: Install third party codec Method Three: Install another MOV player on Windows Method Four: Convert MOV to Windows MPG, AVI, WMV, ASF with the help of iDealshare VideoGo

August 14, 2019 00:25 AM

Related Questions

axWindowsMediaPlayer playlist pause (c#)

Updated February 18, 2017 02:26 AM

Passing credentials in IP address

Updated July 19, 2017 09:26 AM