如何在浏览器中播放.TS文件(视频/ MP2T媒体类型)? [英] How to play .ts files (video/MP2T media type) in Browser?

查看:26490
本文介绍了如何在浏览器中播放.TS文件(视频/ MP2T媒体类型)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个指向几个.TS文件的一个m3u格式文件(都在Akamai的)。

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

由于我们给Akamai的实时流,他们将其转换为这些.ts文件上每10秒的。我看到的m3u文件很容易理解,但我无法找到一个基于浏览器的这些文件(Flash,HTML5或原生插件)的球员。

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.

如果我给VLC m3u文件的链接,VLC播放所有的.ts文件上一个又一个,如果它只有一个大的文件。我想使用闪光灯或类似的东西能在浏览器中播放,以同样的方式VLC可以播放这些文件的.m3u

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.

这可能吗?

推荐答案

您基本上谈论苹果HLS格式。
您可以在网页上使用html5的对象。您可以使用 http://osmfhls.kutu.ru/ 的Flash插件。您可以使用jwplayer。有更多的选择(例如的Flowplayer)。

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).

这篇关于如何在浏览器中播放.TS文件(视频/ MP2T媒体类型)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