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.

有帮助吗?

解决方案

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.

其他提示

vlc player, MPlayer both are available for OSX. you can download both the player from respective sites for OSX.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top