Difference between revisions of "User Manual:Setting up HTTP Live Streaming Recorder"

From MythTV Official Wiki
Jump to: navigation, search
(Expand the text a little)
(17 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
With 0.26, a new feature was added allowing you to record various HTTP Live Streams (HLS).
 
With 0.26, a new feature was added allowing you to record various HTTP Live Streams (HLS).
  
It works in a similar fashion as the IPTV recorder, using a single playlist containing a list of HLS stream.
+
It works in a similar fashion as the [[User_Manual:Setting_up_IPTV_(Internet_Protocol_Television)|IPTV recorder]], using a single playlist containing a list of HLS streams.
  
 
==HLS Recorder Playlist==
 
==HLS Recorder Playlist==
Line 14: Line 14:
 
     #EXTMYTHTV:xmltvid=hls.nasatv
 
     #EXTMYTHTV:xmltvid=hls.nasatv
 
     http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
 
     http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
 +
    # If the above does not work, try this
 +
    #http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8
  
 
The link provided must be to a [http://tools.ietf.org/html/draft-pantos-http-live-streaming-07 HTTP Live Streaming] playlist.
 
The link provided must be to a [http://tools.ietf.org/html/draft-pantos-http-live-streaming-07 HTTP Live Streaming] playlist.
  
Such playlist can be found there: http://www.avenard.org/files/media/playlist-hls.m3u
+
Such a playlist can be found there: http://www.avenard.org/files/media/playlist-hls.m3u
 +
 
 +
 
  
 
=Setting up the HTTP Live Streaming Recorder=
 
=Setting up the HTTP Live Streaming Recorder=
Line 23: Line 27:
 
Start [[mythtv-setup]]
 
Start [[mythtv-setup]]
  
[[File:hls1.png]]
+
And go into "Capture Card" and select "New Capture Card"
 +
 
 +
[[File:hls1.png|550px]]
  
And go into "Capture Card" and select "New Capture Card"<br/>
 
 
As card type, select "Network Recorder"
 
As card type, select "Network Recorder"
  
In "M3U URL" enter the link to the M3U playlist as described above, you can use http://www.avenard.org/files/media/playlist-hls.m3u
+
In "M3U URL" enter the link to the M3U playlist as described above, you can use http://www.avenard.org/files/media/playlist-hls.m3u.
  
[[File:hls2.png]]
+
As tuning can take quite a few seconds, set the timeout value to 60000ms (60s)
 +
 
 +
[[File:hls2.png|550px]]
  
 
In the main menu, go into "Video Sources"<br/>
 
In the main menu, go into "Video Sources"<br/>
Line 40: Line 47:
 
Click on "Finish"
 
Click on "Finish"
  
[[File:hls3.png]]
+
[[File:hls3.png|550px]]
  
 
In the main menu, go to "Input connections"<br/>
 
In the main menu, go to "Input connections"<br/>
 
And select the FREEBOX recorder you've just entered above.
 
And select the FREEBOX recorder you've just entered above.
  
[[File:hls4.png]]
+
[[File:hls4.png|550px]]
 +
 
 +
In "Video source", select the video source you entered earlier, in our example "HLS"
  
In "Video source", select the video source you entered earlier, in our example "HLS"<br/>
 
 
Click on "Scan for channels"
 
Click on "Scan for channels"
  
[[File:hls5.png]]
+
[[File:hls5.png|550px]]
  
 
Click on Next, and Finish. No channels will appear, but that's normal.
 
Click on Next, and Finish. No channels will appear, but that's normal.
  
[[File:hls6.png]]
+
[[File:hls6.png|550px]]
  
 
If you now go into the "Channel Editor" you will see the list of channels.
 
If you now go into the "Channel Editor" you will see the list of channels.
  
You can now exit [[mythtv-setup]], and run [[mythbackend]] and [[mythfrontend]]<br/>
+
You can now exit [[mythtv-setup]], and run [[mythbackend]] and [[mythfrontend]]
 +
 
 
Going into Live TV will allow you to select one of the newly added channels.
 
Going into Live TV will allow you to select one of the newly added channels.
 +
 +
= Available HLS Channels =
  
 
If using the http://www.avenard.org/files/media/playlist-hls.m3u playlist, the following channels are available:
 
If using the http://www.avenard.org/files/media/playlist-hls.m3u playlist, the following channels are available:
Line 65: Line 76:
 
* 300 - NASA TV
 
* 300 - NASA TV
 
* 301 - Al Jazeera
 
* 301 - Al Jazeera
* 302 - France 24 (French)
+
* 302 - France 24 (French)   * unavailable *
 
* 303 - Direct Star
 
* 303 - Direct Star
 
* 304 - BBC News
 
* 304 - BBC News
Line 71: Line 82:
 
* 306 - Eurosport UK
 
* 306 - Eurosport UK
 
* 307 - Bloomberg
 
* 307 - Bloomberg
* 308 - Fashion TV
+
* 308 - Fashion TV                     * unavailable *
 
* 309 - DEEJAY TV (Italian)
 
* 309 - DEEJAY TV (Italian)
* 310 - Rai News (Italian)
+
* 310 - Rai News (Italian)             * unavailable *
* 311 - Sky TG24 (Italian)
+
* 311 - Sky TG24 (Italian)             * unavailable *
* 312 - Al Jazeera Mubasher (Arabic)
+
* 312 - Al Jazeera Mubasher (Arabic)  
 
* 313 - Al Jazeera Arabic (Arabic)
 
* 313 - Al Jazeera Arabic (Arabic)
* 314 - Al Jazeera Sport (Arabic)
+
* 314 - Al Jamuba (Arabic)
 +
* 315 - TWIT TV (English)
 +
* 316 - ABC News 24 (English)
 +
* 317 - Channel NewsAsia (English)
 +
* 318 - DW Europe (English)
 +
* 317 - Channel NewsAsia (English)
 +
* 318 - DW Europe (English)
 +
* 319 - DW Asia (English)
 +
* 320 - DW LatinoAmerica (German)
 +
* 321 - ENCA (English)
 +
* 322 - EuroNews (English)
 +
* 323 - EuroNews (French)
 +
* 324 - EuroNews (German)
 +
* 325 - EuroNews (Italian)
 +
* 326 - EuroNews (Portuguese)
 +
* 327 - EuroNews (Russian)
 +
* 328 - EuroNews (Spanish)
 +
* 329 - EuroNews (Turkish)
 +
* 330 - EuroNews (Arabic)
 +
* 331 - PRESSTV (English)
 +
* 332 - REUTERS (English)
 +
* 333 - RT (English)
 +
* 334 - RT (Spanish)
 +
* 335 - RT (Arabic)
 +
* 336 - Intelligence2 (English)
 +
* 337 - UNHCR (English)
 +
* 338 - Almayadeen (Arabic)
 +
* 339 - CNBC Arabia (Arabic)
 +
* 340 - Democratic Voice of Burma (Burmese)
 +
* 341 - ABC Australian (English)
 +
* 342 - ORF 2 Europe (German)
 +
 
 +
Another source of playlist entries: http://www.iptvlinks.com/
 +
 
 +
=What about Guide data?=
 +
 
 +
If you want to set up recordings ahead of time, you need some source of guide data.
 +
Like any other recorder in mythtv, you need to provide a XMLTV feed and set the xmltv id for each channel.
 +
 
 +
In the playlist file you extend the entries by adding an xmltvid field, which will be matched to an xmltvid in the feed. To continue the example from above with a made-up xmltvid:
 +
 
 +
    #EXTM3U
 +
    #EXTINF:0,300 - NASA TV
 +
    #EXTMYTHTV:xmltvid=hls.nasatv
 +
    http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
 +
    #EXTMYTHTV:xmltvid=hls.nasatv
 +
 
 +
The guide data goes into the XMLTV feed, but collating it is a signficant effort. You'll probably be screen scraping and will have to deal with low-quality episode descriptions, along with lots of repeats (not flagged as such). An (umaintained) attempt to do this can be found at http://www.avenard.org/iptv/TPG_and_IPTV/EPG.html.
 +
 
 +
[[Category:Capture Devices]]

Revision as of 04:41, 6 February 2016

HTTP Live Streaming Recorder

With 0.26, a new feature was added allowing you to record various HTTP Live Streams (HLS).

It works in a similar fashion as the IPTV recorder, using a single playlist containing a list of HLS streams.

HLS Recorder Playlist

The playlist is an extension of a standard M3U playlist:

   #EXTM3U
   #EXTINF:0,300 - NASA TV
   #EXTMYTHTV:xmltvid=hls.nasatv
   http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
   # If the above does not work, try this
   #http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8

The link provided must be to a HTTP Live Streaming playlist.

Such a playlist can be found there: http://www.avenard.org/files/media/playlist-hls.m3u


Setting up the HTTP Live Streaming Recorder

Start mythtv-setup

And go into "Capture Card" and select "New Capture Card"

Hls1.png

As card type, select "Network Recorder"

In "M3U URL" enter the link to the M3U playlist as described above, you can use http://www.avenard.org/files/media/playlist-hls.m3u.

As tuning can take quite a few seconds, set the timeout value to 60000ms (60s)

Hls2.png

In the main menu, go into "Video Sources"
Select "New video source"

In "Video source name", enter HLS (or whatever you wish).
In Listing grabber: "No grabber"

Click on "Finish"

Hls3.png

In the main menu, go to "Input connections"
And select the FREEBOX recorder you've just entered above.

Hls4.png

In "Video source", select the video source you entered earlier, in our example "HLS"

Click on "Scan for channels"

Hls5.png

Click on Next, and Finish. No channels will appear, but that's normal.

Hls6.png

If you now go into the "Channel Editor" you will see the list of channels.

You can now exit mythtv-setup, and run mythbackend and mythfrontend

Going into Live TV will allow you to select one of the newly added channels.

Available HLS Channels

If using the http://www.avenard.org/files/media/playlist-hls.m3u playlist, the following channels are available:

  • 300 - NASA TV
  • 301 - Al Jazeera
  • 302 - France 24 (French) * unavailable *
  • 303 - Direct Star
  • 304 - BBC News
  • 305 - Redbull.tv
  • 306 - Eurosport UK
  • 307 - Bloomberg
  • 308 - Fashion TV * unavailable *
  • 309 - DEEJAY TV (Italian)
  • 310 - Rai News (Italian) * unavailable *
  • 311 - Sky TG24 (Italian) * unavailable *
  • 312 - Al Jazeera Mubasher (Arabic)
  • 313 - Al Jazeera Arabic (Arabic)
  • 314 - Al Jamuba (Arabic)
  • 315 - TWIT TV (English)
  • 316 - ABC News 24 (English)
  • 317 - Channel NewsAsia (English)
  • 318 - DW Europe (English)
  • 317 - Channel NewsAsia (English)
  • 318 - DW Europe (English)
  • 319 - DW Asia (English)
  • 320 - DW LatinoAmerica (German)
  • 321 - ENCA (English)
  • 322 - EuroNews (English)
  • 323 - EuroNews (French)
  • 324 - EuroNews (German)
  • 325 - EuroNews (Italian)
  • 326 - EuroNews (Portuguese)
  • 327 - EuroNews (Russian)
  • 328 - EuroNews (Spanish)
  • 329 - EuroNews (Turkish)
  • 330 - EuroNews (Arabic)
  • 331 - PRESSTV (English)
  • 332 - REUTERS (English)
  • 333 - RT (English)
  • 334 - RT (Spanish)
  • 335 - RT (Arabic)
  • 336 - Intelligence2 (English)
  • 337 - UNHCR (English)
  • 338 - Almayadeen (Arabic)
  • 339 - CNBC Arabia (Arabic)
  • 340 - Democratic Voice of Burma (Burmese)
  • 341 - ABC Australian (English)
  • 342 - ORF 2 Europe (German)

Another source of playlist entries: http://www.iptvlinks.com/

What about Guide data?

If you want to set up recordings ahead of time, you need some source of guide data. Like any other recorder in mythtv, you need to provide a XMLTV feed and set the xmltv id for each channel.

In the playlist file you extend the entries by adding an xmltvid field, which will be matched to an xmltvid in the feed. To continue the example from above with a made-up xmltvid:

   #EXTM3U
   #EXTINF:0,300 - NASA TV
   #EXTMYTHTV:xmltvid=hls.nasatv
   http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
   #EXTMYTHTV:xmltvid=hls.nasatv

The guide data goes into the XMLTV feed, but collating it is a signficant effort. You'll probably be screen scraping and will have to deal with low-quality episode descriptions, along with lots of repeats (not flagged as such). An (umaintained) attempt to do this can be found at http://www.avenard.org/iptv/TPG_and_IPTV/EPG.html.