Saving a stream:
The hdhomerun_config command can be used to automate the process of saving to the local
filesystem:
format: hdhomerun_config <id> save /tuner<n> <filename>
eg: hdhomerun_config FFFFFFFF save /tuner0 capture.ts
While saving the stream, a single period “.” will be displayed every second. Additionally, as of the
20080609 release, the hdhomerun_config will detect reception and network errors, replacing the
“.” with an alternative character to indicate the problem.
Example output:
............n...............................n..........ts..........
-- Video statistics --
23323 packets recieved, 2 network errors, 1 transport errors, 1 sequence errors
Advanced: A filename of “null” indicates no file should be created, allowing the use of the save
command as a diagnostic tool.
Advanced: “-” may be used as a filename to indicate standard output, allowing the save
command to be used as a pipe on supported platforms.
eg: hdhomerun_config FFFFFFFF save /tuner0 - | vlc -
Streaming to a target machine:
Set the target IP address and port number using the set target command:
format: hdhomerun_config <id> set /tuner<n>/target udp://<ip>:<port>
format: hdhomerun_config <id> set /tuner<n>/target rtp://<ip>:<port>
eg: hdhomerun_config FFFFFFFF set /tuner0/target udp://192.168.1.100:5000
eg: hdhomerun_config FFFFFFFF set /tuner0/target rtp://192.168.1.100:5000
The target machine must be listening on the given UDP port. The HDHomeRun will automatically
clear the target if a ICMP port unreachable message is received.
A global broadcast (255.255.255.255) or subnet broadcast can be specified however care must be
taken to ensure that the broadcast traffic will not cause problems with other devices on the
network. If the local network is bridged to a wireless network then the AP will typically transmit at
a low broadcast speed saturating the wireless network.
Example: Streaming to VLC:
Run VLC: File, Open Network Stream. Select UDP/RTP. Specify port 5000.
Discover the HDHomeRun:
hdhomerun_config discover
Run a channel scan:
hdhomerun_config FFFFFFFF scan /tuner0 scan0.log
Set the physical channel:
hdhomerun_config FFFFFFFF set /tuner0/channel auto:651000000
Check sub-programs:
hdhomerun_config FFFFFFFF get /tuner0/streaminfo
Kommentare zu diesen Handbüchern