DVB-T + BDA + VLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

Postby Lotesdelere » 19 May 2007 02:20

Compare the logs from playing the stream live and playing back from file.
Found nothing suspect to me, although I still got a lot of 'Invalid header' messages in both cases (live and file).
Also, try specifying sout to play locally when playing live. This seems to cause vlc to do things slightly differently.
I do, this is the command line I'm using:
dvb-t:// :dvb-frequency=642000 :dvb-bandwidth=8 :sout=#duplicate{dst=display} :sout-display-delay=1000

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 19 May 2007 10:40

The registry values are :

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HCW88bda\DVBS_as_DVBT\198500] ; #8 "dvbs_freq"=dword:AC2A38 ; 11283000 "dvbs_polarity"=dword:2 ; 2 "dvbs_srate"=dword:6B6C ; 27500 "nit_onid"=dword:7E ; 126 "nit_tsid"=dword:9DD0 ; 40400 "nit_nid"=dword:1 ; 1
and this is the significations of the values are :

dvbs_freq : Frequency in KHz
dvbs_polarity : Polarity of the signal (Horizontal=1, Vertical=2)
dvbs_srate : Symbol Rate in MSps, Eg. 27500
nit_onid : OriginalNetworkID,
nit_tsid : TransportStreamId, and
nit_nid : NetworkID of the DVB-S stream.

the "nit_onid" value is the network Id on the satellite
and the "nit_nid" is the terrestrial emulated network Id

in the HKEY directory the "198500" is the terrestrial frequency

In my opinion we have to tell vlc witch network Id and Transportstream to use. I have not yet seen another dvb-s software not needing them.
As far as I can tell the linux version of VLC does not use these values for dvb-s.

In your registry go to HKEY_LOCAL_MACHINE\Software\Microsoft\TuningSpaces
and find the one for DVB-S and post the contents (including Default Locator).
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 19 May 2007 11:48

Tunning spaces :

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tuning Spaces\10] @="{B64016F3-C9A2-4066-96F0-BD9563314726}" "Name"="DVB-S" "Network Type"="{FA4B375A-45B4-4D45-8440-263957B11623}" "System Type"=dword:00000002 "Network ID"=dword:ffffffff "High Oscillator Frequency"=dword:ffffffff "Low Oscillator Frequency"=dword:ffffffff "LNB Switch Frequency"=dword:ffffffff "Spectral Inversion"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tuning Spaces\10\Default Locator] @="{1DF7D126-4050-47F0-A7CF-4C4CA9241333}" "Frequency"=dword:ffffffff "InnerFECMethod"=dword:ffffffff "InnerFECRate"=dword:ffffffff "OuterFECMethod"=dword:ffffffff "OuterFECRate"=dword:ffffffff "ModulationType"=dword:ffffffff "SymbolRate"=dword:ffffffff "Polarisation"=dword:ffffffff "OrbitalPosition"=dword:ffffffff "Azimuth"=dword:00000000 "Elevation"=dword:ffffffff "WestPosition"=dword:ffffffff
I have 2 more dvb-s tunning spaces but seem to be software fakes :
one is mediaportal, the other is odsoft

Can I download vlc+bda source code somewere ?
If yes, tell me witch compiler you are using (cgywin ?)
I could maybe do some trys on myself.

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 19 May 2007 13:36

I've made some changes to enable settings for Network-id and Spectral Inversion. I will commit the latest changes so they get into the nightlies.
You can also try changing the setting in the registry as these are the default values picked up by BDA.

By all means have a try yourself. Personally, I cross compile from Linux using gcc and mingw.

To get to the source code go to http://www.videolan.org/developers/ and follow the hyperlinkks to subversion for the code and developers wiki for details on compilation, coding etc...

The BDA module is under modules/access/bda
You can find me on IRC most evenings if you need help.
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 19 May 2007 16:05

Ok, I changed the default values in the registry (still same problem)

I can now compile the bda plugin. I'll try to display and force some values.

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 19 May 2007 16:30

I think I corrected something :

Code: Select all

