سؤال

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