• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS: AVFoundation, AVAssetWriter and caching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: AVFoundation, AVAssetWriter and caching


  • Subject: Re: iOS: AVFoundation, AVAssetWriter and caching
  • From: Steve Christensen <email@hidden>
  • Date: Wed, 06 Jul 2011 09:40:01 -0700

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

  • Follow-Ups:
    • Re: iOS: AVFoundation, AVAssetWriter and caching
      • From: Heath Borders <email@hidden>
References: 
 >iOS: AVFoundation, AVAssetWriter and caching (From: John Michael Zorko <email@hidden>)

  • Prev by Date: Re: NSDatePicker weirdness with time.
  • Next by Date: Re: iOS: AVFoundation, AVAssetWriter and caching
  • Previous by thread: iOS: AVFoundation, AVAssetWriter and caching
  • Next by thread: Re: iOS: AVFoundation, AVAssetWriter and caching
  • Index(es):
    • Date
    • Thread