← Back to team overview

me-tv-development team mailing list archive

Re: [Question #46081]: Will there be DVB-S support in 0.6+?

 

Question #46081 on Me TV changed:
https://answers.launchpad.net/me-tv/+question/46081

    Status: Answered => Open

Florian W. is still having a problem:
Hi there!

In the last few days I tried to see how far I can get with DVB-S
integration. I have no experience or knowledge of the DVB standard(s),
and the DVB API documentation is not that helpful either. On top of
that, I'm not a C/C++ coder. All that memory management kind of confuses
me. ;-) But so far I've managed to...

# Let me-tv tune my DVB-S device according to the "intital transponder line" (/usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E).
# me-tv automatically started parsing the data stream for any channels broadcasted on that transponder (SDT, PDT, or whatever that is called) - that is only 13 channels, actually. And they are not at all interesting.
# I added support for "NIT" (Network Information Table) parsing, so now me-tv extracts frequencies, symbol rates, etc. for other transponders out of the data stream and saves them
# Last but not least, I changed the dvb_scanner so it actually tunes to those transponders after reading the NIT and channels from the first transponder.

Now here is my problem where I hope someone who is more knowledgeable
may help me. The "re-tuning" to new transponders fails 90% of the time.
It's only for some of the transponders where it works. However, and that
is what's driving me mad: If I copy the frequencies, symbol rates, etc.
of a "failed" tune process into my "intital tuning file" (see above) and
comment out the default initial transponder, the tuning works. So I
suspect that maybe I have to do some cleaning-up or closing of certain
ressources which I'm not aware of.

I compared two debug outputs where I print anything that might be wrong
in the process. IMHO, they look exactly the same, only the first output
fails to signal lock (note: after 2 seconds, but I also tried a 10
second timeout without success). Here they are.

(a: failed tuning; frequency etc. read from data stream of NIT - network information table)
05.03.2009 10:39:33: Trying to tune to freq 10788000, symbol rate 22000000, inner fec 5
05.03.2009 10:39:33: diseqc - satnum 0 , pol 1 , hiband 0 msg_3 = 240
05.03.2009 10:39:33: diseqc - created commands: voltage 0 - tone 1 - burst 0 - msg3 240.
05.03.2009 10:39:33: Diseqc'd, as this is a dvb-s device. We're hiband? 0 new freq: 1038000 polarisation: 1
05.03.2009 10:39:33: Waiting for signal lock ...
05.03.2009 10:39:35: status: 1
05.03.2009 10:39:35: Exception: Failed to lock to channel
05.03.2009 10:39:35: Failed to tune to transponder at '10788000'

(b: successful tuning; frequency etc. loaded from intital tuning file)
05.03.2009 10:40:52: Trying to tune to freq 10788000, symbol rate 22000000, inner fec 5
05.03.2009 10:40:52: diseqc - satnum 0 , pol 1 , hiband 0 msg_3 = 240
05.03.2009 10:40:52: diseqc - created commands: voltage 0 - tone 1 - burst 0 - msg3 240.
05.03.2009 10:40:52: Diseqc'd, as this is a dvb-s device. We're hiband? 0 new freq: 1038000 polarisation: 1
05.03.2009 10:40:52: Waiting for signal lock ...
05.03.2009 10:40:52: Got signal lock
[...]

I'm in #me-tv on FreeNode a few hours a day, my nick is jui-feng. :-)

-- 
You received this question notification because you are a member of Me
TV Development, which is an answer contact for Me TV.