Play .ts file on Android?

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

I am trying to stream m3u8 stream from iPhone to Android. Looking at the m3u8 channel, I found some .ts files. From what I can tell, .ts files are themselves wrappers containing a video stream (Elementary Stream).

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

Is there a way to extract the Elementary stream and just process the video stream? If it is in 3gp or mp4, I should be fine.

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

(As an additional caveat, I do not get much help from my server guys. They insist on a Flash player, including a proprietary player. They will not provide me with a 3gp or mp4 channel, I hope this can be found in the .ts file .)

I am open to other suggestions. Thank you for your patience with this newbie. :)

+4
source share
4 answers

There is a standard for HTTP video streaming. Android 3.0 supports this protocol to some extent, which means that you can transfer the URL of the m3u8 playlist to MediaPlayer, and the player must be able to transfer it via HTTP. Stagefright ships with Android 3.0.

You can view the source code here .

, : HTTP Live Streaming.

+2

Android stagefright Gingerbread .ts( ) . , MP4/3GP/MP3.

+2

.ts android, NDK. Dolphine player - Android, .

.ts m3u . .ts , .

+1
source

.TS FILE SUCCESSFULLY COUPLES IN MY PROJECT OPEN MY PROJECT AND SEE HOW I IMPLEMENTED THIS VLC ..

https://drive.google.com/open?id=1_nbLJNO7mSCeMZDN6koWMsPtN3anRnUr

0
source

Source: https://habr.com/ru/post/1795523/


All Articles