Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

IPTV UDP/Multicast problem.

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


jyavenard at gmail

Feb 2, 2008, 7:52 AM

Post #1 of 3 (12693 views)
Permalink
IPTV UDP/Multicast problem.

Hello

My ISP now provides UDP/Multicast streams that you can watch using VLC.

In VLC to watch one of those stream, you use the URL:
udp://@ip_address:1234.

First I tried something similar to what is describe here with mythtv
0.20.2 (latest version in branch)
http://trac.mugofgrog.com/docs/transmyth/transmyth.html

e.g. I created a new capture card of the type "CRC IP Network
Recorder" using the URL udp://ip_address:1234?multicast
then I created a new video source, added a new channel.

However, when trying to view such channel, mythfrontend would just
hang for about 30s then seg fault.

I tried with mythtv 0.21 trunk 15447 (from ATRPMs on a CentOS 5 machine).
the "CRC IP Network Recorder" capture card type has been replaced with
a "Network Recorder" which now takes a URL to a M3U playlist.

I put the URL there:
http://avenard.org/mythtv/playlist-tpg.m3u

I first tried to use the same playlist I had created for VLC which looks like:
#EXTM3U
#EXTINF:0,1 - Al Jazeera (English)
udp://@233.29.121.2:1234
#EXTINF:0,2 - Bloomberg (English)
udp://@233.29.121.3:1234

However, when scanning for the channels in the Input menu in
mythtv-setup it gives me an error about a wrong M3U format.

I changed that playlist to be like:
#EXTM3U
#EXTINF:0,1 - Al Jazeera (English)
udp://233.29.121.2:1234?multicast
#EXTINF:0,2 - Bloomberg (English)
udp://233.29.121.3:1234?multicast

Now mythtv-setup will scan the channel properly and all is added automatically.

However, I can never watch those channels, after a few seconds it
shows "No Lock" and "You should have gotten a channel lock by now.
..." or something to that extent.

I'm rather lost now, been trying for several hours without any luck.
Using VLC I can watch those channels just fine.

Can MythTV display UDP/Multicast IPTV stream?
If yes, what did I miss, what URL should I use within my playlist?

Thank you in advance
Jean-Yves
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Feb 2, 2008, 8:11 AM

Post #2 of 3 (12552 views)
Permalink
Re: IPTV UDP/Multicast problem. [In reply to]

Hi

On Feb 3, 2008 2:52 AM, Jean-Yves Avenard <jyavenard [at] gmail> wrote:
[..]
> #EXTM3U
> #EXTINF:0,1 - Al Jazeera (English)
> udp://233.29.121.2:1234?multicast
> #EXTINF:0,2 - Bloomberg (English)
> udp://233.29.121.3:1234?multicast
>
[..]
> Can MythTV display UDP/Multicast IPTV stream?
> If yes, what did I miss, what URL should I use within my playlist?

To add some information, here is an extract of the mythbackend log
when trying one of the IPTV channel:
2008-02-03 02:58:00.185 TVRec(6): Changing from None to WatchingLiveTV
2008-02-03 02:58:00.191 IPTVChan(6), Error: GetChanInfo(1) failed
2008-02-03 02:58:00.192 IPTVChan(6), Error: SetChannelByString(1)
Invalid channel
2008-02-03 02:58:00.199 IPTVChan(6), Error: GetChanInfo(2) failed
2008-02-03 02:58:00.199 IPTVChan(6), Error: SetChannelByString(2)
Invalid channel
2008-02-03 02:58:00.200 ChannelBase(6) Error: Setting start channel '1' failed,
and we failed to find any suitible channels on any input.
2008-02-03 02:58:00.201 TVRec(6): HW Tuner: 6->6
2008-02-03 02:58:00.631 IPTVChan(6): Loaded 30 channels from
http://avenard.org/mythtv/playlist-tpg.m3u
2008-02-03 02:58:01.827 AutoExpire: CalcParams(): Max required Free
Space: 3.0 GB w/freq: 15 min
2008-02-03 02:58:18.609 Expiring 0 MBytes for 3005 @ Sun Feb 3
02:55:15 2008 => Unknown
2008-02-03 02:58:18.611 Expiring 0 MBytes for 1001 @ Sun Feb 3
02:56:21 2008 => Unknown
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Feb 2, 2008, 9:51 AM

Post #3 of 3 (12564 views)
Permalink
Re: IPTV UDP/Multicast problem. [In reply to]

Hi again

I like doing conversation by myself :)

On Feb 3, 2008 2:52 AM, Jean-Yves Avenard <jyavenard [at] gmail> wrote:
> I first tried to use the same playlist I had created for VLC which looks like:
> #EXTM3U
> #EXTINF:0,1 - Al Jazeera (English)
> udp://@233.29.121.2:1234
> #EXTINF:0,2 - Bloomberg (English)
> udp://@233.29.121.3:1234

Okay, the problem definitely came from the @... this is fixed

>
> I changed that playlist to be like:
> #EXTM3U
> #EXTINF:0,1 - Al Jazeera (English)
> udp://233.29.121.2:1234?multicast
> #EXTINF:0,2 - Bloomberg (English)
> udp://233.29.121.3:1234?multicast

I now have removed the ?multicast in each URL, and it now works !
I can watch IPTV in mythtv

However, the video is very choppy and will freeze a lot. This is on a
3.4GHz Pentium 4. VLC has no problem watching the stream on the same
machine. The video is just perfect with VLC :(

I have added the following files for those looking for the same
problem later on:

Playlist to use for "network recorder" with the ISP TPG in Australia
in order to watch their IPTV channels using Myth (need mythtv 0.22)
http://avenard.org/mythtv/playlist-tpg-myth.m3u

I've named the channels from 300 onward, as the standard Free to Air
channel go from 1 to 220.

Playlist for VLC:
http://avenard.org/mythtv/playlist-tpg-vlc.m3u

in linux just type: vlc http://avenard.org/mythtv/playlist-tpg-vlc.m3u

For the Mac users:
I have also put an Intel build of MythFrontend for Intel machine, for
both Leopard and 10.4 (10.4 build hasn't been tested, but works in
Leopard)
http://avenard.org/mythtv/MythFrontend-0.22-Rev15447-Intel.zip
Leopard only build:
http://avenard.org/mythtv/MythFrontend-0.22-Rev15447-Leopard-Intel.zip

All I could find where PowerPC build of mythfrontend 0.22 trunk which
crashes on my Intel Macbook Pro with Leopard.

Now, very keen to hear why Mythtv is so choppy playing those IPTV
streams... It's barely usable.

Jean-Yves
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.