[mythtvnz] HDHomerun - VLC on Linux?

Tortise tortise at paradise.net.nz
Sat Mar 28 01:03:57 GMT 2009


Hi
I had a go at this, with reference to http://www.nerdlogger.com/2007/05/linuxosx-command-line-reference-for.html
I append an edited sequence.
Anyone able to progress this?
Kind regards
David

david at mythbuntuHD:~$ hdhomerun_config discover
The program 'hdhomerun_config' is currently not installed.  You can
install it by typing:
sudo apt-get install hdhomerun-config
bash: hdhomerun_config: command not found

david at mythbuntuHD:~$ sudo apt-get install hdhomerun-config
[sudo] password for david:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  xfprint4 sdparm
Use 'apt-get autoremove' to remove them.
Recommended packages:
  hdhomerun-firmware
The following NEW packages will be installed:
  hdhomerun-config
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.4kB of archives.
After this operation, 102kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com intrepid/universe hdhomerun-config
0.20080430-0ubuntu1 [25.4kB]
Fetched 25.4kB in 1s (15.6kB/s)
Selecting previously deselected package hdhomerun-config.
(Reading database ... 119508 files and directories currently installed.)
Unpacking hdhomerun-config (from
.../hdhomerun-config_0.20080430-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up hdhomerun-config (0.20080430-0ubuntu1) ...

david at mythbuntuHD:~$ hdhomerun_config discover
hdhomerun device 121018E1 found at {IP ADDRESS DETECTED}

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF scan /tuner0
SCANNING: 474000000 (uk-bcast:21)
LOCK: none (ss=78 snq=0 seq=0)
SCANNING: 482000000 (uk-bcast:22)
LOCK: none (ss=84 snq=0 seq=0)
SCANNING: 490000000 (uk-bcast:23)
LOCK: none (ss=89 snq=0 seq=0)
SCANNING: 498000000 (uk-bcast:24)
LOCK: none (ss=71 snq=0 seq=0)
SCANNING: 506000000 (uk-bcast:25, nz-bcast:25)
LOCK: none (ss=21 snq=0 seq=0)
SCANNING: 514000000 (uk-bcast:26, nz-bcast:26)
LOCK: none (ss=22 snq=0 seq=0)
SCANNING: 522000000 (uk-bcast:27, nz-bcast:27)
LOCK: none (ss=44 snq=0 seq=0)
SCANNING: 530000000 (uk-bcast:28, nz-bcast:28)
LOCK: none (ss=100 snq=0 seq=0)
SCANNING: 538000000 (uk-bcast:29, nz-bcast:29)
LOCK: none (ss=27 snq=0 seq=0)
SCANNING: 546000000 (uk-bcast:30, nz-bcast:30)
LOCK: none (ss=31 snq=0 seq=0)
SCANNING: 554000000 (uk-bcast:31, nz-bcast:31)
LOCK: none (ss=29 snq=0 seq=0)
SCANNING: 562000000 (uk-bcast:32, nz-bcast:32)
LOCK: none (ss=85 snq=0 seq=0)
SCANNING: 570000000 (uk-bcast:33, nz-bcast:33)
LOCK: none (ss=32 snq=0 seq=0)
SCANNING: 578000000 (uk-bcast:34, nz-bcast:34)
LOCK: none (ss=36 snq=0 seq=0)
SCANNING: 586000000 (uk-bcast:35, nz-bcast:35)
LOCK: none (ss=28 snq=0 seq=0)
SCANNING: 594000000 (uk-bcast:36, nz-bcast:36)
LOCK: none (ss=21 snq=0 seq=0)
SCANNING: 602000000 (uk-bcast:37, nz-bcast:37)
LOCK: none (ss=33 snq=0 seq=0)
SCANNING: 610000000 (uk-bcast:38, nz-bcast:38)
LOCK: none (ss=23 snq=0 seq=0)
SCANNING: 618000000 (uk-bcast:39, nz-bcast:39)
LOCK: none (ss=22 snq=0 seq=0)
SCANNING: 626000000 (uk-bcast:40, nz-bcast:40)
LOCK: none (ss=70 snq=0 seq=0)
SCANNING: 634000000 (uk-bcast:41, nz-bcast:41)
LOCK: none (ss=39 snq=0 seq=0)
SCANNING: 642000000 (uk-bcast:42, nz-bcast:42)
LOCK: none (ss=34 snq=0 seq=0)
SCANNING: 650000000 (uk-bcast:43, nz-bcast:43)
LOCK: none (ss=32 snq=0 seq=0)
SCANNING: 658000000 (uk-bcast:44, nz-bcast:44)
LOCK: none (ss=78 snq=0 seq=0)
SCANNING: 666000000 (uk-bcast:45, nz-bcast:45)
LOCK: none (ss=33 snq=0 seq=0)
SCANNING: 674000000 (uk-bcast:46, nz-bcast:46)
LOCK: none (ss=37 snq=0 seq=0)
SCANNING: 682000000 (uk-bcast:47, nz-bcast:47)
LOCK: none (ss=49 snq=0 seq=0)
SCANNING: 690000000 (uk-bcast:48, nz-bcast:48)
LOCK: t8qam64 (ss=90 snq=85 seq=100)
PROGRAM: 1200: 0.0 TV ONE
PROGRAM: 1201: 0.0 TV2
PROGRAM: 1202: 0.0 TVNZ 6
PROGRAM: 1203: 0.0 TVNZ 7
PROGRAM: 1204: 0.0 TVNZ SPORT EXTR
SCANNING: 698000000 (uk-bcast:49, nz-bcast:49)
LOCK: none (ss=54 snq=0 seq=0)
SCANNING: 706000000 (uk-bcast:50, nz-bcast:50)
LOCK: t8qam64 (ss=94 snq=85 seq=100)
PROGRAM: 1300: 0.0 TV3
PROGRAM: 1301: 0.0 C4
PROGRAM: 1302: 0.0 TV3 PLUS1
SCANNING: 714000000 (uk-bcast:51, nz-bcast:51)
LOCK: none (ss=50 snq=0 seq=0)
SCANNING: 722000000 (uk-bcast:52, nz-bcast:52)
LOCK: none (ss=89 snq=0 seq=0)
SCANNING: 730000000 (uk-bcast:53, nz-bcast:53)
LOCK: none (ss=30 snq=0 seq=0)
SCANNING: 738000000 (uk-bcast:54, nz-bcast:54)
LOCK: none (ss=35 snq=0 seq=0)
SCANNING: 746000000 (uk-bcast:55, nz-bcast:55)
LOCK: none (ss=17 snq=0 seq=0)
SCANNING: 754000000 (uk-bcast:56, nz-bcast:56)
LOCK: none (ss=0 snq=0 seq=0)
SCANNING: 762000000 (uk-bcast:57, nz-bcast:57)
LOCK: none (ss=30 snq=0 seq=0)
SCANNING: 770000000 (uk-bcast:58, nz-bcast:58)
LOCK: none (ss=44 snq=0 seq=0)
SCANNING: 778000000 (uk-bcast:59, nz-bcast:59)
LOCK: t8qam64 (ss=83 snq=82 seq=100)
PROGRAM: 1400: 0.0 Maori Televisio
PROGRAM: 1401: 0.0 Parliament TV
PROGRAM: 1402: 0.0 Test Channel
PROGRAM: 1403: 0.0 ChineseTV
PROGRAM: 1404: 0.0 Reserved 5KSD
PROGRAM: 1405: 0.0 Reserved 6KSD
PROGRAM: 1406: 0.0 Freeview | HD
PROGRAM: 1408: 0.0 tvCentral
PROGRAM: 2000: 0.0 Radio NZ Nation
PROGRAM: 2001: 0.0 Radio NZ Concer
PROGRAM: 2002: 0.0 BaseFM
SCANNING: 786000000 (uk-bcast:60, nz-bcast:60)
LOCK: none (ss=87 snq=0 seq=0)
SCANNING: 794000000 (uk-bcast:61, nz-bcast:61)
LOCK: none (ss=19 snq=0 seq=0)
SCANNING: 802000000 (uk-bcast:62, nz-bcast:62)
LOCK: none (ss=28 snq=0 seq=0)
SCANNING: 810000000 (uk-bcast:63)
LOCK: none (ss=20 snq=0 seq=0)
SCANNING: 818000000 (uk-bcast:64)
LOCK: none (ss=35 snq=0 seq=0)
SCANNING: 826000000 (uk-bcast:65)
LOCK: none (ss=19 snq=0 seq=0)
SCANNING: 834000000 (uk-bcast:66)
LOCK: none (ss=19 snq=0 seq=0)
SCANNING: 842000000 (uk-bcast:67)
LOCK: none (ss=18 snq=0 seq=0)
SCANNING: 850000000 (uk-bcast:68)
LOCK: none (ss=24 snq=0 seq=0)

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF set /tuner0/channel auto:48

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF get /tuner0/status
ch=auto:48 lock=t8qam64 ss=92 snq=83 seq=100 bps=26347072 pps=0

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF get /tuner0/streaminfo
1200: 0.0 TV ONE
1201: 0.0 TV2
1202: 0.0 TVNZ 6
1203: 0.0 TVNZ 7
1204: 0.0 TVNZ SPORT EXTR

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF set /tuner0/program 1200
david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF set /tuner0/program 1200:
{Which one!}
{OK Open VLC stream use Network, UDP, leave IP blank and use port 1234 - seems to be running - VLC says udp//@:1234 in its URL 
field}

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF set /tuner0/target:1234
Usage:
        hdhomerun_config discover
        hdhomerun_config <id> get help
        hdhomerun_config <id> get <item>
        hdhomerun_config <id> set <item> <value>
        hdhomerun_config <id> scan <tuner> [<filename>]
        hdhomerun_config <id> save <tuner> <filename>
        hdhomerun_config <id> upgrade <filename>
{Hmmm format wrong or does not find target running?  Check:}

david at mythbuntuHD:~$ hdhomerun_config FFFFFFFF get /tuner0/target
none

{Stuck here now}

Reference: Troubleshooting
....
If it reports "none" then most likely the pc was not listening on the target port and the ip/port was automatically cleared. Double 
check the following and then set the target again:
- Check that VLC is running and is using "udp://@" or "udp://@:1234".   {Confirm}
- Check the IP address of the machine VLC is running on.      {Has got one via DHCP}
- Check that the port is not blocked by a firewall.               {No ports blocked on LAN  Hmmm}

If the target is correct and the LED on the HDHomeRun indicates it is streaming video then the most likely problem is a firewall 
blocking the port (UDP port 1234 used in this example). 




More information about the mythtvnz mailing list