This page looks best with JavaScript enabled

Setup TV Tuner in MythTV

Background

This article uses the Pinnacle PCTV HD Pro Stick USB ($20) TV Tuner; however, the content is relatively agnostic in regards to the tuner and should work with any tuner supported by MythTV. I also purchased a RCA ANT751 ($35) outdoor antenna from Amazon and tuned it according to http://antennaweb.org.

MythTV

[MythTV](https://www.mythtv.org/) "is a Free Open Source software digital video recorder (DVR)", put simply, its a replacement DVR for things like FiOS or Comcast's DVR functionality. MythTV can capture almost any video (e.g. video from your webcam, Over-the-Air broadcasts, and even video from a cable provider). MythTV has a two distinct parts (one system with two parts) which allow you to capture, save, schedule, and organize in one spot (the MythTV backend) and watch in another part (the MythTV frontend). On most MythTV setups the two parts are on one computer and you only see one application; however, this separation of the backend and frontend allow you to do cool things like have the backend running on a server in one room and have someone watching video (TV) from a laptop in another room and yet another person watching pre-recorded TV in another room on a traditional TV. This is all possible with MythTV and easy to set up and use.

Details

Setup of MythTV is relatively simple, install MythTV (backend and frontend components) from your repo of choice. This should simply be a matter of selecting the software and clicking install. MythTV should now be up and working but your TV Tuner is not setup within MythTV. The following guide is an adaptation from http://www.mythtv.org/wiki/Hauppauge_HVR-1600 but in an abbreviated form:

  • Start the MythTV Backend application (or enter mythsetup in a shell)
  • Create a new capture card which will allow you to capture data from your TV Tuner by selecting “New capture card”
  • Configure the analog half of the card as follows:
  • Under Card type, choose IVTV MPEG-2 encoder (or MPEG-2 encoder card (PVR-x50, PVR-500)). Do not select Analog V4L capture
  • Choose the correct video device (usually /dev/video0 unless there is more than one card).
    • note: if the video device is not listed and a could not open to probe its inputs message appears, add /dev/video0 manually
  • Probed info should populate with Hauppauge HVR-1600 [cx18]
  • To use NTSC RF from an antenna or cable TV provider, choose ‘Tuner 1’ under Default input
  • Select Finish.
  • Next, configure the digital half of the card as follows:
  • Add another tuner card
  • Under Card type choose ‘DVB DTV capture card (v3.x)’.
  • Choose the correct value under DVB Device Number (usually 0, this should be the same number appended to /dev/video when configuring the analog portion of the card).
    • note: starting with MythTV v0.22, this field will be a string like: /dev/dvb/adapter0/frontend0. A second card would be /dev/dvb/adapter1/frontend0.
  • Frontend ID should populate to something like “Samsung S5H1409 QAM/Subtype: ATSC”.
  • Select Recording Options.
  • Change Max recordings to 1, since this card can only record one thing at a time.
  • Select Finish.
  • Select Finish again.
  • Next, we create one Video Source for each half of the card created above labeling them ‘Analog’ and ‘Digital’
  • The last step is scanning for channels which can be done as follows:
    • Go back to the main menu and select Input connections, then select the correct DVB input for the card just configured.
    • Set the video source to ‘Digital’, created in step 4.
    • Select Scan for channels.
    • A DVB device should be selected under Input.
    • Scan Type should be ‘Full Scan’.
    • For cable, change Frequency Table to ‘Cable’ (you’ll probably want to use ‘Cable High’ since most QAM channels are in the high range).
    • For cable, change Modulation to ‘Cable (QAM-256)’. All U.S. cable companies either use QAM-256 or QAM-64, most including Comcast use QAM-256.
    • Choose an ATSC Channel Separator (most television tuners use a period).
    • Select Next and then wait for the scan to complete. This may take a while.
    • When it’s done scanning, select Finish

You should now have your TV Tuner defined and ready for use. Start up MythTV frontend and navigate to “Live TV”. If needed, hit the “s” key (the hot-key to bring up the TV guide) and you should see all of your channels along with show information.

Share on

drad
WRITTEN BY
drad
Sr. Consultant