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.
Asked
Active
Viewed 300 times
0
-
not the right place for a question like this, but check out VLC Media Player – ryanbwork Jan 22 '13 at 00:37
-
2@ryanbwork It appears the OP is asking about playing video from code on OS X, not asking for recommendations about video player applications. – mttrb Jan 22 '13 at 03:00
-
Exactly. I'm not looking for video player applications. – TomJeffries Jan 22 '13 at 04:25
2 Answers
1
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.

JWWalker
- 22,385
- 6
- 55
- 76
-
Thanks- that's what I'm looking for, a way to write code that plays movies rather than a way to play them from the desktop. There are lots of programs that play movies, I need to know what classes to use to incorporate that into a program. – TomJeffries Jan 22 '13 at 04:24
0
vlc player, MPlayer both are available for OSX. you can download both the player from respective sites for OSX.

rajneesh
- 1,709
- 1
- 13
- 13