if( SUCCEEDED( hr ) && l_lnb_slof > 0 ) hr = l.p_dvbs_tuning_space->put_LNBSwitch( l_lnb_slof );
but this is still not working

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 19 May 2007 18:24

I think I corrected something :

Code: Select all

if( SUCCEEDED( hr ) && l_lnb_slof > 0 ) hr = l.p_dvbs_tuning_space->put_LNBSwitch( l_lnb_slof );
but this is still not working
Nice pickup. I had computer problems earlier today and only just committed the latest changes with Network-id. Added in the above fix as well.
Download the code and try again
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 19 May 2007 22:52

I tried to force theses values and it gave nothing.

I will compare the messages between the dvb-s and the emulated dvb-t.
Is there a way to check if the graph is working ? or if the tuner is tunning ?

I found this http://forums.dvbowners.com/index.php?s ... ded&start=

maybe something like this could help to find what is not working :

Code: Select all

hr = tuner->get_SignalStrength(&strength);
I don't know if this helps

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 19 May 2007 23:34

I tried to force theses values and it gave nothing.

I will compare the messages between the dvb-s and the emulated dvb-t.
Is there a way to check if the graph is working ? or if the tuner is tunning ?

I found this http://forums.dvbowners.com/index.php?s ... ded&start=

maybe something like this could help to find what is not working :

Code: Select all

hr = tuner->get_SignalStrength(&strength);
I don't know if this helps
The messages that come from the module basically say that the graph is working. In earlier versions I included get_SignalStrength but the timeout message is enough to say there is no signal. Any problems up to that stage would give a warning.
You need to post the command line you are using and details of the satellite you are trying to connect to.
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 20 May 2007 08:53

The command line is :

Code: Select all

vlc dvb-s://:freq=11283000:pol=V:srate=27500000:lnb-lof1=9750000:lnb-lof2=10600000:lnb-slof=11700000 --verbose=2
or

Code: Select all

vlc dvb-s://:freq=11283000:pol=V:srate=27500:lnb-lof1=9750000:lnb-lof2=10600000:lnb-slof=11700000 --verbose=2
and you can find the sat info here : http://fr.kingofsat.net/pos-7E.php

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 20 May 2007 10:17

We may need the DiSEqC to select which lnb we are going to use. I have only one but it maybe needs some initialisation.

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 20 May 2007 11:45

Have a look to : http://cvs.dsp-worx.de/cgi-bin/viewcvs. ... as?rev=1.6

This one finds the channels and seem to be close to your code

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 20 May 2007 12:33

Have a look to : http://cvs.dsp-worx.de/cgi-bin/viewcvs. ... as?rev=1.6

This one finds the channels and seem to be close to your code
And also one of the better written bits of code on this topic.

It ha two modes of operation: "direct tuning" via IBDA_FrequencyFilter and the more conventional (and recommended) tuning via IDVBSLocator which I also use.
Check that both modes are working for you.
This confirms that all values are in kHz so srate should be 27500.

Only differences are that it explicitly sets Modulation to QPSK which should be the default but try hard coding into vlc. The other is the DiSEqC settings.
I was hoping you would not mention that as DiSEqC is not formally supported in BDA except via vendor specific code. As you can see in the code above the author has tried two approaches and one is commented out. In your situation it should not be needed anyway.

One last thought - try swapping lof1 and lof2 around
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 20 May 2007 12:57

The direct tuning finds channels but stop working after that
The IDVBSLocator work good

I have allready tried to force QPSK but nothing append.

I tried the comment disecq approach as it was quick and easy to test. But this didn't work.

Do you allready have a IBDA_FrequtencyFilter object ?

grobinson
Blank Cone
Blank Cone
Posts: 35
Joined: 16 May 2005 01:51
Location: Brisbane, Australia

Postby grobinson » 20 May 2007 14:38

The part of the magic that's not happening is, I think, a broader VLC issue in that the only thing that will pick up the URL I'm streaming is VLC. My mediaserver won't recognise the http URL. It will recognise it if I use mmsh - but nothing streams. :( Graphedit won't accept either URL. :( But VLC happily chugs away streaming audio and video flawlessly! :)

