Project

General

Profile

American (NTSC) Analog How To Success Story

Added by Andrew Blank over 9 years ago

In case anyone is interested in knowing I downloaded the source code for release 3.4 and compiled it with the change listed here: https://tvheadend.org/projects/tvheadend/wiki/Tvheadend_NTSC and I can now tune in analog (and digital) stations with my Hauppauge HVR 1600 tuner.

Note/Warning: Not sure if it's due to this change or others I made but I did lose the ability to "Add DVB Network by location...".

My System:
Ubuntu Server 14.04.1
Kernel and CPU: Linux 3.13.0-46-generic on x86_64
Processor information: Genuine Intel(R) CPU 2160 @ 1.80GHz, 2 cores
4GB RAM
Hauppauge HVR 1600
Cable Provider: Time Warner Cable Rochester, NY

Here's what I did.

sudo apt-get install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
mkdir ~/tvheadendBuild
cd ~/tvheadendBuild
git clone --branch "3.4patch1" https://github.com/tvheadend/tvheadend.git
cd  tvheadend/src/
nano v4l.c
  • Press Cntl + W to perform a search in this file. Search for the following:
    v4l2_std_id
  • Change:
    v4l2_std_id std = 0xff;
    To:
    v4l2_std_id std = V4L2_STD_NTSC;
  • Cntl + X to close.
  • Y then Enter(return) to save.
cd ..
./configure

(64-bit)

./Autobuild.sh -t precise-amd64

or (32-bit)

./Autobuild.sh -t precise-i386

(Some dependencies were missed when I first ran this just copy the dependency name when you get an error and run "sudo apt-get install dependency-name" Captain Obvious Note: Replace dependency-name with name of dependency. )

cd ..

Install compiled TVHeadend Package:

sudo dpkg -i tvheadend_3.4.27~gfbda802~precise_amd64.deb

(replace with name of 32 bit package if you compile 32-bit)

Note when you fill in frequencies for analog muxes they are in Hz. For example for channel 7 (175.25MHz see: http://en.wikipedia.org/wiki/North_American_television_frequencies ) you would enter in 175250000 for the frequency.