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
1
vote
2 answers

How many Sequence should a live stream m3u8 have?

The client has multiple short videos available via his rest API, he wants to generate an m3u8 from them which behaves like a live stream. I wrote a PHP script, it continuously loops through the available videos, adds them to the m3u8, and deletes…
Lynob
  • 5,059
  • 15
  • 64
  • 114
1
vote
1 answer

What's the correct way to escape characters in m3u playlist?

I have a file name that contains a "#" character and I am having issues creating a playlist that both VLC and MPV will accept (those are the two players I have tested.) It seems if I use the following, it will work in MPV but not…
Chris_F
  • 4,991
  • 5
  • 33
  • 63
1
vote
1 answer

How to create a live stream player in WebOS for play M3U playlist (IPTV)?

I'm trying to develop an app for LG WebOS TVs. The app should list the content of an M3U URL with some live stream. WebOS uses HTML and Javascript, I tried using the video tag, but it doesn't work with the playlist url, and it doesn't work with a…
1
vote
1 answer

How to programmatically download a m3u8 video referenced in a blob in Python?

Note that this question is different from How do we download a blob url video [closed] in that it requires no human interaction with the browser. I have the following problem: I have a list of URLs. They point to HTML pages that have the same…
Edgar Derby
  • 2,543
  • 4
  • 29
  • 48
1
vote
1 answer

How to add dash DRM license to m3u play list?

For the past few days we are trying to add DRM license key to our dash stream on m3u list. We can able to play this through shaka web player, but management need to play this through Android box with KODI/ any client app. Got few options but its not…
James Arems
  • 87
  • 3
  • 11
1
vote
1 answer

Parse M3U file locations to fully qualified paths

I would like to parse the file location information in an M3U playlist into fully qualified paths. The possible formats in M3U files seem to be: c:\mydir\songs\tune.mp3 \songs\tune.mp3 ..\songs\tune.mp3 For the first example, just leave it alone. …
Guy
  • 413
  • 6
  • 20
1
vote
2 answers

Android: Browse audio playlist and open a M3U file from an app

I am trying to find a way to browse audio playlist and return and save the Uri of the playlist to play it later. Like an alarm clock which you can select the playlist to paly it later when alarm starts. It is possible to get one song's URI, with…
Shabnam
  • 21
  • 1
  • 5
1
vote
2 answers

how download m3u file from url with all details for account iptv?

how download m3u file from url with all details for account? i get file from this url http://yourdomainiptv.com:8000/get.php?username=yourusername&password=yourpassword&type=m3u_plus&type=ts and this file work but in i can't get the icone for…
medgh
  • 31
  • 1
  • 2
  • 5
1
vote
0 answers

How can I embed a .m3u music stream in a website and display song name

I thought my question could easily be solved with a bit of googling, but no, I have not found any clue on how to embed a .m3u music stream into a website AND display the name of the current song... Embedding the stream was really easy:
Merc
  • 4,241
  • 8
  • 52
  • 81
1
vote
1 answer

Batch for multiple m3u files

I am using this batch file to create .m3u playlists but it creates in a single playlist @echo on color 0e echo PLEASE WAIT, BUILDING PLAYLIST FILE, EXCLUDING BAT, TXT, M3U, SRT and JPG FILES if exist "playlist.m3u" del "playlist.m3u" Setlocal…
Alvarez
  • 13
  • 3
1
vote
2 answers

MPMoviePlayerController stretches / distorts live streaming video (m3u8)

I am using MPMoviePlayerController to play live streaming m3u8 video for iOS 3.1.2. It opens in full screen landscape, which is fine. However, usually after playing for 10-20 seconds, the screen resizes on its own. The screen maintains its width,…
user359519
  • 711
  • 2
  • 16
  • 28
1
vote
1 answer

Trouble parsing a large M3U file

A M3U file is a playlist file, it contains a list of entries describing media files, their name, id, categories, etc. On the first line is the metadata and the second line is the file or streaming URL. Exemple: #EXTINF:-1 tvg-id="ChannelName"…
Clément Péau
  • 316
  • 3
  • 12
1
vote
1 answer

For an HLS VOD Stream, Is it possible to only play specific Media Sequences in a Media Playlist File?

I'd like to play specific time-segments from an HLS Stream, without needing to re-edit the original MP4 file. Is it possible to alter the Media Playlist File to play specific TS Media Sequences that are out of order? For instance, in the below M3U…
Justin
  • 11
  • 2
1
vote
1 answer

what happens when i send a different m3u8 to ipad than what it expected?

I am prototyping this idea. i have a client/server model wherein whenever a client requests a m3u8 file, say 01.m3u8. Based on some conditions I send it 01.m3u8 or some other m3u8 file, say other.m3u8. However, when I send other.m3u8 file, something…
brainydexter
  • 19,826
  • 28
  • 77
  • 115
1
vote
6 answers

how to retrieve data from URL which is not a JSON object into android listView?

I have This URL and I want to fetch all the data present in here in an android list view, I only know how to retrieve data from a JSON object but here I don't even know the format of this data present in the URL. The format of the URL is: tvg-logo…
Syyam Noor
  • 474
  • 5
  • 15