If you would like to enjoy live TV without an actual television, then what you need is simply a M3U8 playlist file. It’s a single-entry playlist file that points to the TV stream on the Internet, which can be played by IPTV players like VLC, Kodi, Player and present you fabulous TV shows. But sometimes you’ve just got the preferred channels’ URLs you Googled online, or a playlist file in .txt format. In the following article, I’ll show you how to create your own M3U8 playlist for IPTV from them.
How to load m3u playlist from pastebin.com:
Add the same music files/folders in local disk of your computer to the now playing playlist of foobar2000. Choose file-save playlist in the foobar and save the playlist in the desktop of the computer. Detailed description of the.m3u file type The.m3u file format is used for storing multimedia playlists. Though the.m3u format was originally developed for Winamp, today most popular media players, including RealNetworks RealPlayer and Apple iTunes, support this format.
save your playlist in #EXTM3U format on pastbin, then find raw button on page and press it. On browser address bar you will see ulr like this one: https://pastebin.com/raw/yuor-pastnin-post-id, copy this link and modify it to follow link https://pastebin.com/raw/yuor-pastnin-post-id/.m3u ( add at the end of the url “/.m3u”). This method also will work if you have mobile web page with <a href>, xmtv player will load playlist from pastebin location.
How to build m3u playlist and video links format (rtmp,http,hls)
version 2.0.10.33 RC5
Added support for ACE Streams
From version 2.0.10.33 RC5 we support option for playing ace and torrent streams with ACEStream Engine.
Added support for electronic program guide EPG
– open EPG in XMLTV Format
– handle epg:// scheme and open XMTV Player EPG screen, sample epg://http://xmtvplayer.com/epg/epg_it.xml
Added support for channel logos
From version 2.0.10.23 we support option for adding stream logo in .m3u file:
When used this option will add logo image in the streams list:
– in list view logo appears on the left side, before the stream name
– grid view logo appears on top of the stream name
For now from the upper example only tvg-logo option is supported, but we are working on implementing of all necessary options for EPG support.
Added support for hosted video
From version 2.0.9.7 we added support for hosted video. Just put the links in your M3U in following format: #EXTINF:0,Channel Name Herehttphost://$http-raw=<iframe-source-URL-here>$http-refferer=<base-web-page-URL-here> where <iframe-source-URL-here> and <base-web-page-URL-here> are without triangle brackets.
Added support for additional stream sources
From version 2.0.9.7 we added support for streams from Vimeo, Dailymotion and NowVideo. You can include links from them in your M3U list as follows: – Vimeo: #EXTINF:0,Channel Name Here https://vimeo.com/VideoID – Dailymotion: #EXTINF:0,Channel Name Here http://www.dailymotion.com/video/VideoID – NowVideo: #EXTINF:0,Channel Name Here http://www.nowvideo.co/video/VideoID
Added custom option in .m3u play list
After version 2.0.6 on XMTV Player we added channel thumbnail and group options in EXTINF, here is example of use when you create your play list: #EXTINF:0,Channel Name #IMG:url or local file to tumbnail #GRP:name of channel group #IMG parameter thumbnail is must be url or local file to image with max resolution of 72×72 px. Example: #EXTINF:-1,TRT 1 Azeri server nassat #IMG:http://tapthefrog.com/presskit/icons/TTF-icon-72×72.png #GRP:TURK #EXTINF:-1,TRT 1 Canlitv server nassat #IMG:file:///storage/emulated/0/video/eusport.png What is .m3u file
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.
DescriptionExample
File header. Must be the first line of the file.#EXTM3U
Track information, including runtime and title.
Directive | |
---|---|
#EXTM3U | #EXTINF |
Sample m3u file, create test.m3u and add content below:
Test and convert M3U List
You can use online utility for SimpleTV to test and convert playlist for XMTV Player http://plstonline.org/
Saving and uploading
Save your file with .m3u extension and copy it to your phone storage, open file from some file browser or open XMTV Player and navigate to your folder where you put m3u file. How to find streams There is a many communities which share live streams just google them for following keywords extinf iptv , you can test stream URL with VLC or SimpleTV on PC to be sure that they are working.
Channels List in M3U format including Borpas IP-TV Player parameters
Channels List in M3U format including Borpas IP-TV Player parameters
Channels List in M3U format by one string
.m3u file syntax
HTTP Live Streaming
Simple HTTP URLs
HTTP URLs with options different variants to pass them.
where the URL and parameters are separated by space, or
where $OPT comes after the URL and only parameters are separated by space
User-Agent
Changing user agent on http connections
user-agent=someuseragent
X-Forwarded-For
The X-Forwarded-For (XFF) HTTP header field is a de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer.
Referer
The HTTP referer is an HTTP header field that identifies the address of the webpage (i.e. the URI or IRI) that linked to the resource being requested. By checking the referrer, the server can see where the request originated.
MMS/RTSP Live Streaming
[rtsp][mms]://url to media content
RTMP
rtmp://url – url path to RTMP Media Server
Complex RTMP
rtmp-rtmp://$OPT: options
rtmp://$OPT:rtmp-raw=rtmp://xxx.xxx.xxx.xxx/app playpath=ef18hollywood swfUrl=http://www.xxxxxx.tv/resources/scripts/eplayer.swf live=1 pageUrl=http://www.xxxxxxxx.tv/ conn=S:OK live=1 token=SomeToken
pageUrl
url – URL of the web page in which the media was embedded. By default no value will be sent.
swfVfy
URL of the SWF player for this media. This option replaces all three of the swfUrl, swfhash, and swfsize options. When this option is used, the SWF player is retrieved from the specified URL and the hash and size are computed automatically. Also the information is cached in a .swfinfo file in the user’s home directory, so that it doesn’t need to be retrieved and recalculated every time rtmpdump is run. The .swfinfo file records the URL, the time it was fetched, the modification timestamp of the SWF file, its size, and its hash. By default, the cached info will be used for 30 days before re-checking.
swfUrl
URL of the SWF player for the media. By default no value will be sent.
tcUrl
url – URL of the target stream. Defaults to rtmp[e]://host[:port]/app/playpath.
playpath
M3u File Creator
playpath – Overrides the playpath parsed from the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the correct playpath automatically, so it must be given explicitly using this option.
live
(live=1,live=0)Specify that the media is a live stream. No resuming or seeking in live streams is possible.
app
app – Name of application to connect to on the RTMP server. Overrides the app in the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the app name automatically, so it must be given explicitly using this option.
conn
type:data – Append arbitrary AMF data to the Connect message. The type must be B for Boolean, N for number, S for string, O for object, or Z for null. For Booleans the data must be either 0 or 1 for FALSE or TRUE, respectively. Likewise for Objects the data must be 0 or 1 to end or begin an object, respectively. Data items in subobjects may be named, by prefixing the type with ‘N’ and specifying the name before the value, e.g. NB:myFlag:1. This option may be used multiple times to construct arbitrary AMF sequences. E.g. Multiple conn params are allowed.
flashVer
version – Version of the Flash plugin used to run the SWF player. The default is “LNX 10,0,32,18″.
token
- Key for SecureToken response, used if the server requires SecureToken authentication.
weeb
- weeb used by legacy weeb.tv servers. Invokes Authenticate method with token, username and password
M3u Playlist Generator
buffer
num – Set buffer time to num milliseconds. The default is 36000000.