© Niagara Video Corporation 2016
Filtering by PID
The product also supports arbitrary hardware PID filtering:
Format: hdhomerun_config <id> set /tuner<n>/filter <filter>
Example: hdhomerun_config FFFFFFFF set /tuner0/filter "0x0000-0x1FFF"
hdhomerun_config FFFFFFFF set /tuner0/filter "0x0000 0x0030-0x0033 0x1FFB"
When filtering by PID the stream is filtered but otherwise unmodified.
The filter is cleared to pass-all (0x0000-0x1FFF) when a set channel command is received.
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>
Example: hdhomerun_config FFFFFFFF save /tuner0 capture.ts
While saving the stream, a single period “.” will be displayed every second. Errors will be indicated by
a letter.
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.
Example: hdhomerun_config FFFFFFFF save /tuner0 - | vlc -