[mythtv-users] Cannot change channel and low FPS problems

2005-05-05 Thread Rickard Borgmäster
Hello,

Could someone please explan what is what of:
* Channel ID
* Channel number
* Channel callsign

This is what it looks like in my database:

mysql use mythconverg;
mysql select chanid, channum, freqid, sourceid, callsign, name from
channel;
++-++--+--+---+
| chanid | channum | freqid | sourceid | callsign | name  |
++-++--+--+---+
|   1000 | SE11||1 | 1000 | Kanal 5   |
|   1001 | E5  ||1 | 1001 | Svt 1 |
|   1002 | E7  ||1 | 1002 | Svt 2 |
|   1003 | E6  ||1 | 1003 | TV4   |
|   1004 | 57  ||1 | 1004 | TV4 Plus  |
|   1005 | E11 ||1 | 1005 | TV3   |
|   1006 | E8  ||1 | 1006 | ZTV   |
|   1007 | E10 ||1 | 1007 | Discovery Mix |
|   1008 | SE17||1 | 1008 | Eurosport |
|   1009 | SE16||1 | 1009 | MTV Nordic|
++-++--+--+---+
10 rows in set (0.00 sec)


1001...1009 has been autogenerated from somewhere I think, maybe
tv_grab_se_swedb or such. I don't know it is correct and I am afraid to
fuck something up if I change those numbers. I'd like to map channels as
one would do with a plain ol' TV (National Channel 1 - Button 1 etc).
What should I change?

I have probems chaning channels in myth. Picture is displayed OK and I can
use ivtv:s ptune.pl -c SE16 to watch MTV. If I try to change channel in
myth, picture freezes for a second or two and then the same channel is
still displayed. Mythfilldatabase is OK i think. EPG info an such look
good. Maybe it has something to do with the above channel setup? Or maybe
MythTV relies on some tuner script that it can't find? Or maybe it is
because the freqid field in the database is empty? (What is this field
for anyway?) My channel plan is PAL europe-west.

There is another problem aswell. Picure is slow motion. Feels like it
would be ~10 FPS or such. Strange. Playing video like mplayer
/dev/video0 is all fine.

Myth system specs:
Gentoo 2.6.11-r6 kernel
ivtv 0.3.4b
mythtv from CVS grabbed 2005-05-04
CPU: Intel PIII 800Mhz
TV-Card: WinTV PVR-150 (non-MCE)
Graphics: NVidia FX5200 with nvidia binary driver 1.0.6629

Best regards,
Rickard Borgmäster
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Cannot change channel and low FPS problems

2005-05-05 Thread Leigh
On Thursday 05 May 2005 15:31, Rickard Borgmäster wrote:

 I have probems chaning channels in myth. Picture is displayed OK and I can
 use ivtv:s ptune.pl -c SE16 to watch MTV. If I try to change channel in
 myth, picture freezes for a second or two and then the same channel is
 still displayed. Mythfilldatabase is OK i think. EPG info an such look
 good. Maybe it has something to do with the above channel setup? Or maybe
 MythTV relies on some tuner script that it can't find? Or maybe it is
 because the freqid field in the database is empty? (What is this field
 for anyway?) My channel plan is PAL europe-west.


I had similar problems when I first tried setting up channels. Try running the 
mythbackend and frontend from seperate shells so you can see any errors being 
generated when you try to change the channel.  Mine (from memory.it was a few 
months ago now) was caused by me having messed up adding some channels, so it 
basically couldn't find anything 'valid' to switch to.
I could view the initial channel that MythTV started on, but when trying to 
change I got exactly what you describe. I'm using Europe-west for the 
channels as well. I'd have to check in my channels setup to see what I have 
in for the freqid, but I think I've put the channel number (i.e BBC1 is 29 or 
something similar - depending on what your signal source is). I'm currently 
getting the normal terrestrial channels directly off my cable TV's coax, tho 
the picture isn't all that fantastic (especially comparted to the 'real' 
cable channels).

Hope this is helpful in some small way, cos it was starting to drive me nuts 
when I could see channel info, but not change to it !
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Cannot change channel and low FPS problems

2005-05-05 Thread Bruce Markey
Rickard Borgmäster wrote:
Hello,
Could someone please explan what is what of:
* Channel ID
* Channel number
* Channel callsign
This is what it looks like in my database:
mysql use mythconverg;
mysql select chanid, channum, freqid, sourceid, callsign, name from
channel;
++-++--+--+---+
| chanid | channum | freqid | sourceid | callsign | name  |
++-++--+--+---+
|   1000 | SE11||1 | 1000 | Kanal 5   |
--^^^
The freqid is the information that myth needs to tell the tuner or
external script how to tune to this channel. I believe in your
country this may be need the actual frequency values. Hopefully
one of youir countrymen can let you know exactly how to fill
these in. Without these, myth cannnot change channels for you.
--  bjm
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Cannot change channel and low FPS problems

