Re: iOS: AVFoundation, AVAssetWriter and caching
Re: iOS: AVFoundation, AVAssetWriter and caching
- Subject: Re: iOS: AVFoundation, AVAssetWriter and caching
- From: Heath Borders <email@hidden>
- Date: Wed, 06 Jul 2011 12:41:59 -0500
I'm pretty sure someone else on the list tried exactly that, and it didn't work.
-Heath Borders
email@hidden
Twitter: heathborders
http://heath-tech.blogspot.com
On Wed, Jul 6, 2011 at 11:40 AM, Steve Christensen <email@hidden> wrote:
> With the caveat that I haven't actually tried it, would it make more sense to be streaming the movie data to a local file, then specifying the URL/path to the file in the initializer method of one of the movie player classes? If the player can handle the case where not all the movie data is present then it should just "do the right thing." The benefit is that you can use the same code to play the movie, no matter how much of it is local.
>
>
> On Jul 5, 2011, at 8:03 PM, John Michael Zorko wrote:
>
>> I'm interested in caching a movie as I play it from the internet, so that the next time the user asks for the movie, it can play it from the device filesystem. I'm thinking capturing frames and audio and using an AVAssetWriter like I would when recording from the camera, but i'm not sure if this will work when "recording" from a playing asset. Would anyone illuminate me as to whether this is possible, or if I need to explore other ways of doing this (which would probably be a lot less cool and efficient than doing it this way, alas)?
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden