我在流视频方面还很陌生,所以请多多包涵. :)
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视频文件?
发布评论