Project

General

Profile

Using a Hybrid Tuner/Analog input with TVH?

Added by Kaya Saman about 10 years ago

Hi,

I've got a Hauppauge WinTV HVR-1900 and basically I need some help.

The DVB-T portion of the device works fine but TVH won't recognize the Composite or S-Video input. The device itself does have an integrated MPEG2 encoder:

http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900

After some Google'ing I managed to find a posting similar to my issue:

https://tvheadend.org/boards/4/topics/5357

Using vlc or mplayer I can easily watch the RCA input stream coming from my Satellite box by setting:

[code]
v4l2-ctl --set-input=1
[/code]

Just to quote the link above:

[quote]
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Input #0: television (Tuner), audio:0x0, tuner:0, standard:0000000000000000,
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Input #1: composite (Camera), audio:0x0, tuner:0, standard:0000000000000000,
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Input #2: s-video (Camera), audio:0x0, tuner:0, standard:0000000000000000,
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Input #3: radio (Tuner), audio:0x0, tuner:0, standard:0000000000000000,
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Format #0: MPEG1/2 [] (compressed)
Sep 9 14:53:28 tvbackend tvheadend7981: v4l: /dev/video0: Device lacks MPEG encoder, device skipped
[/quote]

Is exactly the error I'm getting!

I used the "Hack" in src/v4l.c and changed:

[code]
int can_mpeg = 0
[/code]

to

[code]
int can_mpeg = 1
[/code]

Then recompiled TVH. I can now see the analog 73xxx series chip in the TVH inputs, however, I'm unable to get it working.

It seems that either the kernel or tvh is locking the device to DVB and so even after un-checking "enabled" for the DVB tuner I still can't switch to the analog inputs.

I have created a channel/tag and service for it and bonded them to the analog portion of the hvr-1900 but the logs are just saying:

[code]
Sep 2 21:46:00 HTPC1 tvheadend10160: subscription: No transponder available for subscription "HTTP" to channel "Satellite"
Sep 2 21:46:00 HTPC1 tvheadend10160: subscription: "HTTP" unsubscribing from "Satellite"
[/code]

I've also attempted using MythTV and this sometimes works with that software however, I prefer TVH over Myth as it's just nicer to deal with.

Could anyone help out or suggest anything?

I'd really like to get this working using both the DVB and RCA inputs as I'm using XBMC as frontend plus multiple clients on network which I would really like to stream to.

I'm running Arch Linux 64bit with kernel version 3.16.1-1.

Thanks.