LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2004, 11:46 PM   #1
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Rep: Reputation: 15
TV Tuner


I have a Hauppage WinTV Tuner and I'd like to use it in Linux (Fedora Core 1)

I tried to install KWinTV but that just crashes Command line when i try to load it before it even finishes loading.

What is a good program that I can use to watch TV with, with my tuner?
 
Old 02-01-2004, 11:56 PM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
mplayer. http://mplayerhq.hu/

Watching TV will be done with something like "mplayer tv:// -tv driver =v4l"

Assuming your kernel has Video For Linux enabled and the BT848 Video For Linux driver. (and that it works)
 
Old 02-02-2004, 12:00 AM   #3
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Awesome, I already have Mplayer anyway. I am way too new to this to know whether my kernel has Video for Linux or BT848 but I do have the latest Linux kernel I believe that came with Fedore Core 1.

So I enter that line into the command prompt and it comes back with "Error: option 'tv' must have a parameter!"

Anyway, I assume I am just entering the wrong values, I am not sure how to enter the correct values according to my specific TV tuner or whatever.
 
Old 02-02-2004, 01:05 AM   #4
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Yeah, it's tv://[channel]. My mistake.

I'd be a little surprised if this works without the BT848 driver. You may have to compile your own kernel, which will be confusing for someone who's new to Linux.
 
Old 02-02-2004, 01:16 AM   #5
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Well 2 questions then. Once I get this running is the TV program graphical (as in the controls and whatnot) or do I have to change the channel from the command line?

Anyway, I really am not sure at all about the BT848 driver but here is the input I get.



MPlayer 1.0pre3-RPM-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1593 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/jamar/.mplayer/config
Reading /home/jamar/.mplayer/codecs.conf: Can't open '/home/jamar/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/jamar/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/jamar/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds

Playing tv://.
Cache fill: 0.00% (0 bytes) TV detected! ;-)
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x200 => 320x200 Planar YV12
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound
 
Old 02-02-2004, 01:23 AM   #6
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
It's graphical. It's not working because it turns out you you don't have the right Video for Linux driver as I explained above. Incidentally, there is a GUI skin thing for mplayer, called "gmplayer."

You might consider moving to Linux 2.6.1 (or pre-2 ) and self-compiling to get support for your video capture card.
 
Old 02-02-2004, 01:46 AM   #7
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
I see. I believe I have version 2.44.2 or something like that. I don't even know if my card will be included in version 2.6.1 or not though.
 
Old 02-02-2004, 01:48 AM   #8
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
It's included. Choose the driver I mention above: BT848 Video For Linux.
 
Old 02-02-2004, 02:22 AM   #9
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Okay. So I guess I can't just get the BT848 video driver without having to get a new kernel? I'd be too lost trying to compile the kernel.
 
Old 02-02-2004, 02:30 AM   #10
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Maybe it sounds hard but perhaps you'll try it and decide it's reasonably easy - I've seen people do that before.

You can get rpm's with the kernel source, though I usually just download them from kernel.org.

If you download it yourself, feel free to unpack the kernel source wherever your whim dictates. That means if you choose to read http://www.linuxquestions.org/questi...hreadid=127095 as a guide, you can skip right to the bottom where it gets into the "make *config" stuff.

You will probably want to do "make xconfig." There will be a seemingly enormous number of options, but if you read the documentation you will probably find the ones you need, and anyway it's almost hard to check extra options that'll *HURT* you.
 
Old 02-02-2004, 02:55 AM   #11
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Too bad the redhat update only has up to a different version of the 2.4 kernel. I wish I could just do simple tasks like use a TV tuner without spending hours learning how to compile new kernels..I tried following the directions on that post but got nowhere. Once I got to the cp /usr/src/linux-2.4/.config /usr/src/linux command, it wouldn't work no matter what I type.
 
Old 02-02-2004, 03:10 AM   #12
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
First download the 2.6 kernel. To be proper you're supposed to unzip it in /usr/src/, but as long as nobody's looking, you can put it wherever you want to...

Then copy /usr/src/linux-2.4/.config to wherever you unpacked the 2.6 src.

Then proceed with "make xconfig"
 
Old 02-02-2004, 03:15 AM   #13
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Hey, the only file with the .config extension in the linux-2.4 directory is "backup.config"

So this is what I am supposed to copy then?
 
Old 02-02-2004, 03:23 AM   #14
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
if you're sure there's no file that's named ".config" (that's dot-config with nothing before it), then I suppose backup.config is the file you want. Mind you I don't use redhat. This config file will cause options to default to the stuff you already have, which means if you change nothing, the recompile will still work. For someone who is unfamiliar with all the options, this makes kernel configuration drastically simpler. You can safely leave most options alone and still get a kernel that has pretty much the same compatibilities as your current one.

But I do suggest you stray a little bit, go into General Setup -> Processor type and features -> (scroll down a whole bunch) Preemptible kernel. With this option checked, the move to 2.6 is really amazing performance-wise. It literally feels like a hardware upgrade, it's so much faster and more responsive.
 
Old 02-02-2004, 03:36 AM   #15
Jamar
LQ Newbie
 
Registered: Jan 2004
Location: NY
Posts: 22

Original Poster
Rep: Reputation: 15
Awesome, thank you for all the help. But I need sleep I will try this some more tomorrow. Hopefully, I'll get it figured out eventually.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel: tuner: tuner type not set gadhiraju Linux - Hardware 2 10-05-2004 01:17 PM
the most compatible TV tuner cards, or FM/AM Tuner aliiscool Linux - Hardware 1 06-06-2004 03:59 PM
tv tuner for mercury tv tuner card sandesh_hs Linux - Hardware 1 02-22-2004 04:20 AM
TV and FM Tuner cexshun Linux - Hardware 3 01-27-2003 08:55 AM
TV Tuner / AM&FM Tuner hardware N3WBI3 Linux - Hardware 2 08-01-2002 11:43 AM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration