用于HLS的带有videojs和wowza的动态smil文件 [英] Dynamic smil file with videojs and wowza for HLS
问题描述
我正在将 wowza
与 amazon ec2
结合使用,并且上传了一个 smil
文件在亚马逊中进行测试。对于 videojs
Flash播放器,我可以使用 video-js-swf
插件和 smil
文件。对于所有视频,我需要创建 smil
文件并必须上传到亚马逊,这需要很多时间。
I am using wowza
with amazon ec2
and I uploaded one smil
file in amazon for testing. For videojs
flash player, I am able to do multiple bitrate Http live streaming(HLS
) using video-js-swf
plugin and a smil
file. For all videos I need to create smil
file and have to upload to amazon, and it takes lots of time.
有没有办法只使用多个移交文件(无需创建 smil
文件并上传到 amazon ec2
)?
Is there any way to use multiple rendition files only(without creating smil
file and upload to amazon ec2
)?
推荐答案
我删除了wowza服务器配置,并创建了使用ffmpeg从mp4文件生成m3u8和ts文件的脚本(该文件具有不同的比特率)视频)。
我们可以将这个m3u8文件直接添加到视频src(在网络应用中)。这将在ios和android设备中播放http直播。
I removed wowza server configuration and created script which generates m3u8 and ts files using ffmpeg from mp4 files(which is having different bitrate videos). We can directly add this m3u8 file in the video src(in web app). This will play http live streaming in ios and android devices.
这篇关于用于HLS的带有videojs和wowza的动态smil文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!