Streaming Live TV from a HDHomerun to a Web Browser using FFmpeg

In this video I stream live TV from a SiliconDust HDHomeRun Extend to a web browser using ffmpeg. The video is served using nginx web browser set up on Ubuntu linux.

SiliconDust HDTC-2US-M HDHomeRun EXTEND (Amazon Affiliate)
US: https://amzn.to/3dV87bx
UK: https://amzn.to/2NYARVG
CA: https://amzn.to/38G96uZ
AU: https://amzn.to/2ABKdUm

hls.js site:https://github.com/video-dev/hls.js/blob/master/docs/API.md

stream.sh Script
 #!/bin/bash
VIDSOURCE="http://ip-address-of-hdhomerun:5004/auto/v11.1?transcode=internet240"
AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"
VIDEO_OPTS="-vcodec copy"
OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1"
ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS mystream.m3u8

Leave a comment

Your email address will not be published. Required fields are marked *