How to play .ts files (video/MP2T media type) in Browser?

空扰寡人 提交于 2019-12-19 13:48:25

问题


I have one .m3u file that points to several .ts files (all in akamai).

Because we give to akamai a live stream, they convert it to these .ts files each of 10s. I see that the m3u files are easy to understand, but I can't find a browser based (flash, html5 or native plugin) player for these files.

If I give to vlc the link of the m3u file, vlc plays all the .ts files one after another as if it where only one big file. I want to use flash or something similar to be able to play in browser, the same way vlc can play those .m3u files.

Is this possible ?


回答1:


You are basically talking about Apple's HLS format. You can use an html5 object in your web page. You can use http://osmfhls.kutu.ru/ flash plugin. You can use jwplayer. There are more choices (e.g. flowplayer).



来源:https://stackoverflow.com/questions/16386510/how-to-play-ts-files-video-mp2t-media-type-in-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!