infiniTV Client hangs at "Initializing"

Discussions for Linux infiniTV installations
Post Reply
User avatar
Yippee38

Posts: 28
Joined: Fri May 09, 2014 11:35 pm
Location:

HTPC Specs: Show details

infiniTV Client hangs at "Initializing"

#1

Post by Yippee38 » Sat May 10, 2014 12:03 am

I've got an InfiniTV 4 PCIe installed on an OpenSUSE 13.1, x86_64 machine that's serving as my MythTV backend. I've been having trouble with MythTV giving me "Signal 100% | (TL__) Partial Lock" errors. I can view all of my cable channels by tuning them through the web interface, the using mplayer. It works great. However, because of the Partial Lock issue, I decided to test rtp streaming.

In order to do that, I was going to use the python client to set up streaming. However, when I ran the client using the following command:
python client.py -i 192.168.200.2 -t 0 -c 212
I get:
1399679213.803709 client.py:136 Initializing

It's been sitting there for more than 10 minutes now.

Any suggestions on what could be going on, or how to fix it?

User avatar
Yippee38

Posts: 28
Joined: Fri May 09, 2014 11:35 pm
Location:

HTPC Specs: Show details

#2

Post by Yippee38 » Thu Jun 05, 2014 10:07 pm

I figured out why it was hanging, in case anybody ever has the same problem in the future and ends up looking here.....

Somehow, my firewall was preventing connection between the client and the InfiniTV card. Unfortunately, there's no way to know what kind of firewall rule to add to allow that connection, but it's a start.

It doesn't solve my problem of not being able to stream rtp either.

erkotz

Posts: 1378
Joined: Mon Aug 22, 2011 9:23 pm
Location:

HTPC Specs: Show details

#3

Post by erkotz » Thu Jun 05, 2014 11:20 pm

Unless you have changed it's IP address, the PCIe InfiniTV's IP is 192.168.200.1 - not 200.2. Can you try with the .200.1 IP?
Quality Assurance Manager, Ceton Corporation

User avatar
Yippee38

Posts: 28
Joined: Fri May 09, 2014 11:35 pm
Location:

HTPC Specs: Show details

#4

Post by Yippee38 » Fri Jun 06, 2014 1:47 am

erkotz wrote:Unless you have changed it's IP address, the PCIe InfiniTV's IP is 192.168.200.1 - not 200.2. Can you try with the .200.1 IP?
Hmm. Weird. I'm set to DCHP on the "Network Settings" page.
When I use .1, I get the following:
> python client.py -i 192.168.200.1 -t 0 -c 210
1402018797.253888 client.py:136 Initializing
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: twisted.internet.error.MulticastJoinError: ('\xef\xff\xff\xfa', '\xc0\xa8\xc8\x01', 19, 'No such device')
Traceback (most recent call last):
File "client.py", line 158, in <module>
sys.exit(main())
File "client.py", line 150, in main
b = Board(options.interface, s.board_ready)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/board.py", line 35, in __init__
self.init_coherence()
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/board.py", line 84, in init_coherence
self.coherence.add_interface(self.interface)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/coherence/base.py", line 384, in add_interface
msearch = MSearch(ssdp_server)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/coherence/upnp/core/msearch.py", line 29, in __init__
self.port = reactor.listenMulticast(0, self, interface=ssdp_server.interface)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/posixbase.py", line 264, in listenMulticast
p.startListening()
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/udp.py", line 78, in startListening
self._bindSocket()
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/udp.py", line 86, in _bindSocket
raise error.CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on 192.168.200.1:0: [Errno 99] Cannot assign requested address.

If I use .2, I get:
> python client.py -i 192.168.200.2 -t 0 -c 210
1402018842.591270 client.py:136 Initializing
1402018844.775238 board.py:46 Found: Ceton InfiniTV PCIe (00-80-59-b1)
1402018846.427599 client.py:36 AVTransportURI: rtsp://192.168.200.1:8554/cetonmpeg0
1402018846.427692 client.py:38 PrepareForConnection
1402018846.543911 client.py:27 PCRLock: 0
1402018846.671624 client.py:45 RTSP setup done
1402018846.764401 client.py:52 SetChannel ChannelNumber=210 SourceID=0
1402018846.856792 client.py:55 MPEG data streaming to 127.0.0.1:8000
1402018846.856882 client.py:56 OOB data streaming to 127.0.0.1:8001

Any idea what port or service I need to allow to not block the client?

User avatar
Yippee38

Posts: 28
Joined: Fri May 09, 2014 11:35 pm
Location:

HTPC Specs: Show details

#5

Post by Yippee38 » Fri Jun 06, 2014 4:19 am

BTW, using the web interface, when I go to a tuner and look at the streaming settings, it shows 192.168.200.2.

I discovered something else. Earlier, when I had gotten the client working (using the 192.168.200.2 IP), I left it running that way. When I looked at it just now, it had a bunch of errors. After the OOB data streaming to 127.0.0.1:8001 line, this is the rest of what was showing:

Traceback (most recent call last):
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()
--- <exception caught here> ---
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/udp.py", line 121, in doRead
self.protocol.datagramReceived(data, addr)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/coherence/upnp/core/ssdp.py", line 100, in datagramReceived
self.notifyReceived(headers, (host, port))
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/coherence/upnp/core/ssdp.py", line 158, in notifyReceived
usn_loc = (headers['usn'], headers['location'])
exceptions.KeyError: 'location'
Traceback (most recent call last):
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/home/Pinball/Downloads/infiniTV/infinitv_client_1_2/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()


Then the output just repeats everything from "--- <exception caught here> ---" to the end.

Post Reply