{"id":6399,"date":"2016-10-17T23:00:43","date_gmt":"2016-10-18T06:00:43","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=6399"},"modified":"2016-10-17T23:00:43","modified_gmt":"2016-10-18T06:00:43","slug":"realtime-transcoding-of-hd-homerun","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=6399","title":{"rendered":"Realtime Transcoding of HD Homerun"},"content":{"rendered":"<p>About a year ago my HD Homerun Plus to transcode and play over the Internet<\/p>\n<p>http:\/\/www.apolonio.com\/node\/54<\/p>\n<p>Unfortunately it was prone to overheating, and it finally died. \u00a0I was debating how I could replace it, then I came across the idea of transcoding using a PC and Linux and the non PLUS version of the HD Homerun which is easy to find.<\/p>\n<p>I finally was able to do it.<\/p>\n<ol>\n<li>I first built a 2 core CentOS Linux VM<\/li>\n<li>Then I installed VLC on it<\/li>\n<li>Then I installed the Silicon Dust HD Homerun package on it.<\/li>\n<\/ol>\n<p>I then set it to listen for an incoming stream on UDP port 5000 and anyone connecting to TCP port 9000 can watch the stream<\/p>\n<pre>cvlc udp:\/\/@:5000 :sout=\"#transcode{vcodec=h264,vb=600,scale=0.5,deinterlace,fps=20,acodec=mp2a,ab=192,channels=2,venc=x264{keyint=20,bframes=0}}:standard{access=http,mux=ts,dst=192.168.1.11:9000}\" -v<\/pre>\n<p>Then I set it my HD home runs channel using the\u00a0hdhomerun_config program and set the HD Homerun to send its feed to a particular IP.<\/p>\n<pre># Set HD Home run to KIRO 7.1\r\n\/usr\/local\/bin\/hdhomerun_config 10AAAAAA set \/tuner1\/channel auto:623000000\r\n\/usr\/local\/bin\/hdhomerun_config 10AAAAAA set \/tuner1\/program 1\r\n\/usr\/local\/bin\/hdhomerun_config 10AAAAAA set \/tuner1\/target 192.168.1.11:5000\r\n\r\n<\/pre>\n<p>Then I am able to view the feed by opening a network stream using VLC to http:\/\/192.168.1.11:9000<\/p>\n<p>Still need to find a way to secure it though.<\/p>\n<p>At least I can get the stream running.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About a year ago my HD Homerun Plus to transcode and play over the Internet http:\/\/www.apolonio.com\/node\/54 Unfortunately it was prone to overheating, and it finally died. \u00a0I was debating how I could replace it, then I came across the idea &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=6399\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3],"tags":[],"class_list":["post-6399","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6399"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6399\/revisions"}],"predecessor-version":[{"id":6400,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6399\/revisions\/6400"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}