mediafilesegmenter 只创建 aac 文件
我正在尝试创建用于 http 直播的文件。我正在使用苹果的媒体文件分段器。我从 http://support.apple.com/kb/HT1425),一个 MPEG-4 文件。它在 QuickTime 中运行良好。
当我运行此命令时:
mediafilesegmenter sample_iTunes.mov
我得到 prog_index.m3u8 索引文件和一堆 .aac 文件而不是 .ts 文件。我读了 man mediafilesegmenter 3 次,但还没有弄清楚为什么我得到的是音频文件而不是视频/音频文件。
谢谢你的帮助
尼克
I am trying to create files for http live streaming. I am using Apple's mediafilesegmenter. I downloaded a sample movie (sample_iTunes.mov from http://support.apple.com/kb/HT1425), an MPEG-4 file. It plays fine in QuickTime.
When I run this:
mediafilesegmenter sample_iTunes.mov
I get the prog_index.m3u8 index file and a bunch of .aac files instead of .ts files. I read the man mediafilesegmenter 3 times but have not figured out why I'm getting audio files rather than video/audio files.
thanks for your help
Nick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经解决了这个问题。我在 QuickTime 播放器中打开该文件,然后选择“文件”>“保存为网络。我选择了 iPhone,它创建了一个 .m4v 文件。我对此文件运行 mediafilesegmenter,然后它创建了 .ts 文件。这些流媒体正常。
I have solved the problem. I opened the file in QuickTime player and then chose File > Save For Web. I selected iPhone and it created a .m4v file. I ran mediafilesegmenter on this file and it then created the .ts files. Those streamed properly.