Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Systems > Linux / BSD / OS X
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2003, 01:25 PM   #1 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 284
technobard is on a distinguished road
MythTV, Freevo, and other Linux TIVO-likes

Anyone have any personal experience with PVR functionality (TIVO-like) under Linux? I have a Linux box acting as a webserver, etc. with a lot of idle time on it's hands. I'm moving it to be within a few feet of my TV, so....

Any info would be appreciated.
__________________
technobard is offline   Reply With Quote
Old 08-22-2003, 04:54 PM   #2 (permalink)
EscapeCharacter
GNU/Punk
 
EscapeCharacter's Avatar
 
Join Date: Jul 2002
Location: stuffs
Posts: 66
EscapeCharacter is on a distinguished road
Send a message via AIM to EscapeCharacter
first of all you would need a video card that has video-in outlets, most likely the ati all in wonders(since they are most supported). and then you would need something like xawtv and thats pretty much it.
__________________
cd /usr/ports/misc/life && make install
EscapeCharacter is offline   Reply With Quote
Old 08-22-2003, 10:30 PM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,680
redhead is on a distinguished road
Remember to activate the bttv module in the kernel This is a thread, where I tried to explain it to someone.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 08-23-2003, 07:14 AM   #4 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
I can give you some advice on setting up the capture card, but am not familiar with the other apps. From what I've seen, the WinTV tuner / capture card is a good deal, supported with the BTTV driver, and around $50. or less.

I've got a dedicated system here with 3 composite capture cards hooked up to 3 seperate security cameras (yes, one of them is an x10 camera =) ) that works pretty nicely capturing and streaming video in realtime, along with capturing snapshots when something moves in the cameras area. All three cards use the BTTV driver. I'm using the cheapo DVD capture cards by AverMedia. available at newegg.com for around $42.

First, read the thread that redhead posted above, that tells you how to enable all the right modules in the kernel. Then, depending on your distro and how modules are loaded (I use debian), you want to use this config:

/etc/modules.conf
Code:
# I2C module options alias char-major-89 i2c-dev options i2c-core i2c_debug=1 options i2c-algo-bit bit_test=1 ## video alias char-major-81 videodev alias char-major-81-0 bttv options bttv card=0 radio=0 tuner=4 pll=0
/etc/modules (or /etc/rc.modules, etc)
Code:
## load these modules in this order ## makes life easier videodev i2c-dev i2c-core i2c-algo-bit bttv
Reason for the config above is so that the bttv driver doesn't hang. Now, with the WinTV tuner card, you'll need to change the parameters for your card, specifically the 'card' 'radio' 'tuner' options. These can be found in the linux Documentation/video4linux/bttv/ CARDLIST and Cards. There you will (probably) find the card you're using, and all the correct option parms for it.

Once everything is loaded up you can create a ~/.xawtvrc file, something like this and try out xawtv for testing purposes:
Code:
[global] freqtab = us-cable pixsize = 320x240 jpeg-quality = 75 [defaults] input = Television norm = ntsc capture = grabdisplay
Obviously change for your area or your specific needs. That should work fine in the US. Hope this gives you some insight, I know it took me awhile to get it all straightened out.
__________________
bdl is offline   Reply With Quote
Old 08-23-2003, 10:22 AM   #5 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 284
technobard is on a distinguished road
Thanks for the info. I'm finishing up a machine I just built for my wife. My next project is to do the PVR thing. Your info should give me a headstart.
__________________
technobard is offline   Reply With Quote
Old 02-23-2005, 11:14 AM   #6 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 595
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
I built a mythtv box from a 450Mhz pentium III with a haupage PVR-350 and 512 megs of RAM. I got a cheap nividia Geforce2 card to do video out as well. I found it wasn't quite up to watching television live, but it does quite well as time shifting device.

EDIT: Definitely do NOT get an ATI all-in-wonder. It's support in linux is poor to none, and it's just not worth the hassle.
__________________
teknomage1 is offline   Reply With Quote
Old 03-04-2005, 10:05 PM   #7 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
Quote:
EDIT: Definitely do NOT get an ATI all-in-wonder. It's support in linux is poor to none, and it's just not worth the hassle.
They aren't bad if you have one to use or get it for free. The GATOS drivers are actually really easy to install (one `tar xvzf`), but the horrible thing about it is that you are limited to XawTV or the TV app from the GATOS project. Needless to say, I agree with Technomage. If you can get something other than one, by all means get it.
__________________
Network Synapse
Screaming Electron
Kernel_Killer is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:42 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle