Help with analog TV
Added by Bengt K about 11 years ago
Howdy,
Just installed XBMC / Tvheadend. Got the DVB functioning after a couple reboots. I'm running this release http://tandrepires.wordpress.com/2012/09/10/raspberry-pi-openelec-pvr-setup/
as it has the drivers installed. Allso tried RASPBMC but i could not get the drivers to work.
Now - how do i enable the analog tuner ? There is no menu for this, as i can se, in the tvheadend webinterface. Only DVB.
Hardware is Hauppauge HVR-1900. This runs nicely in WINXP.
Are drivers missing or is there a setup i have missed.
I have cable-TV with mixed analog and DVB channels. DVB i can record in the TV-set, but it don't support analog channels - HVR-1900 was my intended solution !?
Any ideas ???
I'm still cunfused - but on a higher level !
Replies (12)
RE: Help with analog TV - Added by Alex . about 11 years ago
Did you look at this:
https://tvheadend.org/boards/5/topics/1394?r=1415#message-1415
https://tvheadend.org/boards/5/topics/1432?r=1459#message-1459
There seems to be some success with analog tv using this tvtuner , but this is two years ago...
Alex.
RE: Help with analog TV - Added by Bengt K about 11 years ago
Tnx, but how do i rebuild tvheadend ? Tried apt get.... but command supressed in XBMC. Isn't there any pre compiled ??
RE: Help with analog TV - Added by jody gugelhop about 11 years ago
not sure what you mean with "command supressed in xbmc" but looking at the links from alex u ought to compile your linux kernel with CONFIG_VIDEO_PVRUSB2_DVB disabled as otherwise TVHeadend picks up your analog tuner as DVB-T tuner
RE: Help with analog TV - Added by Bengt K about 11 years ago
To put it another way. How do i do this ???
Need it step by step. I the below all is taken for granted. Getting stuck at point 1.
Isn't there any compiled version - i can't be the only one whanting analog TV ?
RE: Analog device that works with tvheadend? - Added by Johannes Peeters about 2 years ago
I decided to in the end to try the HVR-1900 anyway and got a working system. Steps required to make this work:
1.Compile a kernel with CONFIG_VIDEO_PVRUSB2_DVB disabled (otherwise TVHeadend picks up the DVB-T tuner)
2.Configure the card in TVHeadend (you'll have to manually add the channels since TVHeadend apparently doesn't scan v4l devices)
3.Configure xmltv (I had to use http://code.google.com/p/tv-grab-file/ to get it working in Belgium)
1.Don't forget to select the correct xmltv id in the channel editor
4.Download and install xbmc-pvr and configure it with TVHeadend (I followed http://forum.xbmc.org/showthread.php?t=91716 )
1.Don't forget to enable to tvheadend plugin. This took me an hour to figure out :)
5.Enjoy
RE: Help with analog TV - Added by jody gugelhop about 11 years ago
the thing is that you want to use analog tv with tvheadend which according to my knowledge is made for digital tv thus you are probably an exception. why is it that you want to use tvheadend? I'm asking cuz there might be other applications that will work for you/the things you want to do. Also what is the linux distribution that you are currently using?
RE: Help with analog TV - Added by Alex . about 11 years ago
To add to what Jody said:
jody gugelhop wrote:
Also what is the linux distribution that you are currently using?
The exact procedure for compiling a kernel (although the principle is the same) varies from distro to distro, so it is important to know what distro you use.
Also, for information about compiling a custom kernel you can probably better go to the relevant webpage/wiki/documentation of your distribution.
RE: Help with analog TV - Added by Bengt K about 11 years ago
Ok,,
Tried 2 versions
Raspbmc
OpenELEC RPi PVR image
Both downloaded a few weeks ago.
Why Tvheadend ? Fount it and saw it would support analog TV.
The thing is that my TV only records digital TV-channels. I can ofcourse use a VCR but that is old fassion;-) WINXP is allso an option, but building a slim setup with Raspberry PI and a tuner is No1 choice =)
Allso, (obviously) i'm no linux guru ;-)
RE: Help with analog TV - Added by Alex . about 11 years ago
reasons enough to use tvheadend :-)
Bad thing is that indeed it is made for digital tv primarily.
Openelec is not very flexiblel in terms of compiling your own kernel I would guess, so maybe try with Raspbmc and then compile the kernel using the Raspmbc manual for compiling kernels... I have no experience with that, maybe this link gives some info : http://www.raspbmc.com/wiki/technical/kernel/
RE: Help with analog TV - Added by jody gugelhop about 11 years ago
indeed as Alex says with raspbmc you are more likely to succeed, but if your tv tuner does not put out the analog channels in MPEG1, 2, 4 or even DivX (apparently they exist but linux support for those seems rare, see here [[http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=4782]] you might end up with choppy stuff, due to processing power, maybe a good idea to post on rasbmc forum and/or check on irc if someone has done it before with your tuner and compare notes
if you would use a "regular" pc you could have a nice setup with e.g. mythtv
RE: Help with analog TV - Added by Jason H about 11 years ago
Are there any analog capture cards that encode to mpeg that work without recompiling the kernel ? preferably usb :)
I just need something to display an s-video signal - I don't really need pvr function but using tvheadend would be an easy way to do it.
analog tv works for one or two seconds - Added by Pedro Pena about 11 years ago
I'm not exactly sure where to post this question but this seems closest to what I'm experiencing.
I'm really new to all this cable tv terminology so please forgive my ignorance of stuff that might seem obvious.
My cable provider transmits both analog and digital. Some channels are transmitted in both digital and analog but many of the channels I want are only transmitted in analog so I can't go all the way digital.
tvheadend does not work out of the box with analog tv so I did the following.
I downloaded the latest v4l source compiled and installed it.
I dowloaded the tvheadend source and modified v4l.c
Changed
"v4l2_std_id std = 0xff;" to "v4l2_std_id std = V4L2_STD_NTSC_M;"
and changed
"vf.frequency = (frequency * 16) / 1000000;" to "vf.frequency = (frequency * 16) / 1000;"
I compiled and then installed it.
Via the web interface I manually add the service(in khz) in the adapter section and give it a channel name. eg 469250 for channel 65
I use xbmc frodo with the tvheadend addon as my front end.
When I select the new channel I'll get an image of what is being received on that frequency at that moment.
If I leave it there long enough, sometimes it plays for about 2 seconds.
Initially I thought it was the firmware but if I tune from the command line I can cat to a file and play it.
ivtv-tune -d /dev/video0 -t us-cable -c61
ivtv-tune -d /dev/video1 -t us-cable -c65
cat /dev/video0 > ~/Downloads/test.mpg
cat /dev/video0 > ~/Downloads/test0.mpg
test.mpg and test0.mpg play fine every time so I know the firmware is ok.
I realize that tvheadend is made for digital tv and that there is no analog support but I know people have successfully
used tvheadend for analog tv.
tvheadend is so elegant compared to other solutions out there that I am willing to go through some trouble to get it working for me.
I have a hauppauge 2250 dual tv tuner card saa7164.
Installed on an ubuntu 12.04 server 3.2.0-54-generic-pae
HTS Tvheadend 3.5.243~g2b64995-dirty
Except for mapping DVB services to channels, the digital stuff works great.
Any help is greatly appreciated
Thanks
RE: Help with analog TV - Added by Pedro Pena about 11 years ago
Got it to work by making some changes to v4l.c .
I think there's a bug so I submitted the problem and added the change I made.