How to save video from a url to disk, also how to begin playback after some buffering?

Posted by Shizam on Stack Overflow See other posts from Stack Overflow or by Shizam
Published on 2010-03-08T01:35:39Z Indexed on 2010/03/08 1:40 UTC
Read the original article Hit count: 406

Filed under:
|
|
|

First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:

MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL]; 

using the path to the local file.

Thanks, Sam

© Stack Overflow or respective owner

How to save video from a url to disk, also how to begin playback after some buffering?

Posted by Shizam on Stack Overflow See other posts from Stack Overflow or by Shizam
Published on 2010-03-08T01:35:39Z Indexed on 2010/03/08 4:21 UTC
Read the original article Hit count: 406

Filed under:
|
|
|

First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:

MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL]; 

using the path to the local file.

Thanks, Sam

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk