[clug] How do I set up DLNA with MythTV?

Hal Ashburner hal at ashburner.info
Wed Aug 11 23:43:36 MDT 2010


  Is multicast enabled in kernel configuration?
I did something similar at work a few years back using VLC to multicast 
cricket. Gentoo users all had to recompile but that was ok, they were 
pretty good at it having had much practice.

FWIW my n900 sees my mythtv & mediatomb servers without my having had to 
do anything at all.

On 12/Aug/10 3:34 PM, Eyal Lebedinsky wrote:
> This is a burst, seen once every 5m from the TV:
> -----------------------------------------
> 15:18:01.952410 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 301
> 15:18:01.981252 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 310
> 15:18:02.011069 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 357
> 15:18:02.040983 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 365
> 15:18:02.071087 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 367
> 15:18:02.100965 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 355
> 15:18:02.131007 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 311
> 15:18:02.160939 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 320
> 15:18:02.191107 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 377
> 15:18:02.220923 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 367
> 15:18:02.251034 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 301
> 15:18:02.281048 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 310
> 15:18:02.311178 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 357
> 15:18:02.341179 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 365
> 15:18:02.371178 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 367
> 15:18:02.400916 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 355
> 15:18:02.431122 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 311
> 15:18:02.460894 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 320
> 15:18:02.491053 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 377
> 15:18:02.521014 IP ef.eyal.emu.id.au.blackjack > 239.255.255.250.ssdp: 
> UDP, length 367
> -----------------------------------------
>
> As is seen, packets get here (from the TV=ef) but I do not see any 
> responses.
> The mythtv log does not mention a connection either.
>
> The switch is a basic "Repotec 8-port Gigabit Switch". Is a special 
> feature
> required to pass multicast traffic?
>
> BTW, iptables is active with:
> -----------------------------------------
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> ACCEPT     udp  --  anywhere             anywhere            udp 
> dpt:domain
> ACCEPT     tcp  --  anywhere             anywhere            tcp 
> dpt:domain
> ACCEPT     udp  --  anywhere             anywhere            udp 
> dpt:bootps
> ACCEPT     tcp  --  anywhere             anywhere            tcp 
> dpt:bootps
>
> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination
> ACCEPT     all  --  anywhere             anywhere            PHYSDEV 
> match --physdev-is-bridged
> ACCEPT     all  --  anywhere             192.168.122.0/24    state 
> RELATED,ESTABLISHED
> ACCEPT     all  --  192.168.122.0/24     anywhere
> ACCEPT     all  --  anywhere             anywhere
> REJECT     all  --  anywhere             anywhere            
> reject-with icmp-port-unreachable
> REJECT     all  --  anywhere             anywhere            
> reject-with icmp-port-unreachable
>
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> -----------------------------------------
>
> which I read as mostly open since I see (policy ACCEPT) and the 
> REJECTs seem
> out of reach. Flushing the chains makes no difference.
>
> cheers
>
> On 12/08/10 14:58, tridge at samba.org wrote:
>> Hi Eyal,
>>
>> >  Does anyone use mythtv and watch their recordings (note: no music or
>> >  other video) os a DLNA enabled client? If so, what should I do to get
>> >  this working?
>>
>> yes, I use my PS3 to watch videos from 3 DLNA servers (mythtv,
>> ps3mediaserver and mediatomb). All 3 worked without any special
>> configuration that I can remember.
>>
>> >  I can see UDP traffic from the TV (never back) but it does not show
>> >  a DLNA server. It does see my win7 machine server (when it is on).
>> >  My PS3 does not find the mythtv server either.
>>
>> What IP is that UDP traffic on? Is it perhaps multicast traffic? If
>> so, is your router and Linux box setup to receive multicast traffic?
>>
>> Cheers, Tridge
>



More information about the linux mailing list