Me-TV looks for dvb-utils which are named dvb-apps on Mandriva

Asked by Rawwbot

Hi,

im trying to get Me-Tv running. Started Me-TV from /usr/local/share/me-tv/glade/

Now Me-TV starts up, tells me that i dont have a channel.conf in /home/$user/.me-tv and after clicking on Yes (for creating a channels.conf) it trys to open something in
/usr/share/doc/dvb-utils/examples/scan/dvb-s which cant be found because dvb-utils is named dvb-apps on Mandriva 2008.0 and the example files are stored in ‎/etc/dvb/channels.conf-dvbs-astra (example for Astra19.2).

Can i simply create a channels.conf using scandvb ?

Regards

RawwBot

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#1

Hi,

I have already anticipated this issue. I wasn't sure how to address it properly so I made a #define in the application called SCAN_DIRECTORY.

For example, on SUSE, use `./configure CXXFLAGS=-DSCAN_DIRECTORY=\\\"/usr/share/dvb-utils/scan\\\"`

At the moment, scan (from dvb-utils) will work if you live in an English speaking country, but scan isn't guaranteed to produce UTF-8 files. Me TV will check that the channels.conf is UTF-8, if it's not then Me TV will exit. You can use `iconv` to convert it if you know the encoding of the file. Me TV can determine the type of encoding while it's scanning, convert it and produce a nice UTF-8 channels.conf file.

Thanks,

Michael
FAQ #55: “Me-TV looks for dvb-utils which are named dvb-apps on Mandriva”.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#2

Added it as an FAQ because I've been asked this a few times over email. Hope it helps.

Thanks for trying Me TV.

Michael

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#3

I'm assuming that this is solved.

Revision history for this message
Rawwbot (rawwbot) said :
#4

Hi Michael,

the Problem finding the scan app is solved. But therefore Me-TV doesnt want the generated channels.conf. The entries are wrong?

DVB-S Astra19.2E
ASTRA SDT:12551:v:0:22000:0:0:12
Das Erste:11836:h:0:27500:101:102:28106

Im gonna wait till a build-in scanner is implemented (youre planning something like that if im not wrong (english aint my native Language)) and Test again.

Thx for your help

Jens (RawwBot)

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#5

The built-in scanner is complete and operational in Me TV. If there's an issue with it I'd really like to know about it. What's wrong with the entries?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#6

Hi again Rawwbot, I would like to know if you are still having issues? You're German, right? I have friends/users in Germany if that is easier for you.

Revision history for this message
Rawwbot (rawwbot) said :
#7

Hi Michael,

sorry was quite ill.

I dont have any further issues with the Scanner / Startup etc. Only watching TV kicks my CPU (AMD XP 1700+) with 98% ... but i think i can solve that as soon as i get xvmc running again

Btw, theres a Mandriva Package for Me-TV at www.mandrivauser.de , with that package it works for me without any problems, even the path variable for dvb-utils / dvb-apps is set and works like a charm.

To add Repository from www.mandrivauser.de to Mandriva 2008.0 Repository use this command-line as root:

urpmi.addmedia --update mud-free_release ftp://ftp.mandrivauser.de/rpm/GPL/2008.0/i586/release/ with hdlist.cz

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#8

Do all applications cause high CPU usage? Do you know how to get xvmc running in Me TV?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#9

Sorry, I mean, do all DVB applications cause high CPU usage?

Revision history for this message
Rawwbot (rawwbot) said :
#10

Hi Michael,

only Me-TV produces that high CPU usage.
Normally i have a cpu usage of about 10 - 15% with Kaffeine when xvmc / xxmc is working, actually it is about 20 - 30% .

I tried to enable xvmc / xxmc in $user/.me-tv/me-tv.config with a Texteditor, changing the entry

><add key="xine.video_driver" value="default"

to

><add key="xine.video_driver" value="xvmc"

