Re: Need help with MythTV .24 on Fedora 14
- From: General Schvantzkoph <schvantzkoph@xxxxxxxxx>
- Date: 5 Dec 2010 02:40:08 GMT
On Sun, 05 Dec 2010 00:42:46 +0000, Kevin Snodgrass wrote:
On Sat, 04 Dec 2010 23:10:26 +0000, General Schvantzkoph wrote:
I gave up and installed MeTV
I'll give that a try. Thanks
Will you be the only one using this system? If so (i.e. no "wife
approval factor) and you are comfortable doing your own thing you could
go my route and ditch all the MythTV/MeTV/whatever frontend
pointy-clicky gooey stuff and write some scripts to do your recordings.
I then just use mplayer to play the vids back. Most of the Hauppauge
(internal) cards use the IVTV driver, which is now included in modern
kernels, just "cat /dev/video0 > filename.mpg" and Bob's your uncle.
Here is my entire record.sh:
---------------------------------------------------------------- $ cat
record.sh
#!/bin/bash
if [ "foo$3" = "foo" ]
then
echo "Usage: record.sh x yy zzzz[smh]" echo "Where: x = video
device"
echo " yy = channel number"
echo " zzzz = duration"
echo " [smh]= in seconds, minutes, or hours" exit 0
fi
DEV=$1
CHAN=$2
TIME=$3
DATE=`date +%Y%m%d`-`date +%H%M`
RDIR=/mnt/sdc1/video
echo "/dev/video"$DEV " Channel "$CHAN " Duration "$TIME echo $DATE
/home/kevin/bin/channel.sh $DEV $CHAN
cat /dev/video$DEV > $RDIR/Tuner_$DEV-$CHAN-$DATE.mpg &
CAT_PID=$!
# $! is PID of last job running in background.
sleep $TIME
# You should add some check here to make sure cat is still running, #
otherwise you might accidentally kill some other process. kill $CAT_PID
----------------------------------------------------------------
And channel.sh
---------------------------------------------------------------- $ cat
channel.sh
#!/bin/bash
#FREQ=us-cable
FREQ=us-cable-hrc
#FREQ=us-cable-irc
DEV=$1
CHAN=$2
/usr/bin/ivtv-tune --freqtable=$FREQ --channel $CHAN -d /dev/video$DEV
----------------------------------------------------------------
You might also have to install ivtv-utils RPM to get ivtv-tune (and
other useful stuff).
The first three lines (FREQ=) might not be needed anymore, not sure.
The ivtv driver might have autodetect abilities now. If you can do
"mplayer /dev/video0" and get good output then whatever freq table is
being used is the correct one. If not, try each of the three listed, if
that doesn't work there are other freq tables but I forget where to find
that info.
Wow, that turned out longer than expected...
I'm building the box for my girlfriend. She want's a VCR replacement, she
doesn't want anything that requires a subscription so a real TIVO is out.
She also just has basic cable, and she only has that because you can't get
Comcast Internet access without it. My-TV does exactly what she wants,
i.e. a simple mechanism for scheduling a recording and nothing else.
However I haven't been able to get it to play anything, the channel
listings have been populated but I can't watch anything, any help would be
appreciated.
.
- References:
- Need help with MythTV .24 on Fedora 14
- From: General Schvantzkoph
- Re: Need help with MythTV .24 on Fedora 14
- From: The Natural Philosopher
- Re: Need help with MythTV .24 on Fedora 14
- From: General Schvantzkoph
- Re: Need help with MythTV .24 on Fedora 14
- From: Kevin Snodgrass
- Need help with MythTV .24 on Fedora 14
- Prev by Date: Re: Need help with MythTV .24 on Fedora 14
- Next by Date: Re: Need help with MythTV .24 on Fedora 14
- Previous by thread: Re: Need help with MythTV .24 on Fedora 14
- Next by thread: Re: Need help with MythTV .24 on Fedora 14
- Index(es):
Relevant Pages
|