[mythtv-users] DVB to IPTV

Josu Lazkano josu.lazkano at gmail.com
Wed May 25 09:26:16 UTC 2016


Thanks Stephen,

I will try it.

I will update https://www.mythtv.org/wiki/IPTV when I have a working
it with my ISP channels.

Regards.

2016-05-25 10:39 GMT+02:00 Stephen Worthington <stephen_agent at jsw.gen.nz>:
> On Wed, 25 May 2016 02:52:35 +1200, you wrote:
>
>>On Tue, 24 May 2016 15:23:37 +0200, you wrote:
>>
>>>Thanks Stephen,
>>>
>>>I want to convert DVB to IPTV because I need to feed 2 backend. I know
>>>that mumudvb use multicast, I want to emulate my ISP IPTV. I have IGMP
>>>snooping switches, so it is OK.
>>>
>>>My ISP use this kind of PLS:
>>>
>>>#EXTM3U name="IPTV"
>>>#EXTINF:-1 type=mpeg dlna_extras=mpeg_ps_pal
>>>logo=http://www.movistar.es/estaticos/imagenes/tv-ocio/imagenes/logos-tv/140x114/promocional.jpg,
>>>[000] Movistar+
>>>rtp://@239.0.0.77:8208
>>>#EXTINF:-1 type=mpeg dlna_extras=mpeg_ps_pal
>>>logo=http://www.movistar.es/estaticos/imagenes/tv-ocio/imagenes/logos-tv/140x114/tve1.jpg,
>>>[001] TVE 1
>>>rtp://@239.0.0.76:8208
>>>#EXTINF:-1 type=mpeg dlna_extras=mpeg_ps_pal
>>>logo=http://www.movistar.es/estaticos/imagenes/tv-ocio/imagenes/logos-tv/140x114/tve1.jpg,
>>>[001] TVE 1 HD
>>>rtp://@239.0.0.185:8208
>>>#EXTINF:-1 type=mpeg dlna_extras=mpeg_ps_pal
>>>logo=http://www.movistar.es/estaticos/imagenes/tv-ocio/imagenes/logos-tv/140x114/tve2.jpg,
>>>[002] TVE 2
>>>rtp://@239.0.0.2:8208
>>>
>>>Will mythbackend handle this streams?
>>
>>The rtp://@239.0.0.x:8208 URLs look like IGMP multicast to me, but as
>>I said, I have yet to try recording IGMP multicast with MythTV, so I
>>do not know for sure.  It should be easy to just add the ISP IPTV
>>tuners to your existing setup and see if it works.  Without any EPG on
>>the IPTV channels, MythTV should not try to record from them
>>automatically using your existing recording rules, so just trying it
>>out should not cause any harm in your existing setup.
>
> I have now got my test setup working with mumudvb streaming from one
> DVB-T tuner.  I encountered a few problems.
>
> First, you may want to get mumudvb to produce RTP streams, as it
> defaults to raw UDP streams.  Add this option to its config file:
>
> rtp_header=1
>
> MythTV seems to be able to handle raw UDP streams, but as your ISP is
> sending RTP, you may want that option.
>
> To get mumudvb to produce a playlist file, add these (adjusted for
> your preferences):
>
> unicast=1
> ip_http=0.0.0.0
> ip_port=4000
>
> That will produce a web page at http://localhost:4000 with various
> options on it.  The playlist you want is:
>
> http://localhost:4000/playlist_multicast.m3u
>
> The http://localhost:4000/playlist_multicast_vlc.m3u file has an @
> character after the rtp://, which is what VLC wants, but MythTV does
> not.  The playlist file from your ISP has the same problem, so you
> will need to download and edit the file, then make it available to
> MythTV somehow.  The playlist file produced by mumudvb also has a
> problem and will need the same.  I just downloaded the file and put my
> edited copy in /var/www/html, so that it is available on the URL:
>
> http://localhost/playlist_multicast_mythtv.m3u
>
> and mythtv-setup was able to read it from there.
>
> Here is the original mumudvb playlist_multicast.m3u file:
>
> #EXTM3U
> #EXTINF:0,TV3
> rtp://239.100.0.0:1234
> #EXTINF:0,FOUR
> rtp://239.100.0.1:1234
> #EXTINF:0,TV3 PLUS1
> rtp://239.100.0.2:1234
> #EXTINF:0,FOUR Plus 1
> rtp://239.100.0.3:1234
> #EXTINF:0,The Edge TV
> rtp://239.100.0.4:1234
>
> and here is my MythTV compatible version:
>
> #EXTM3U
> #EXTINF:0,203 - TV3
> rtp://239.100.0.0:1234
> #EXTINF:0,204 - FOUR
> rtp://239.100.0.1:1234
> #EXTINF:0,208 - TV3 PLUS1
> rtp://239.100.0.2:1234
> #EXTINF:0,209 - FOUR Plus 1
> rtp://239.100.0.3:1234
> #EXTINF:0,211 - The Edge TV
> rtp://239.100.0.4:1234
>
> As you can see, I have changed each #EXTINF line to add ,<channel
> number> and a space and a hyphen character and another space before
> the channel name.  It is apparently also possible to add the xmltvid
> data by adding lines like this:
>
> #EXTMYTHTV:xmltvid=tv3.freeviewnz.tv
>
> after each #EXTINF line.  I have not tried that yet.
>
> I think that if I have to use the playlists very often for updating
> the channels, I will want to write a script that automates the editing
> to add the extra MythTV data.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



-- 
Josu Lazkano


More information about the mythtv-users mailing list