
How it works: Allows you to select a TV channel and view it through Subsonics JW flash player (ffmpeg is then used to transcode the HDHomeRun video stream and play it).
Requirements: HDHomeRun TV tuner, hdhomerun.pl script (to be placed in the Subsonic transcode folder), hdhomerun_config tool and Perl.
How to set it up:
- download the hdhomerun.pl script and copy it to your Subsonic transcode folder (/var/subsonic/transcode/)
- ensure the script has execute permission (chmod 755 hdhomerun.pl)
- add folder with HDHomeRun .strm files to Subsonic - Settings -> Music folders -> Add music folder (see below, if you need help with .strm files)
- add .strm extension to Subsonics Video mask - Settings -> General -> Video mask -> add .strm to the end of the listed extensions
- add new transcoding to Subsonic - Settings -> Transcoding:
Name: strm > flv, Convert from: strm, Convert to: flv, Step 1: hdhomerun.pl -s %s, Step 2: ffmpeg -ss %o -i - -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv - (and ensure Default and Enable are checked and then click the Save button)
- the new transcoding must then be enabled for the Players you've configured - Settings -> Players -> Select player -> Active transcoding: check strm > flv and then click Save (repeat for each player you plan to use)
- done
How to use:
- Navigate to your folder with .strm files and click play on any of the listed channel files - streaming will be shortly.
Advanced configuration:
- see hdhomerun.pl -h for advanced usage, e.g. set specific tuner or select first available. Add options to the Subsonic transcoding step.
Issues:
- video stutter - check CPU usage, transcoding requires a lot of CPU and if it hits 100% you'll probably experience bad quality. Try lower quality, e.g. 400kps through the JW flash player.
- MS Windows support, the script will need some tweaking to work. Post if of any interest.
How to create HDHomeRun .strm files with TV channel information:
- you can use the hdhomerun.pl script to create .strm files, see -h for usage (hdhomerun.pl -h)
- or, head to Silicondust for information using the HDHomeRun tools to create .strm files