which doesnt seem to work at the moment because of a still unknown problem with xvmc / xxmc (all other Video Apps also cant use xvmc / xxmc) but the values
><add key="xine.video_driver" value="xshm" or ><add key="xine.video_driver" value="xv" are working.

Regards
Jens

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#11

Does the high CPU usage only happen when you use "xshm"? Or was that only with "xv"?

Revision history for this message
Rawwbot (rawwbot) said :
#12

Hi,

the high CPU usage seems only to appear when xv OR xshm is used and the EPG Data is getting read from DVB-S or the xml file.

When the EPG window is opened and i switch to a different Channel the CPU usage jumps from 10 - 15% (using xv) to 95 - 99%.

When the EPG window is closed and i switch to a different Channel the CPU usage shortly (about 5sec) jumps from 10 - 15% (using XV) to 80 - 90% and than back to 10 - 15%.

Im no programmer but i think its a problem generating the EPG Timeline when a lot of EPG are received from a DVB-S Card (Skystar2) or the xml file. Checked with Kaffeine EPG and found out that on some Stations i get EPG for up to 14 days (like for ARD, ZDF).

Regards

Jens

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#13

Yes, Me TV has issues with large amounts of EPG data. I'll think about adding an option to turn off the automatic update of the EPG in the 0.5 series because it's almost unusable for some people. There will have to be a button on the EPG window to reload/refresh. If you like this idea and you think that it'll work for you then please create a blueprint for it and I'll get started immediately.

Revision history for this message
Vivian Stewart (vivichrist) said :
#14

how would Me-TV know what LNB I use

L.O is 11300

Basic capabilities:
    Name: "Conexant CX24123/CX24109"
    Frontend-type: QPSK (DVB-S)
    Frequency (min): 950.000 MHz
    Frequency (max): 2150.000 MHz
    Frequency stepsiz: 1.011 MHz
    Frequency tolerance: 5.000 MHz
    Symbol rate (min): 1.000000 MSym/s
    Symbol rate (max): 45.000000 MSym/s
    Symbol rate tolerance: 0 ppm
    Notifier delay: 0 ms
    Frontend capabilities:
        auto inversion
        FEC 1/2
        FEC 2/3
        FEC 3/4
        FEC 4/5
        FEC 5/6
        FEC 6/7
        FEC 7/8
        FEC AUTO
        QPSK

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#15

Hi vivichrist,

That's a very good question. It doesn't. It defaults to "UNIVERSAL" (see below).

I've completely missed it and you're the first person to mention it. I've never owned a DVB-S card myself so the DVB-S code is mostly guesswork.

The current list of available LNBs are:

 {"UNIVERSAL", univ_desc, 9750, 10600, 11700 },
  {"DBS", dbs_desc, 11250, 0, 0 },
 {"STANDARD", standard_desc, 10000, 0, 0 },
 {"ENHANCED", enhan_desc, 9750, 0, 0 },
 {"C-BAND", cband_desc, 5150, 0, 0 },
 {"C-MULTI", cmulti_desc, 5150, 5750, 0 }

Now, I've stolen this from `scan` from dvb-utils. Are you able to guide me in what I need to do. Sure, I can allow the user to select one of these values but it appears that yours are different.

Thanks,

Michael

Revision history for this message
Vivian Stewart (vivichrist) said :
#16

well those are all the common ones ... but in New Zealand it's a bit different. for correct calculations `scan` needs -l 11300 for my setup and even then it doesn't work...?
in mythtv however the settings that work are:
LOF high/switch:0 (or somthing automatic...?)
LOF low:11300

this is non standard and I think this because of the way skyTV network sets up ku-band dishes in this part of the world.
as you may know 12456000 - 11300000 = 1156000 the actual modulated down frequency. So {"NZ-STANDARD", nzstandard_desc, 11300, 0, 0 } maybe?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#17

Well I have no idea what that stuff is all about but I'm happy to code it if you're happy to test it. Email me so we can continue this offline. There's no need to keep logging this in the question on LP.