Search code examples
macosmp4quicktimeaviwmv

OSX- is there an easy way to play mp4, avi, and wmv files?


On Windows 7-8 Media Foundation allows playback of many types of video files. Is there something similar on OSX 10.6 and above? Is there an easy way to use Quicktime, for example? I don't need to do anything fancy, just play the video with the ability to set the position, stop, and start.


Solution

  • See the Cocoa classes QTMovie and QTMovieView. As I recall, you need a third party plug-in codec to play wmv files with QuickTime, but mp4 and avi should be OK out of the box.