iphone - 如何使用Media Segmenter分割视频?

标签 iphone ios xcode4 video-streaming http-live-streaming

我读了很多文档,但对 HTTP Live Streaming 仍然很困惑。
但我仍在尝试解决方案..并且我已使用 ffmpeg 将我的视频转换为 .ts 格式。

现在我知道我必须分割视频并使用 mediasegmenter 创建播放列表。
但我不知道 mediasegmenter 在哪里以及如何使用它来分割视频。
我对此很陌生,很抱歉这个愚蠢的问题..

任何帮助将不胜感激..!!
提前致谢..!!

最佳答案

这里:35703_streamingtools_beta.dmg或前往http://connect.apple.com/搜索“HTTP直播”,或者从https://developer.apple.com/streaming/下载。用法:

mediafilesegmenter -t 10 myvideo-iphone.ts

这将为视频的每 10 秒生成一个 .ts 文件以及指向所有这些文件的 .m3u8 文件。

关于iphone - 如何使用Media Segmenter分割视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7859585/

相关文章:

iphone - 从不同的 ViewController 调用 UIAlertViewDelegate 方法

ios - 如何在 UIAlertView 的按钮中执行操作?

iphone - 应用程序未通过代码设计验证。签名无效,或未使用 Apple 提交证书签名

objective-c - UIInterfaceOrientationMaskPortrait 和 UIInterfaceOrientationPortrait 有什么区别

iphone - 在运行时检测 iPhone 上的 UDID 欺骗

iphone - 如何关闭当我的应用程序在后台时出现的 UILocalNotification?

ios - UISearchController.hidesNavigationBarDuringPresentation 在 iOS 11 Beta 中被 scopeButtons 忽略

iphone - 将导航 Controller 拖放到 IB 中的选项卡栏上时,Xcode 4.2 发出警告

iphone - iPhone 应用程序开发中的 Monotouch 与 Flash CS5

iphone - 从 XML 文件解析的分段 UITableview(需要帮助构建 XML 文件)