在Android上播放.ts视频文件?

编程入门 行业动态 更新时间:2024-10-25 06:29:49
本文介绍了在Android上播放.ts视频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在流视频方面还很陌生,所以请多多包涵. :)

I am pretty new at streaming video, so please bear with me. :)

我正在尝试将m3u8流从iPhone移植到Android.在m3u8供稿中查找,我发现了一些.ts文件.据我所知,.ts文件本身就是包含视频流(基本流)的包装器.

I am trying to port an m3u8 stream over from iPhone to Android. Looking in the m3u8 feed, I found some .ts files. From what I can tell, .ts files are, themselves, wrappers that contain the video stream (Elementary Stream).

是否可以在Android中播放.ts文件? (文档仅列出3gp和mp4作为受支持的格式.)

Is it possible to play a .ts file in Android? (The docs only list 3gp and mp4 as supported formats.)

是否有一种方法可以提取基本流并仅处理视频提要?如果是3gp或mp4,就可以了.

Is there a way to extract the Elementary Stream and just process the video feed? If that is in 3gp or mp4, I should be ok.

Stagefright是否可以处理.ts? Stagefright甚至可用吗?我读到它存在/有问题.

Will Stagefright handle .ts? Is Stagefright even available? I read that there are/were some problems with it.

(作为进一步的警告,我没有从服务器人员那里得到太多帮助.他们正在寻求Flash播放器解决方案,包括专有播放器.它们不会为我提供3gp或mp4提要,但是我我希望可以在.ts文件中找到它.)

(As a further caveat, I am not getting much help from my server guys. They are pushing for a Flash player solution, including a proprietary player. They will not provide me with a 3gp or an mp4 feed, but I'm hoping I can find that in the .ts file.)

我愿意接受其他建议.多谢您对这个新手的耐心配合. :)

I'm open to other suggestions. Thanks for your patience with this newbie. :)

推荐答案

Gingerbread和更低版本中的Android stagefright不支持播放.ts(传输流)或基本流.正如您正确指出的那样,它仅支持MP4/3GP/MP3文件格式.

Android stagefright in Gingerbread and prior versions does not support playback of .ts (transport stream) or elementary stream. As you have rightly pointed out, it only supports MP4/3GP/MP3 file formats.

更多推荐

在Android上播放.ts视频文件?

本文发布于:2023-07-11 09:22:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1093567.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:视频文件   Android   ts

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!