[mythtv-users] Mythtv 0.27 - IPTV

Lincoln lincoln at performaplus.co.nz
Thu Oct 10 10:28:16 UTC 2013


On 9/10/2013 3:08 p.m., Jean-Yves Avenard wrote:
> Does it work with mythavtest?
>
> Like mythavtest -v audio,playback --loglevel=debug udp://blah
>
>

I have tested mythavtest with http, udp, and rtp. Http was the only one 
I could get to work. Details are below:

Streaming from vlc on the local machine:

HTTP:
  - vlc options = 
:sout=#duplicate{dst=http{mux=ts,dst=:1234/},dst=display} :sout-keep
- mythavtest -v audio,playback --loglevel=debug http://127.0.0.1:1234 > 
/tmp/mythavtest_http_log
- playback worked perfectly and it was also able to play an http mpeg_ts 
stream directly from the dreambox.
- mythavtest log: http://pastebin.com/hZJVx4Kn
- Tested http with mythbackend/frontend but could not get playback with 
the http stream:

playlist.m3u:
#EXTM3U
#EXTINF:0,101 - test
http://127.0.0.1:1234

I deleted my dvb card so that the 'freebox card' is the only tuner. Here 
is a mythbackend log while I trying to view the 
channel:http://pastebin.com/y6Epxj79 <http://pastebin.com/y6Epxj79>


UDP:
  - vlc options = 
:sout=#duplicate{dst=std{access=udp{ttl=1},mux=ts,dst=127.0.0.1:1234},dst=display} 
:sout-keep
  - can verify vlc stream playback with vlc udp://@127.0.0.1:1234
  - mythavtest -v audio,playback,socket --loglevel=debug 
udp://127.0.0.1:1234 > /tmp/mythavtest_udp_log
  - player closed immediately and no video was played.
  - log: http://pastebin.com/pf5zH1Nw


RTP:
  - vlc options = 
:sout=#duplicate{dst=rtp{dst=127.0.0.1,port=1234,mux=ts,ttl=1},dst=display} 
:sout-keep
  - can verify vlc stream playback with vlc rtp://127.0.0.1:1234
  - mythavtest -v audio,playback,socket --loglevel=debug 
rtp://127.0.0.1:1234 > /tmp/mythavtest_rtp_log
  - player closed immediately and no video was played.
  - log: http://pastebin.com/r1f29jVE


Both the rtp and udp mythavtest logs show that its not connecting to the 
server:

2013-10-10 08:22:20.856070 I  TV: Attempting to change from None to 
WatchingVideo
2013-10-10 08:22:20.856847 I  FileRingBuf(rtp://127.0.0.1:1234): 
OpenFile(rtp://127.0.0.1:1234, 2000 ms)
2013-10-10 08:22:20.856986 I  MythSocket(9cf740:-1): MythSocket(-1, 0x0) 
ctor
2013-10-10 08:22:20.857496 I  MythSocket(9cf740:-1): IP is local, using 
loopback address instead
2013-10-10 08:22:20.857511 I  MythSocket(9cf740:-1): attempting 
connect() to (127.0.0.1:1234)
2013-10-10 08:22:20.857829 E  MythSocket(9cf740:-1): Failed to connect 
to (127.0.0.1:1234) Connection refused
2013-10-10 08:22:20.858892 E  RemoteFile::openSocket(control socket): 
Could not connect to server 127.0.0.1:1234
2013-10-10 08:22:20.858911 I  MythSocket(9cf740:-1): MythSocket dtor : 
cb 0x0
2013-10-10 08:22:20.859252 E  FileRingBuf(rtp://127.0.0.1:1234): 
RingBuffer::RingBuffer(): Failed to open remote file (rtp://127.0.0.1:1234)


In my setup, http would be ideal, but I can't figure out yet why its 
working with mythavtest but not the backend.
Any help appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131010/dbbcac01/attachment.html>


More information about the mythtv-users mailing list