简体   繁体   English

如何使用HTTP直播?

[英]How to use HTTP live stream?

My one app is rejected and it says.. 我的一个应用程序被拒绝,它说..

We found that your app does not use the HTTP Live Streaming protocol, with a baseline stream of 64 kbps, to broadcast streaming video, as required by the App Store Review Guidelines.

I searched almost every thing but still i am confused and don't have any clear view about HTTP Live Streaming 我搜索了几乎所有内容,但仍然感到困惑,并且对HTTP Live Streaming没有清晰的看法

I have read many documents but i didn't get any idea where to start and how to use HTTP live streaming tool and all other stuff.. :( 我已经阅读了许多文档,但是我不知道从哪里开始以及如何使用HTTP实时流工具以及所有其他内容。

Can any one give me a clear solution for my confusion?? 任何人都可以为我的困惑提供一个明确的解决方案吗?
How can i use HTTP Live Streaming in my app?? 如何在我的应用程序中使用HTTP Live Streaming
How do i segment my videos and then how to add them in to playlist ?? 如何segment我的视频,然后如何将其添加到playlist

Any help please.. 任何帮助请..
If anyone help me in this then it would be a great help..!! 如果有人在这方面帮助我,那将是一个很大的帮助.. !!

Thanks in advance..!! 提前致谢..!!

Convert your video to transport stream (.ts) using FFmepg and then use mediafilesegmenter to split the video and create a playlist: 使用FFmepg将视频转换为传输流(.ts),然后使用mediafilesegmenter分割视频并创建播放列表:

mediafilesegmenter -t 10 myvideo-iphone.ts

This will generate one .ts file for each 10 seconds of the video plus a .m3u8 file pointing to all of them. 每10秒钟视频将生成一个.ts文件,并指向所有视频文件生成一个.m3u8文件。 See the answer at HTTP LIve Streaming for details. 有关详细信息,请参见HTTP LIve Streaming中的答案。

Apple supplies a lot of documentation and tools to help with HTTP Live Streaming. Apple提供了许多文档和工具来帮助HTTP Live Streaming。 The tools convert a video to a format suitable for streaming from most web servers. 该工具将视频转换为适合从大多数Web服务器进行流传输的格式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM