{"id":186,"date":"2008-02-17T11:30:01","date_gmt":"2008-02-17T01:30:01","guid":{"rendered":"https:\/\/www.gedda.info\/?p=186"},"modified":"2014-06-15T10:31:30","modified_gmt":"2014-06-15T00:31:30","slug":"digital-tv-on-linux-aaargghh","status":"publish","type":"post","link":"https:\/\/www.gedda.info\/?p=186","title":{"rendered":"Digital TV on Linux = aaargghh!!!"},"content":{"rendered":"<p>A <a href=\"https:\/\/www.gedda.info\/?p=178\">blogged<\/a> previously, over the holidays I built a Linux-based PVR with the anticipation of recording TV when I&#8217;m out and watching the programs (mainly documentaries) at my convenience.<\/p>\n<p>The computer system side of the equation worked very well, but the quality of digital TV reception I&#8217;ve experienced is driving me up the wall.<\/p>\n<p>Let me chronicle the events leading up to my present state of extreme frustration.<\/p>\n<p>&#8211; I used an ASUS barebones machine for the PVR itself. Simply buy the small form-factor barebones system and add your choice of AMD CPU, memory and SATA disk.<\/p>\n<p>&#8211; I installed Mythbuntu on the new machine. Worked like a charm with all components supported perfectly.<\/p>\n<p>&#8211; Acquire TV tuner card and add to the barebones. I can happily report that both the <a href=\"http:\/\/www.mythtv.org\/wiki\/index.php\/Hauppauge_WinTV_Nova-T_500_PCI\">Hauppauge WinTV Nova-T 500 PCI<\/a> and the <a href=\"http:\/\/jamespurser.com.au\/blog\/Myth_and_the_Winfast_Leadtek_dtv1000\">Leadtek Winfast dtv1000<\/a> work fine with recent Linux kernels, and hence distributions.<\/p>\n<p>&#8211; Get a <a href=\"http:\/\/www.streamzap.com\/\">StreamZap<\/a>. Pricey but works out of the box with Mythbuntu and can be used for other apps in addition to MythTV.<\/p>\n<p>Then came the moment of truth &#8211; testing of the completed PVR at my parent&#8217;s place on the NSW Central Coast.<\/p>\n<p>&#8211; I plugged the DVB-T antenna cable into the TV tuner card and configured the channels by doing a full scan.<\/p>\n<p>&#8211; MythTV &#8220;scanned&#8221; all available channels so this proved it &#8220;worked&#8221; in the sense that all the drivers and app are configured correctly.<\/p>\n<p>&#8211; Then, in the MythTV front-end I proceeded to simply watch one of the scanned channels and it would only &#8220;lock&#8221; onto NBN Digital and SBS. When attempting to view any other channel, MythTV could only get a &#8220;partial lock&#8221; and they would not display.<\/p>\n<p>Wanting to determine whether I was facing a reception problem (there was no reason to believe it was the PVR as two channels did display), I brought the unit into the office in St Leonards and set it up there.<\/p>\n<p>EUREKA!!!!<\/p>\n<p>I was able to scan and tune into, or &#8220;lock&#8221; onto in MythTV&#8217;s parlance, a whole swag of channels, including some from WIN TV in Woollongong. The only channel missing was channel 7 in Sydney despite being about equidistant from the Sydney CBD and Epping (or whereever it broadcasts from). This wasn&#8217;t such a big deal as I could get Prime perfectly which is essentially a re-broadcast of 7 in regional areas around the state. The biggest problem is the office is not the ideal place to sit back and watch <a href=\"http:\/\/en.wikipedia.org\/wiki\/Bullshit!\">Penn &amp; Teller<\/a> on a Sunday evening.<\/p>\n<p>So, having come this far, I figured testing it at my Parramatta apartment wouldn&#8217;t hurt either. At least that would give me some idea of any reception difference between metropolitan Sydney and the Central Coast.<\/p>\n<p>I cart it up three flights of stairs, fire it up, re-tune it, and hey, presto, everything <em>except<\/em> channel 10 despite a &#8220;100%&#8221; signal strength reading!<\/p>\n<p>Okay, think calm blue ocean, calm blue ocean.<\/p>\n<p>I think now is the best time to add that built-in digital TV tuners in all three locations work as expected. The digital TV on the central coast picks up all channels (Sydney and Newcastle) with ease. We duh, it would be pretty big paperweight it if didn&#8217;t, but I&#8217;m sure you can gather what my next point is going to be.<\/p>\n<p><em>The DVB-T signal strength in all three locations is more than adequate so it is a problem with the PC tuner&#8217;s reception capability and\/or the software that controls it in Linux<\/em>.<\/p>\n<p>After reading through the <a href=\"http:\/\/www.dtvforum.info\/\">DTV Forum<\/a>, I discovered there are a <em>multitude<\/em> of factors that determine whether you can receive (and display) digital TV in this country. Understandable, but I just wish it wasn&#8217;t this difficult!<\/p>\n<p>Anyways, one suggestion &#8211; scoffed at by many &#8211; is to use a small signal amplifier to boost a weak signal into a TV or, in my case, a TV tuner card. So I gave it a go yesterday and it did result in a slight improvement. The PVR can now display channels Nine, Seven and Ten. Of course, the only two channels worth watching &#8211; ABC and SBS &#8211; don&#8217;t display. Do I remember saying SBS <em>did<\/em> work without any amplifier? Ah well.<\/p>\n<p>So I&#8217;ve come the following conclusions:<\/p>\n<p>1. PC TV tuner cards are nowhere near as tolerant of weak signals than proprietary tuners built into televisions.<\/p>\n<p>2. If 1. is not true, the Linux <em>drivers<\/em> for PC TV tuner cards are not as tolerant as their Windows counterparts. Yes, I could install Windows on the PVR and try the proprietary drivers but that would negate the other benefits I get from having a Linux-based PVR. Hey, it can double as a home server!<\/p>\n<p>3. Sure, I may have incorrectly configured, or unintentionally omitted, something from the installation and setup process, but that doesn&#8217;t explain why some channels display perfectly while others don&#8217;t display at all. If anyone has any ideas I&#8217;d love to hear them! Your input will also help other Aussie MythTV users.<\/p>\n<p>4. The black art of MythTV&#8217;s &#8220;scanning&#8221; and &#8220;signal strength&#8221; don&#8217;t seem to correlate very well into some sort of predictable trend. For examples, a scanned channel won&#8217;t necessarily display, low percentage signal strengths can produce a perfect display, and a 100% signal strength won&#8217;t necessarily produce a display at all. Go figure!<\/p>\n<p>My next step will be to try another, more powerful, type of amplifier. Hey, it&#8217;s been the most promising result so far! I may also call a local antenna guru to see if there&#8217;s anything else that can be done to improve signal reception.<\/p>\n<p>Failing everything, I think I&#8217;ll re-purpose the machine as a desktop and look for a black-box PVR that does what it&#8217;s supposed to do \ud83d\ude41<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A blogged previously, over the holidays I built a Linux-based PVR with the anticipation of recording TV when I&#8217;m out and watching the programs&#8230;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,21,27,34,38],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-computer-hardware-peripherals","category-linux","category-open-source","category-the-media","category-web-tv"],"_links":{"self":[{"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gedda.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186"}],"version-history":[{"count":1,"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":833,"href":"https:\/\/www.gedda.info\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions\/833"}],"wp:attachment":[{"href":"https:\/\/www.gedda.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gedda.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gedda.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}