Re: Need help with MythTV .24 on Fedora 14



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.

.



Relevant Pages

  • Re: OT: Thank God, Its finally over!
    ... >>>figure there would be a lot of interference with two stations on the same ... >>>freq in proximity to one another. ... >> Not really, they can 'simulcast' them, one transmitter controls ... Of course the audio channel of TV transmitters ...
    (alt.autos.toyota)
  • Re: OT: Thank God, Its finally over!
    ... >>figure there would be a lot of interference with two stations on the same ... >>freq in proximity to one another. ... > Not really, they can 'simulcast' them, one transmitter controls ... Of course the audio channel of TV transmitters ...
    (alt.autos.toyota)
  • Re: How to find FCC final Freq assignments for digital TV coverage areas
    ... This should include channel number, power, coverage area, chance ... for analog skip problems (this should be part of the internal FCC ... decision for power and freq for coverage areas). ... When looking for an HD station, ...
    (alt.tv.tech.hdtv)
  • Re: Source For Station Names/Frequency Assignments?
    ... single-digit (channel?) qualifier. ... then checked the freq via VLC Media Player - but none of the HD's ... I'd like to cross check against known frequencies. ... Does anybody have a link to something that lists stations and ...
    (alt.tv.tech.hdtv)