hls 网页无法播放
< 返回列表时间: 2014-12-18来源:开源中国
HDC调试需求开发(15万预算),能者速来!>>>
我使用ffmpeg 切好的视频文件,vlc 播放器加装m3u8 可以播放,但是没法在Safari里面播放,

ffmpeg -i install.mp4 -acodec libvo_aacenc -vcodec libx264 -s 720x480 -hls_time 10 -hls_list_size 10000 playlist.m3u8



切好的m3u8

#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:17 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:15.166667, playlist0.ts #EXTINF:8.333333, playlist1.ts #EXTINF:8.333333, playlist2.ts #EXTINF:8.333333, playlist3.ts #EXTINF:16.666667, playlist4.ts #EXTINF:7.733333, playlist5.ts #EXTINF:8.333333, playlist6.ts #EXTINF:8.333333, playlist7.ts #EXTINF:16.666667, playlist8.ts #EXTINF:8.333333, playlist9.ts #EXTINF:8.333333, playlist10.ts #EXTINF:8.333333, playlist11.ts #EXTINF:8.333333, playlist12.ts #EXTINF:16.666667, playlist13.ts #EXTINF:8.333333, playlist14.ts #EXTINF:8.333333, playlist15.ts #EXTINF:8.333333, playlist16.ts #EXTINF:9.466667, playlist17.ts #EXTINF:6.700000, playlist18.ts #EXT-X-ENDLIST



刚接触流媒体 这块 ,还请大家指点一下

热门排行