View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 27, 2005 10:26 am 
Offline
Joined: Tue Sep 27, 2005 9:53 am
Posts: 4
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:
  1. I can't get MythTV to tune a signal on my card (I get static on top third of screen and green on bottom 2 thirds)
  2. I can't specify (none) for audio device on my capture card
  3. I can't change the channel in MythTV
  4. MythTV Backend segfaults when trying to change the channel (it also trys and fails to opens audio device even when capturecard.audiodevice is set to NULL or "")...
I wonder if 2,3 and 4 are related issues.

Here's my setup:
  • HDD Auto install of KnoppMyth R5A16
  • VP6 2xP3 800Mhz w/ 1GB RAM, 60GB 7200 RPM
  • Tuner: Zoltrix TV/FM Genie (bttv, card=46, tuner=autodetect) has 2 RF inputs both seem to be the same.
  • No soundcard
  • Voodoo 3 3000 16MB w/ S-Video out
  • Tulip NIC


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


Last edited by gto on Tue Sep 27, 2005 11:42 am, edited 3 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 10:27 am 
Offline
Joined: Tue Sep 27, 2005 9:53 am
Posts: 4
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 8:35 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 27, 2005 8:45 pm 
Offline
Joined: Tue Sep 27, 2005 9:53 am
Posts: 4
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... :D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu