Kodi Community Forum
Streaming m3u8 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Streaming m3u8 (/showthread.php?tid=169274)

Pages: 1 2


Streaming m3u8 - ledo1611 - 2013-07-17

Hello,

I'm very new to the whole XCMC platform and still learning a lot about it. I have the Frodo 12.2 installed on a Windows 7 PC.

I had a link to an m3u8 file which should contain some streaming live TV (mostly international channels). I downloaded the m3u8 file but can't figure out how to play it in XBMC. I did a google search and also searched this forum but couldn't find an answer. according to the download instuctions I need to make some changes in the file also before I can watch any channels. so I need guidance to navigate through editing and playing this format in the XBMC. Smile

Thank you!


RE: Streaming m3u8 - artrafael - 2013-07-17

Welcome to the XBMC forums.

See here: http://wiki.xbmc.org/index.php?title=Internet_video_and_audio_streams


RE: Streaming m3u8 - ledo1611 - 2013-07-17

Thanks for the link. I tried to follow the process but it did not work out.

Here is the link I have for the m3u8 file: http://37.46.199.34:1935/hls/mux-udp-001/playlist.m3u8

when I download the file and open it this is all I get in the text editor:

#EXTM3U#EXT-X-VERSION:3#EXT-X-STREAM-INFTongueROGRAM-ID=1,BANDWIDTH=609376,CODECS="avc1.66.30,
mp4a.40.2",RESOLUTION=768x576chunklist_w1752203962.m3u8

any idea how to get this to stream in XBMC?


RE: Streaming m3u8 - negge - 2013-07-17

Just create a file called e.g. livetv.strm and paste that link into it, then open the file in XBMC. If you want to spend a few days tearing your hair out but in the end get a "just like real TV" experience, look at the IPTV PVR addon.

By the way, that m3u8 file only contains a single channel.


RE: Streaming m3u8 - nickr - 2013-07-17

The chunklist_w1752203962.m3u8 has a list of the .ts streams, ie http://37.46.199.34:1935/hls/mux-udp-001/chunklist_w181718033.m3u8

That contains:
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:12265
#EXT-X-KEY:METHOD=AES-128,URI="http://lic.lbcdn.com/getkey.aspx"
#EXTINF:10.0,
media_w181718033_12265.ts
#EXTINF:10.0,
media_w181718033_12266.ts
#EXTINF:10.0,
media_w181718033_12267.ts
#EXTINF:10.0,
media_w181718033_12268.ts
#EXTINF:10.0,
media_w181718033_12269.ts
#EXTINF:10.0,
media_w181718033_12270.ts
presumably that is a list of playable chunks?

The chunklist_w1752203962.m3u8 has a list of the .ts streams, ie http://37.46.199.34:1935/hls/mux-udp-001/chunklist_w181718033.m3u8

That contains:
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:12265
#EXT-X-KEY:METHOD=AES-128,URI="http://lic.lbcdn.com/getkey.aspx"
#EXTINF:10.0,
media_w181718033_12265.ts
#EXTINF:10.0,
media_w181718033_12266.ts
#EXTINF:10.0,
media_w181718033_12267.ts
#EXTINF:10.0,
media_w181718033_12268.ts
#EXTINF:10.0,
media_w181718033_12269.ts
#EXTINF:10.0,
media_w181718033_12270.ts
presumably that is a list of playable chunks?


RE: Streaming m3u8 - negge - 2013-07-18

I don't know the specifics of this particular file, but usually with M3U8 files the different streams are just different versions of the main stream in varying quality (so the client can adapt to sudden changes in bandwidth).


RE: Streaming m3u8 - ledo1611 - 2013-07-20

Thank you guys. I appreciate your help!


RE: Streaming m3u8 - ledo1611 - 2013-07-26

I have one more question. I have one text file with a bunch of live TV channel streaming information that looks like this:

http://37.46.199.34/hls/mux-udp-024/koolz.m3u8 almasrya
http://37.46.199.34/hls/mux-udp-500/koolz.m3u8 altanya
http://37.46.199.34/hls/mux-udp-531/koolz.m3u8 masrawiya
http://37.46.199.34/hls/mux-udp-546/koolz.m3u8 moga
http://37.46.199.34/hls/mux-udp-536/koolz.m3u8 metro
http://37.46.199.34/hls/mux-udp-528/koolz.m3u8 cairo cinema
http://37.46.199.34/hls/mux-udp-534/koolz.m3u8 go tv
http://37.46.199.34/hls/mux-udp-521/koolz.m3u8 cinema
http://37.46.199.34/hls/mux-udp-532/koolz.m3u8 masrmbc
http://37.46.199.34/hls/mux-udp-553/koolz.m3u8 ryada
http://37.46.199.34/hls/mux-udp-600/koolz.m3u8 alnahar
http://37.46.199.34/hls/mux-udp-554/koolz.m3u8 alhayat
http://37.46.199.34/hls/mux-udp-587/koolz.m3u8 alnahar 2
http://37.46.199.34/hls/mux-udp-527/koolz.m3u8 more media
http://37.46.199.34/hls/mux-udp-525/koolz.m3u8 star1
http://37.46.199.34/hls/mux-udp-526/koolz.m3u8 star2
http://37.46.199.34/hls/mux-udp-580/koolz.m3u8 Alqahira Walnass+2
http://37.46.199.34/hls/mux-udp-443/koolz.m3u8 aflam
http://37.46.199.34/hls/mux-udp-444/koolz.m3u8 cinema
http://37.46.199.34/hls/mux-udp-403/koolz.m3u8 Touk Touk TV
http://37.46.199.34/hls/mux-udp-833/koolz.m3u8 masria darma 2
http://37.46.199.34/hls/mux-udp-505/koolz.m3u8 cbc
http://37.46.199.34/hls/mux-udp-506/koolz.m3u8 cbc 2
http://37.46.199.34/hls/mux-udp-504/koolz.m3u8 cbc drama
http://37.46.199.34/hls/mux-udp-501/koolz.m3u8 cbc sofra
http://37.46.199.34/hls/mux-udp-402/koolz.m3u8 AUC TV
http://37.46.199.34/hls/mux-udp-241/koolz.m3u8 Al Hayat
http://37.46.199.34/hls/mux-udp-246/koolz.m3u8 Dream 1
http://37.46.199.34/hls/mux-udp-300/koolz.m3u8 Oscar Drama
http://37.46.199.34/hls/mux-udp-301/koolz.m3u8 Al Hayat Cinema
http://37.46.199.34/hls/mux-udp-303/koolz.m3u8 Al Hayat Series
Http://37.46.199.34/hls/mux-udp-313/koolz.m3u8 Cairo Drama
http://37.46.199.34/hls/mux-udp-321/koolz.m3u8 Funoon
http://37.46.199.34/hls/mux-udp-322/koolz.m3u8 Rotana Masrya
http://37.46.199.34/hls/mux-udp-319/koolz.m3u8 Nile Tv
http://37.46.199.34/hls/mux-udp-329/koolz.m3u8 Nile Comedy
http://37.46.199.34/hls/mux-udp-330/koolz.m3u8 Nile Life
http://37.46.199.34/hls/mux-udp-331/koolz.m3u8 Nile Dram
http://37.46.199.34/hls/mux-udp-332/koolz.m3u8 Nile Sports
http://37.46.199.34/hls/mux-udp-334/koolz.m3u8 Nile Cinema
http://37.46.199.34/hls/mux-udp-335/koolz.m3u8 Dream 2
http://37.46.199.34/hls/mux-udp-336/koolz.m3u8 CRT Drama
http://37.46.199.34/hls/mux-udp-337/koolz.m3u8 Panorama Drama
http://37.46.199.34/hls/mux-udp-338/koolz.m3u8 Panorama Drama 2
http://37.46.199.34/hls/mux-udp-368/koolz.m3u8 Masaya.
http://37.46.199.34/hls/mux-udp-372/koolz.m3u8 Top Movies
http://37.46.199.34/hls/mux-udp-354/koolz.m3u8 Time Cinema
http://37.46.199.34/hls/mux-udp-228/koolz.m3u8 ON TV
http://37.46.199.34/hls/mux-udp-339/koolz.m3u8 Cima
http://37.46.199.34/hls/mux-udp-328/koolz.m3u8 Al Nile
http://37.46.199.34/hls/mux-udp-507/koolz.m3u8 Mehwar 2
http://37.46.199.34/hls/mux-udp-503/koolz.m3u8 Al Nahar Drama
http://37.46.199.34/hls/mux-udp-071/koolz.m3u8 JSC Mubasher Masr
http://37.46.199.34/hls/mux-udp-343/koolz.m3u8 Top News

