简体   繁体   English

是否可以在Android(4.x)上创建(部署)HTTP Live Streaming(HLS)?

[英]Is it possible to create(deploy) HTTP Live Streaming (HLS) on Android(4.x)?

Is it possible to invoke(deploy) HTTP Live Streaming (HLS) on Android(4.x)? 是否可以在Android(4.x)上调用(部署)HTTP Live Streaming(HLS)? https://developer.apple.com/streaming/ https://developer.apple.com/streaming/

Obviously iOS devices can both capture/play, and I know android can at least play, but how about capturing? 显然,iOS设备都可以捕获/播放,而且我知道android至少可以播放,但是捕获又如何呢? I wonder interoperability. 我想知道互操作性。

Thanks. 谢谢。

The best answer I found so far is 到目前为止,我发现的最佳答案是

Creating a HLS video stream with FFmpeg 12 May 2013 使用FFmpeg创建HLS视频流2013年5月12日

http://walterebert.com/blog/creating-on-hls-video-stream-with-ffmpeg/ http://walterebert.com/blog/creating-on-hls-video-stream-with-ffmpeg/

For video conversion I use FFmpeg. Creation of HLS is possible with FFmpeg, but not really well documented. So I had to figure out how to create the video streams. After a lot of research and experimentation I created my FFmpeg HLS reference implementation that is available on Bitbucket.

On iOS the created video plays without problems on new devices. Older iOS devices with a maximum resolution of 480×320 pixels seem to select the best quality stream available, even if they cannot play it. For Android you have to create a MP4 video and before converting it into a MPEG stream. Doing this in a single command creates a choppy stream on Android. Flash playback has still some issues if you change the bitrate. So I still have some work to do.

These are the writings of Walter Ebert on web development, web design and free, open source software

Yes. 是。 HLS is widely used on Android 4.x. HLS在Android 4.x上被广泛使用。

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

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