... Any thoughts or suggestions?
It all depends on what your mediaserver supports. Maybe it does not like TS. Maybe try streaming mpeg PS instead.
Strangely (to me), graphedit and the mediaserver will happily work with the ts file written to the hard drive but won't accept the same thing streamed. So I figure I must being doing something wrong with the streaming - just don't know what. :(

Still I'll trying streaming mpeg PS and see if I fare any better.
Cheers,

Grant

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 20 May 2007 15:00

The direct tuning finds channels but stop working after that
The IDVBSLocator work good

I have allready tried to force QPSK but nothing append.

I tried the comment disecq approach as it was quick and easy to test. But this didn't work.

Do you allready have a IBDA_FrequtencyFilter object ?
I haven't implemented IBDAFrequencyFilter and it is not hard but not trivial either as mingw has none of the BDA header files.
Before going down that path add to the command line
:inv=2
to force auto spectral inversion

Can you post the parameters you used with DC-DVBsource?
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 20 May 2007 19:51

The spectral inversion doesn't work better.

In dc-dvbsource, i put the tunning method on "bda interface" and then I choose the sat that I just made in the frequency editor. In this editor I just put the frequency (khz) the symbol rate (27500) and the polarisation (vertical). This is enough to find the channels and then to display them.

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 20 May 2007 21:02

That is what I expected. There's just one more thing I can think of. Try commenting out the calls to put_OrbitalPosition and put_WestPosition

These are always called whether required or not and maybe its causing problems somewhere.
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 21 May 2007 07:00

Sorry but this is not working either...

I think there is only the diseqc left...

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

Postby Lotesdelere » 21 May 2007 18:10

Something else I've just noticed:

When playing live a DVB-T program with subtitles, only the Teletext subtitles are working and not the DVB subtitles.
DVB subtitles don't even retrieve the names they should have in the menus.

But all subtitles are working fine if I save the whole stream to a TS file and then play this file.

Playing a program live:
Image

Playing the same program saved as a TS file:
Image
Last edited by Lotesdelere on 03 Sep 2007 03:04, edited 1 time in total.

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 23 May 2007 23:10

Sorry but this is not working either...

I think there is only the diseqc left...
Before we go there can you put in a msg_Dbg trace to print out the various parameters (frequency, srate, polarisation etc) and post the output. I'm wondering if all the parameters are getting through.
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

EarthwormJeff
Blank Cone
Blank Cone
Posts: 21
Joined: 14 May 2007 18:37

Postby EarthwormJeff » 24 May 2007 07:09

Do you would like to know if the command line parsing works ?

I put some
msg_Warn( p_access, "freq: %d",l_frequency );
to test it and every parameter seem to be ok

Do you know in wich dll I can find the "IBDA_FrequtencyFilter::Put_Range" function ?

I'am trying to do dvb-s tuning in vb.net to find what is missing here and I think I have exactly the same problem...

KenS
Blank Cone
Blank Cone
Posts: 85
Joined: 09 Apr 2007 14:01
VLC version: 0.9.0
Location: Melbourne, AU

Postby KenS » 24 May 2007 21:48

Do you would like to know if the command line parsing works ?

I put some
msg_Warn( p_access, "freq: %d",l_frequency );
to test it and every parameter seem to be ok

Do you know in wich dll I can find the "IBDA_FrequtencyFilter::Put_Range" function ?

I'am trying to do dvb-s tuning in vb.net to find what is missing here and I think I have exactly the same problem...
Don't know which dll but the prototype is in the header file bdaiface.h
You will need to do a QueryInterface on the tuner device
--- Ken

P3 500MHz server 300Gb HDD
Hauppauge Nova-T-500 dual DVB-T
XMLTV GUI 3.06.00W
DVB Webscheduler 4.0.14
VLC 0.9.8a/1.0.0

Freak
New Cone
New Cone
Posts: 9
Joined: 19 Apr 2007 23:52

Postby Freak » 30 May 2007 00:18

"Your input can't be opened:
VLC is unable to open the MRL 'dvb-t://'. Check the log for details.."

main error: option errors-dialog does not exist
open of 'dvb-t://failed could not create access (x1000)

---------------------------------------------------------------------------------
Log File:

main debug: adding item `dvb-t://' ( dvb-t:// )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting new item
main debug: processing request item dvb-t:// node null skip 0
main debug: resyncing on dvb-t://
main debug: dvb-t:// is at 0
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4756 (input) created at priority 1 (input/input.c:330)
main debug: requesting art for dvb-t://
main debug: `dvb-t://' gives access `dvb-t' demux `' path `'
main debug: creating demux: access='dvb-t' demux='' path=''
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "dvb-t"
main debug: creating access 'dvb-t' path=''
main debug: looking for access2 module: 1 candidate
main debug: art not found for dvb-t://
main debug: adding item `dvb-t://' ( dvb-t:// )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 0
main debug: dying input
bda debug: FindFilter: Connected 7162 BDA DVBT Tuner0
bda debug: FindFilter: Connected 7162 BDA Digital Capture0
main debug: dying input
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Register: registered Graph: VLC BDA Graph 01fcf208 Pid 00001ebc
bda debug: FindFilter: Connected 7162 BDA DVBT Tuner1
main debug: dying input
bda debug: FindFilter: Connected 7162 BDA Digital Capture1
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Register: registered Graph: VLC BDA Graph 01fcefd8 Pid 00001ebc
bda warning: FindFilter: No filter connected: hr=0x80004005
bda warning: Build: Cannot load tuner device and connect network provider: hr=0x80004005
bda warning: SubmitDVBTTuneRequest: Cannot Build the Graph: hr=0x80004005
bda warning: DVB_Open: Unsupported Network dvb-t
main warning: no access2 module matching "dvb-t" could be loaded
main error: open of `dvb-t://' failed: could not create access
main debug: dead input
main debug: thread times: real 0m0.093750s, kernel 0m0.031250s, user 0m0.062500s
main debug: thread 4756 joined (input/input.c:467)
qt4 debug: *********** NAV 0
main debug: starting new item
main debug: processing request item dvb-t:// node null skip 0
main debug: resyncing on dvb-t://
main debug: dvb-t:// is at 1
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4780 (input) created at priority 1 (input/input.c:330)
main debug: `dvb-t://' gives access `dvb-t' demux `' path `'
main debug: creating demux: access='dvb-t' demux='' path=''
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "dvb-t"
main debug: creating access 'dvb-t' path=''
main debug: looking for access2 module: 1 candidate
main debug: requesting art for dvb-t://
main debug: art not found for dvb-t://
bda debug: FindFilter: Connected 7162 BDA DVBT Tuner0
bda debug: FindFilter: Connected 7162 BDA Digital Capture0
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Register: registered Graph: VLC BDA Graph 0216e590 Pid 00001ebc
bda debug: FindFilter: Connected 7162 BDA DVBT Tuner1
bda debug: FindFilter: Connected 7162 BDA Digital Capture1
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Register: registered Graph: VLC BDA Graph 02178368 Pid 00001ebc
bda warning: FindFilter: No filter connected: hr=0x80004005
bda warning: Build: Cannot load tuner device and connect network provider: hr=0x80004005
bda warning: SubmitDVBTTuneRequest: Cannot Build the Graph: hr=0x80004005
bda warning: DVB_Open: Unsupported Network dvb-t
main warning: no access2 module matching "dvb-t" could be loaded
-------------------------------------------------------------------------------------

Any ideas as to why i'm not getting any picture at all?

I think i've been using this command line:

dvb-t:// :dvb-frequency=177500 :dvb-bandwidth=7


HELP! :)

Freak
New Cone
New Cone
Posts: 9
Joined: 19 Apr 2007 23:52

Postby Freak » 31 May 2007 00:16

BUMP:

KenS are you still around?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 76 guests