LinHES Forums http://forum.linhes.org/ |
|
4 Problems left to a working KnoppMythTV installation... http://forum.linhes.org/viewtopic.php?f=14&t=6209 |
Page 1 of 1 |
Author: | gto [ Tue Sep 27, 2005 10:26 am ] |
Post subject: | 4 Problems left to a working KnoppMythTV installation... |
Edit: I misread the forum index page description, sorry should have posted thread this in KnoppMyth Installation... apologies to the admins/mods... please punt it to that area... I'm struggling to get through the last steps of a decent KnoppMyth install picking up analog reception OTA, here are my issues:
Here's my setup:
I'm able to use scantv to configure xawtv, and I wrote a script to convert the scantv results into mythtv sql inserts. I'll post that in a reply to this message below. Myth always complains about no audio device, MythTV setup will not accept (none) as an audio source (it doesn't reject it, just silently replaces it with /dev/dsp in the DB). When I run xawtv first, myth will open the tuner up to the last channel that xawtv tuned, otherwise the channel will be untuned (as described above static on top, green bottom). I can get the page up and page down OSD display about how far ahead/behind I am and I can get the sleep F7/F8 OSD. If I type a number the screen freezes and most of the time mythtvbackend will segfault. Any pointers or suggestions would be much appreciated. -G |
Author: | gto [ Tue Sep 27, 2005 10:27 am ] |
Post subject: | |
As promised the script I used to convert scantv -> mythtv SQL Code: #!/bin/sh
# # ScanTV channels to MythTV DB channels converter script # # Date: Sept 26, 2005 # Copyright: Garth Dahlstrom <ironstorm@users.sf.net> (C) 2005 # License: GPL V2.0+ < http://www.gnu.org/licenses/gpl.txt > # # Video Source Device for MythTV VID_SOURCE=1 # Offset to add to all chanids CHANID_START=999 echo Starting ScanTV - This can take 2-3 minutes... # ScanTV temp data file SCANDATA=scantvdata.txt # echo's in 1<newline> 0<newline> into scantv which means NTSC and us-bcast are chosen echo -e "1\n0" | scantv 2>&1 | grep "MHz" | grep -v "no station" | grep -n -v "no station" > $SCANDATA echo MythTV MySQL channel output... echo ----- cut ----- echo echo use mythconverg echo for LOOP_COUNT in `seq $(cat $SCANDATA|wc -l)` do CHAN_ID=`expr $CHANID_START + $LOOP_COUNT` CHAN_DATA=`cat $SCANDATA|grep "$LOOP_COUNT:"|head -1` CHAN_NUM=`echo $CHAN_DATA|cut -d":" -f2|cut -d" " -f1` FREQ_ID=$CHAN_NUM # `echo $CHAN_DATA|cut -d":" -f2|cut -d"(" -f2|cut -d")" -f1|sed "s/ //g"` CALLSIGN=`echo $CHAN_DATA|cut -d":" -f3|sed "s/ //"` CHAN_NAME="$CHAN_NUM - $CALLSIGN" # INSERT INTO `channel` (chanid, channum, freqid, sourceid, callsign, name) VALUES ($CHAN_ID,'$CHAN_NUM','501.25MHz',1,'TVO','19 - TVO') echo "INSERT INTO \`channel\` (chanid, channum, freqid, sourceid, callsign, name) VALUES ($CHAN_ID,'$CHAN_NUM','$FREQ_ID',$VID_SOURCE,'$CALLSIGN','$CHAN_NAME');" done echo echo exit echo echo ----- eof ----- echo echo next you have to do: echo echo su - echo mysql echo echo then past the lines above into mysql echo |
Author: | tjc [ Tue Sep 27, 2005 8:35 pm ] |
Post subject: | |
That is a rather underpowered box for a YUV capture card that requires software encoding... I think you may be pumping a dry well there... |
Author: | gto [ Tue Sep 27, 2005 8:45 pm ] |
Post subject: | |
tjc wrote: That is a rather underpowered box for a YUV capture card that requires software encoding... I think you may be pumping a dry well there...
Yup, I'm fully aware I'm probably going to need a 3GHz cpu to do HD encoding when my Air2PC HD5000 arrives... I thought it would be a good proof-of-concept to use my old junker-pc to check out myth's features, learn the layout of things and start solving gotchas... I should think the old beast's enough CPU to watchtv/record/do scheduling, stream music, do s-video out to a TV... since it did those things in it's prime. I'm not worried about encoding... ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |