【发布时间】:2012-06-20 05:44:32
【问题描述】:
我想在 iPhone 中从 ftp 流式传输大型视频。视频大小超过 500 MB。我从来没有做过流媒体,所以不知道。我查看了 Apple 的实时流媒体指南,但它没有提供有关 iPhone 编码的任何帮助。有人可以帮助我在 iPhone 编码中到底需要做什么吗?到目前为止,我已经完成了以下工作:
MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:@"http://www.defencecourse.com/digital-reproductions/yellow-belt.mp4"]];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(moviePlayBackDidFinish:) name:MPMoviePlayerPlaybackDidFinishNotification
object:nil];
mpvc.moviePlayer.movieSourceType = MPMovieSourceTypeStreaming;
[self presentMoviePlayerViewControllerAnimated:mpvc];
[mpvc release];
这种编码是否足以播放流式视频?
我有一个为我准备视频的人,我应该让他对服务器上的视频做什么?我应该问他只是在服务器上分割视频还是其他什么? 有人可以建议我最好的转发方式吗?
问候
潘卡伊
【问题讨论】:
标签: iphone ios streaming video-streaming