MP4 video playback on Mavericks - Where's a good place to start?

2013-11-12 Thread Bryan Vines
Good morning all,

I'm toying with a project to play short video, stored in my app's bundle. I had 
thought to use QTKit and a QTMovieView, but I can't locate the QTMovieView in 
Interface Builder.

Apple has a QTKit tutorial, Creating a Simple QTKit Media Player Application, 
but this is built around Xcode 3.2 and makes use of QTMovieView, which again 
I'm not seeing. Is AVKit and the AVPlayerView the way to do this in Mavericks?

Unfortunately I've only had one cup of coffee today and as a result my 
Google-fu is weak. I appreciate any guidance as to which way I should go, and 
where to start looking.

Thanks!
--
Bryan Vines
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: MP4 video playback on Mavericks - Where's a good place to start?

2013-11-12 Thread Jean-Daniel Dupas

Le 12 nov. 2013 à 17:01, Bryan Vines bkvi...@me.com a écrit :

 Good morning all,
 
 I'm toying with a project to play short video, stored in my app's bundle. I 
 had thought to use QTKit and a QTMovieView, but I can't locate the 
 QTMovieView in Interface Builder.
 
 Apple has a QTKit tutorial, Creating a Simple QTKit Media Player 
 Application, but this is built around Xcode 3.2 and makes use of 
 QTMovieView, which again I'm not seeing. Is AVKit and the AVPlayerView the 
 way to do this in Mavericks?
 

Yes, AVKit is a new framework introduced in Maverick for movie playback.

 Unfortunately I've only had one cup of coffee today and as a result my 
 Google-fu is weak. I appreciate any guidance as to which way I should go, and 
 where to start looking.
 
 Thanks!
 --
 Bryan Vines

-- Jean-Daniel





___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: MP4 video playback on Mavericks - Where's a good place to start?

2013-11-12 Thread Bryan Vines
Thanks to Karl Moskowski, Jean-Daniel Dupas, and Stuart Rogers for confirming 
AVFoundation and AVKit as the modern way forward. After reviewing Apple's 
sample code, the slides from WWDC 2013 session 606, and a couple more Google 
searches, the task of playing an MP4 video was pretty straightforward.

Thanks again!
--
Bryan Vines


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com