2005-05-05 Thread Bruce Markey
Rickard Borgmäster wrote:
Hello,
Could someone please explan what is what of:
* Channel ID
The database unique row number used to find that specific
set of information.
* Channel number
The number on the dial (back when TV's had dials) that you
twist to in order to receive that channel.
* Channel callsign
The short set of letters to identify the TV station that is
normally broadcast over this channel.
* Channel name
A longer text name to identify the TV station that is normally
broadcast over this channel.
First, a channel and a station are not the same thing. A
station is in a building with employees with lots of wire and
equipment and usually has an antenna on top or on a nearby hill.
A channel is a frequency or identifier that a TV set uses to
select a signal on the wire from an antenna or cable. The same
station may be available on two or more channels or from two
or more video sources (over the air, cable, satellite, digital).
The same channel (frequency) in another location may carry a
different station's broadcasts.
mysql select chanid, channum, freqid, sourceid, callsign, name from channel
   - where callsign = 'CNN' or callsign = 'HBO' or callsign = 'KVBC'
   - order by callsign;
++-++--+--++
| chanid | channum | freqid | sourceid | callsign | name   |
++-++--+--++
|   1020 | 20  | 20 |1 | CNN  | Cable News Network |
|   2210 | 210 | 210|2 | HBO  | Home Box Office|
|   1003 | 3   | 3  |1 | KVBC | KVBC (NBC) |
|   2003 | 3   | 3  |2 | KVBC | KVBC (NBC) |
|   2123 | 123 | 123|2 | KVBC | KVBC (NBC) |
++-++--+--++
4 rows in set (0.01 sec)
Chanid distinguishes that 1003 and 2003 are the information for source
1 and 2 even though they are the same station on the same channel.
Channum 123 is a different channel for KVBC and needs a different
frequency to get the programming from the same station that is also
on channel 3.
Freqids for source one are sent to the tuner for the coax input.
Source 2 is a digital cable box connected to s-video and the freqid
is sent to an external script.
Sourceid 1 is analog coax cable. 2 is from a digital settop box.
The callsigns can be used in small spaces in the UI to identify
the station such as the left column of the EPG or the middle column
for Upcoming Recordings. However, it is also used by the scheduler
for 'channel matching'. If I set a Channel record rule for The
Apprentice (NBC) on 123, the scheduler sees that this is on KVBC
and it could use chanid 1003, 2003, or 2123 to record this. More
info on how and why it chooses which one to use can be found at:
 http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.7
The channel name has no function other than for display in the
UI where there is room for a full station name like the information
area at the bottom of the Set Priorities page.
--  bjm
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Cannot change channel and low FPS problems

2005-05-05 Thread Rickard Borgmäster
On Thu, 05 May 2005 10:15:05 -0700
Bruce Markey [EMAIL PROTECTED] hit the keyboard and punched:

 The freqid is the information that myth needs to tell the tuner or
 external script how to tune to this channel. I believe in your
 country this may be need the actual frequency values. Hopefully
 one of youir countrymen can let you know exactly how to fill
 these in. Without these, myth cannnot change channels for you.

Thanks Bruce,

Now I realize that I had mixed up channel number with frequency id.
I've adjusted that now for my local feed (ComHem analogue):

++-++--+---+---+
| chanid | channum | freqid | sourceid | callsign  | name  |
++-++--+---+---+
|   1000 | 5   | SE11   |1 | Kanal 5   | Kanal 5   |
|   1001 | 1   | E5 |1 | SVT1  | Svt 1 |
|   1002 | 2   | E7 |1 | SVT2  | Svt 2 |
|   1003 | 4   | E6 |1 | TV4   | TV4   |
|   1004 | 8   | 57 |1 | TV4+  | TV4 Plus  |
|   1005 | 3   | E11|1 | TV3   | TV3 Sverige   |
|   1006 | 6   | E8 |1 | ZTV   | ZTV   |
|   1007 | 9   | E10|1 | Discovery Mix | Discovery Mix |
|   1008 | 10  | SE17   |1 | Eurosport | Eurosport |
|   1009 | 7   | SE16   |1 | MTV   | MTV Nordic|
++-++--+---+---+

And now changing channels work fine :-) Not as fast as I'd like to but
still fine. I think I have got a better clue about what is what now. Thank
you for that explanation.

Now I just gotta find out why picture FPS is so low :-((

-- 

Rickard

   .--..--.
.. |  ||  | .-.
|   Rickard Borgmäster   | |  ||  |/  /
| [EMAIL PROTECTED] |   .-^  |  .--.  | 
| http://doktorn.sub.nu/ |  (  o  | ( () ) |  |\  \
`'  `-'  `--'  `--' `--'


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users