Questions tagged [m3u]

a computer file format that stores multimedia playlists

An M3U file is a plain text file that specifies the locations of one or more media files. The file is saved with the "M3U" or "m3u" filename extension.

Each entry carries one specification. The specification can be any one of the following:

  • an absolute local pathname; e.g., C:\My Music\Heavysets.mp3
  • a local pathname relative to the M3U file location; e.g. Heavysets.mp3
  • a URL.

The M3U file can also include comments, prefaced by the "#" character. In extended M3U, "#" also introduces extended M3U directives.

One common use of the M3U file format is creating a single-entry playlist file pointing to a stream on the Internet. The created file provides easy access to that stream and is often used in downloads from a website, for emailing, and for listening to Internet radio .

143 questions
22
votes
6 answers

How to download and decrypt HTTP Live Streaming (HLS) videos in iOS?

I want to download M3U8 file chunks (HLS) and store that video (after decrypting it) for later viewing. I have made a demo to play M3U8 file but I want to download video data for later view.
NSPratik
  • 4,714
  • 7
  • 51
  • 81
14
votes
5 answers

Streaming from M3U on Android

I am working with Android OS to try to stream from an M3U. I don't see why this is a big deal on Android, but for some reason it is. The M3U structure is simple, it's essentially a list of URLs to external MP3 files. However, when you click the M3U…
jocull
  • 20,008
  • 22
  • 105
  • 149
12
votes
2 answers

iPhone MP4 Video Playlist

I have a library of footage encoded as H.264/AAC inside MP4 containers. Right now I can successfully stream the footage to the iPhone using Apache and mod_h264. What I'd like to be able to do is tell the iPhone to play three clips back to back. The…
zorlack
  • 664
  • 2
  • 7
  • 26
10
votes
2 answers

How to download m3u8 format media file in Android

I need to parse an m3u8 media file, which is a playlist, and download the actual media content. As per my understanding, the following are the process involved: Parse the m3u8 file and get the '.TS' chunks Once all the chunks has been retrieved,…
Nizam
  • 5,698
  • 9
  • 45
  • 57
6
votes
1 answer

Issue in playing m3u8 file in android 3.2

I am trying to play apple test stream video (.m3u8) in Android. This is the link: http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8 But I am not able to play it in Android 3.2. This is the code I have used to play the…
Abhi
  • 8,935
  • 7
  • 37
  • 60
5
votes
1 answer

Playing m3u playlist with html5

I've created a very simple and basic html5 audio player, actually not more than:
Abu Romaïssae
  • 3,841
  • 5
  • 37
  • 59
5
votes
1 answer

how to download m3u video in IOS app?

I'm developing an IOS application which will download some videos to local so that users can watch those videos offline. But currently, a lot of videos are m3u and m3u8 format. As I know m3u and m3u8 is just a video list. So my question is how I can…
user1340399
  • 51
  • 1
  • 1
  • 3
4
votes
1 answer

iPhone MPMoviePlayerController : download files while streaming en play them locally

I've m3u8 file with all the TS files. MPMoviePlayerController play them fine via http request on the streaming server. But I'd like to get the files locally in order to play them again later without any connection. I managed to download m3u8 file…
Vassily
  • 899
  • 2
  • 8
  • 19
4
votes
1 answer

how to stream live m3u8 file using ffmpeg to youtube rtmp

i want to restream a live m3u8 file to youtube .i used following code fmpeg -re -i -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize…
4
votes
4 answers

Method for launching audio player on Android from web page for streaming media

To link to SHOUTcast/HTTP internet radio streams, traditionally you would link to a playlist file, such as an M3U or PLS. From there, the browser would launch the audio player registered to handle the playlist. This works great on any PC, Palm,…
Brad
  • 159,648
  • 54
  • 349
  • 530
4
votes
2 answers

AVPlayer not playing m3u8 from local file

I am trying to get AVPlayer to play a m3u8 playlist that is a local file. I have narrowed this down to a simple test case using one of Apple's sample playlists: https://tungsten.aaplimg.com/VOD/bipbop_adv_fmp4_example/master.m3u8 If i play this…
Reneli
  • 1,756
  • 2
  • 16
  • 26
4
votes
2 answers

Streaming to iphone via m3u8

I've been reading around about streaming on the iphone via m3u8 but I'm not sure if I'm missing something. It is well documented that MPMoviePlayerController will only play full-screen in OS 3.1, so iPhone users are stuck watching the video…
Antonio
  • 863
  • 1
  • 11
  • 23
4
votes
1 answer

Playlist/Audio file association from browser not working

I'm fairly new to iOS coming from Android. I'm having a bit of a hard time understanding the whole file and mime association deal. It is kinda confusing... I have searched all over for samples and I simply got more confused. Essentially to get me…
Jona
  • 13,325
  • 15
  • 86
  • 129
3
votes
1 answer

Is it possible to make m3u8 file smaller by removing the base URL parts of all ts file URL in m3u8

1). My .m3u8 files and all .ts files are all located at a website like http://m3u8.abc.com/xxx.m3u8(.ts). 2). In m3u8 file, every #EXTINF parts points to a URL such as: #EXTINF:3.436767, …
Henry Leu
  • 2,184
  • 4
  • 22
  • 34
3
votes
0 answers

Stream M3u url in Android

I am trying to stream m3u from url. The below code is working with an MP3 url but no with an m3u url. This is how I initialize the player private void initializeMediaPlayer() { mPlayer = new MediaPlayer(); try { …
user4292106
  • 441
  • 1
  • 11
  • 24
1
2 3
9 10