I tried to research how to add these to my XBMC 12.2 for Windows which I am running on the home PC but was not successful in getting these to work. I created strm files both as a single file and as individual files (one for each of these channel URLs) and tried adding them in the "Video" file section in my XBMC, but it doesn't look like I'm doing this the right away. Is there a way to add these channels to my existing streaming add-ons or elsewhere?

I appreciate the help guys! Smile


RE: Streaming m3u8 - negge - 2013-07-28

Google for "IPTVSimple PVR addon", there's a long thread about it in the forums. It's exactly what you want.


RE: Streaming m3u8 - ledo1611 - 2013-07-29

Thank you! will take a look at that and see how it goes.


RE: Streaming m3u8 - droidme - 2015-07-24

Hi,

I know this is an old thread but I'm struggling to playback an m3u8 stream.
The stream URL is

https://svs.itworkscdn.net/lbcgrouplive/smil:lbclive.smil/chunklist_w1087303572_b360000_tkaGFiYXpsYW1lbmR0aW1lPTE0Mzc3NTQ1OTUmaGFiYXpsYW13b3d6YXN0YXJ0dGltZT0wJmhhYmF6bGFtd293emFzdGN1c3RvbT0xNDM3NzExMzk5JmhhYmF6bGFtaGFzaD1zWkhGc2o2OFJWbzB6ZTJkSDNvWlFRakg2dkFsamtqeXhBNUx4TE5vWVFnPQ==.m3u8

I copied and pasted this into an .strm file and tried opening from kodi via "Videos--> FIles" without any luck.

I then attempted to use the IPTVSimple PVR addon. I copied an pasted the m3u8 link above into a file and configured IPTV Simple PVR addon to the file containing the line...still no luck.

When I download the .m3u8 file and open it, it contains the following :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:702
#EXTINF:9.68,
media_w613427533_b360000_tkaGFiYXpsYW1lbmR0aW1lPTE0Mzc3NTY3MTcmaGFiYXpsYW13b3d6YXN0YXJ0dGltZT0wJmhhYmF6bGFtd293emFzdGN1c3RvbT0xNDM3NzEzNTIxJmhhYmF6bGFtaGFzaD05RHhsREsxTTZJaGZFTV9sa0xRckwtOXA3aGJIS2FOa0NzdUdYQ3BOYVpvPQ==_702.ts
#EXTINF:10.48,
media_w613427533_b360000_tkaGFiYXpsYW1lbmR0aW1lPTE0Mzc3NTY3MTcmaGFiYXpsYW13b3d6YXN0YXJ0dGltZT0wJmhhYmF6bGFtd293emFzdGN1c3RvbT0xNDM3NzEzNTIxJmhhYmF6bGFtaGFzaD05RHhsREsxTTZJaGZFTV9sa0xRckwtOXA3aGJIS2FOa0NzdUdYQ3BOYVpvPQ==_703.ts
#EXTINF:9.72,
media_w613427533_b360000_tkaGFiYXpsYW1lbmR0aW1lPTE0Mzc3NTY3MTcmaGFiYXpsYW13b3d6YXN0YXJ0dGltZT0wJmhhYmF6bGFtd293emFzdGN1c3RvbT0xNDM3NzEzNTIxJmhhYmF6bGFtaGFzaD05RHhsREsxTTZJaGZFTV9sa0xRckwtOXA3aGJIS2FOa0NzdUdYQ3BOYVpvPQ==_704.ts

Appreciate any input anyone may have.


RE: Streaming m3u8 - negge - 2015-07-24

Does it play in VLC?


RE: Streaming m3u8 - droidme - 2015-07-26

Nope. Doesn't want to playback in VLC, 2.2.1 (windows 7).


RE: Streaming m3u8 - negge - 2015-07-26

Then the stream is probably fucked up, nothing we can do about that really.


RE: Streaming m3u8 - token stranger - 2015-09-15

Hi Smile

Jumping in late.

I have several live streaming files - normal http protocols ending with .m3u8 files - some of them, by the naming nature of the urls' indicates a likelihood of coming from the same server.

I am on a Mac. All the files play perfectly in QuickTime. When I test them in Safari and Firefox, there are 2 outcomes. Most return "You do not have the permissions to access these files". The rest gets downloaded as a playlist.m3u8. The files registering "no permissions" also cannot be played in VLC. The downloadable ones can be played in VLC.

I put them through IPTV Simple Client and the ones without "permissions" won't play.

Just looking for some form of understanding.

Thanks