Help - Search - Members - Calendar
Full Version: How to speed up tuning process?
DVB Owners Discussion Forum - dvbowners.com > Technical & Development Forums > BDA Driver Development
Indiano
I'm using DVB-T BDA driver and simulate tuning in graph edit. Everything is OK except on thing. I set carrier freq in MS DVB-T Network provider and got all the filters in graph connected. But when I'm trying to run the graph it hangs in Run() call for about 10 seconds. Furthermore TIF does not map video and audio PIDs afterwards. So I need to set them manually. I'd like not to use TIF as I know all necessary PIDs and frequencies, but one more problem is than Network Provider can not locate the signal if there is no TIF in the graph. Seems that Network Provider gets some special info from TIF but I do not know what. I see that after Network Provider had located the signal (using TIF) then ONID, TSID, SID were set. But if I try to set these values manually Network Provider can not locate the signal. What is wrong? I also made an application where I can put bandwidth but it also does not work.
I would like not to use TIF as far as 10 seconds for tuning is awful.
Please help.
JoeyBloggs
If you find a way of building a BDA sourced graph without the TIF, pls let us all know cool.gif Really don't think it's possible.

You can implement manual PID mapping just as DigitalWatch etc have done by splitting the TS and attaching a second Demux which you can control manually.
Indiano
QUOTE (JoeyBloggs @ Jan 30 2005, 05:27 PM)
If you find a way of building a BDA sourced graph without the TIF, pls let us all know cool.gif Really don't think it's possible.

OK, let TIF be, but why do I need manually map the video and audio pids on demux? The only thing network provider can get from TIF is default locator...Maybe I'm doing something wrong, because in MS and DVBT modfied samples source code I can see only putting new tune request and no manual pid mappings at all....
bear
Indiano,

I'm in Oz and my BDA Graph will within 3 sec of starting the graph the NP will tune, map the pids and show video & audio. If you have to wait 10 sec for the tuner to tune then I suspect that you may have a problem with your driver in that it may not be locking quickly enough or maybe your tune request is incorrect. If your pids are not being mapped to the A/V pins then it would suggest that your TIF is unable to parse the correct data from the stream.

I guess the next question to ask is, have you tried nate's BDA scanchannel program to see if there is a problem with the signal ?
JoeyBloggs
QUOTE
OK, let TIF be, but why do I need manually map the video and audio pids on demux?
No it's not necessary to manually map PID's. You were asking if it could be done that's all... As bear is saying it's only necessary if you want to manually map say an AC3 stream that is not recognised by the TIF sad.gif
Indiano
QUOTE (bear @ Jan 30 2005, 10:54 PM)
If you have to wait 10 sec for the tuner to tune then I suspect that you may have a problem with your driver in that it may not be locking quickly enough or maybe your tune request is incorrect.

I found that this problem mostly appeared when tuning first time, may be this was caused by some initialization performed inside BDA engine.
As for tune request I can not define is it correct or not, because submitting this request returns no error. But I'm sure it does not contain enough info for locating the signal as far as when I connected NP->Tuner->Capture and put the freq then signal strength is 0 (zero).

QUOTE (bear @ Jan 30 2005, 10:54 PM)
If your pids are not being mapped to the A/V pins then it would suggest that your TIF is unable to parse the correct data from the stream.

I'm not sure about the signal quality; signal strength varies from 1600 to 2000 but AFAIK it is very driver specific value and so far has no meaning for me.
But I found that from time to time NP displays that not all IDs set (SID, TID, NID) and may be this was caused by errors in TS or bad signal.
I think about dumping the source stream and analyse it afterwards, is it possible?

QUOTE (bear @ Jan 30 2005, 10:54 PM)
I guess the next question to ask is, have you tried nate's BDA scanchannel program to see if there is a problem with the signal ?

No, I have not. Can you post me the link?
Indiano
QUOTE (JoeyBloggs @ Jan 31 2005, 06:31 AM)
No it's not necessary to manually map PID's. You were asking if it could be done that's all... As bear is saying it's only necessary if you want to manually map say an AC3 stream that is not recognised by the TIF sad.gif
[

I have no AC3 inside my TS.
nate
QUOTE (Indiano @ Jan 31 2005, 01:26 PM)
I think about dumping the source stream and analyse it afterwards, is it possible?
Yes it's possible, but to start with I'd just see if ScanChannelsBDA can produce decent results.
Indiano
QUOTE (nate @ Jan 31 2005, 01:02 PM)
ScanChannelsBDA can produce decent results.

I've just downloaded version 2.0.0.2 bet it results that no BDA device are present. Strange... I will look through ScanChannel forum thread and your source code in order to find out what's wrong.
Thanks.
nate
What device do you have? If it's not one that's been tested with ScanChannelsBDA before and you can work out the changes needed to get it working then let me know them and i'll update it for everyone else.
Indiano
QUOTE (nate @ Jan 31 2005, 02:56 PM)
What device do you have? If it's not one that's been tested with ScanChannelsBDA before and you can work out the changes needed to get it working then let me know them and i'll update it for everyone else.
*

Actually device is under development now and not yet released, so as I already said I will look through source code and tell you about results.
Thanks.
Indiano
QUOTE (nate @ Jan 31 2005, 02:56 PM)
What device do you have? If it's not one that's been tested with ScanChannelsBDA before and you can work out the changes needed to get it working then let me know them and i'll update it for everyone else.
*

Nate,
I've returned back to my DVBT project and have checked your ScanChannel app. Well, I modified some parts of your source code so your app can work now with mycard. But when I tried to scan the network I found that my device never sets the SignalLocked property (even if the signal actually is present), so I can never do the scan. I suppose it is a driver bug, anyway what if to check for signal strength only? To my mind if we have a signal (its strength > 0) then we can start scanning process, am I wrong? What does "Locked" property stand for? I'm not a BDA driver and DTV specialist so far, please help.
nate
QUOTE
what if to check for signal strength only? To my mind if we have a signal (its strength > 0) then we can start scanning process, am I wrong?
It would work for you card, but not for others. In some cards the strength property returns low values for good strength and high values for low to no strength.

How about the quality value? would checking for a non-zero quality work for your card?

Ideally you should see if you can get the drivers fixed.
Indiano
QUOTE (nate @ Apr 3 2005, 09:37 AM)
How about the quality value? would checking for a non-zero quality work for your card?

Unfortunately the quaity value is zero, but SignalPresent is set to 1. Maybe can also use this value?
Thanks.
JoeyBloggs
If SignalPresent is TRUE then Locked must also be TRUE cool.gif Presumably if the drivers don't reflect this, they will fail certification.
Indiano
QUOTE (JoeyBloggs @ Apr 3 2005, 08:50 PM)
If SignalPresent is TRUE then Locked must also be TRUE cool.gif Presumably if the  drivers don't reflect this, they will fail certification.
*

I know that drivers are not yet perfect, but I have niether time nor experience to modify them right now. So far I will use both SignalStrength and SignalPresent properties to check if can start scanning.
Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.