Forums » Tutorial and setups »
Compiling tvheadend source in Debian
Added by K Foltz almost 11 years ago
Adding analog NTSC support apparently requires downloading and making a small change to the source code. If this is done on a Debian distribution is there any advantage in using the source code from the appropriate Ubuntu repository instead of the source code at github? I am using Kubuntu 12.04 which is Precise.
Replies (2)
RE: Compiling tvheadend source in Debian - Added by Adam Sutton almost 11 years ago
If you do decide to use source from github, ensure that you use either release/3.4 or release/3.6 branches. The current master has no analogue support, this is not because we intend to drop it. Simply that the entire DVB (input) backend has been re-written and the V4L code still needs porting. And given that 95%+ of our user base is on digital inputs, the analogue stuff has just been so far down the list of priorities (plus I have no easy way to test since we have no analogue signal in the UK, though I do have a TV sig-gen at work if I ever get around to adding it back in).
Adam
RE: Compiling tvheadend source in Debian - Added by K Foltz almost 11 years ago
The github and Ubuntu versions looked the same and I used the version from the Ubuntu repository. Successfully changed the v4l.c file. Sudo ./configure worked without errors. Successfully built the program with sudo checkinstall. Changed to the built.linux folder and ran tvheadend. There is an error during startup:
Dec 25 23:27:30.054 [WARNING]:v4l: /dev/video0: Device lacks MPEG encoder, device skipped
Dec 25 23:27:30.061 [ INFO]:v4l: /dev/video1: cx88_blackbird Leadtek PVR 2000 PCI:0000:01:06.2 capabilities: 0x05010001
Dec 25 23:27:30.061 [ INFO]:v4l: /dev/video1: Standard #0: 0000000000001000 NTSC-M, frameperiod: 1001/30000, 525 lines
Dec 25 23:27:30.061 [ INFO]:v4l: /dev/video1: Standard #1: 0000000000002000 NTSC-M-JP, frameperiod: 1001/30000, 525 lines
Dec 25 23:27:30.061 [ INFO]:v4l: /dev/video1: Standard #2: 0000000000004000 NTSC-443, frameperiod: 1001/30000, 525 l
This is a Leadtek PVR2000 tuner/capture card and it has an mpeg encoder which the software doesn't see on /dev/video0 which is the analog NTSC tuner. TVheadend is running because the address for http://localhost:9981/extjs.html produces the configuration screen but without the analog tuner. Is there anyway to fix the problem with /dev/video0?