MPMoviePlayerController:如何读取临时视频文件
我的应用程序相对简单:用户从列表中选择一个视频,选择一些预设,然后它会自动导出到应用程序的临时目录中。
为了预览导出的文件,我在导出视频文件后大约 10 秒启动 MPMoviePlayerController。这是一种渐进式下载。
但是,MPMoviePlayerController 会发送播放完成的通知。当另一个进程正在写视频时如何进行播放?
My application is relatively simple: User selects a video from a list, he selects some presets and it is automatically exported into application's temp directory.
To preview exported files, I launch a MPMoviePlayerController about 10 seconds after the video file is exported. It is a sort of progressive download.
However, the MPMoviePlayerController sends a notification that playback is finished. How can I do to playback when another process is writing a video?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论