Page 1 of 1

VLC 1.0.2 and DVB-T

Posted: 08 Oct 2009 08:44
by MHz
Hello.
DVB-T is not working in vlc 1.0.2 with my AverMedia AVerTV Hybrid Volar HX, but it works fine in vlc 1.0.1.
I think vlc 1.0.2 is doing something wrong detecting the card, because even if i disconnect it from usb, the log output is the same.
In vlc 1.0.1 when i disconnect it the log is different and makes sense.
I take a look at the source code and realize that the files that take care of BDA are the same,except the Makefile.in, so maybe i'm missing something here.
Any ideias?


This is the log file with VLC 1.0.2:
qt4 debug: Initialization of Capture device panel
qt4 warning: Input option: dvb-bandwidth=8
main debug: adding item `dvb-t://frequency=842000000' ( dvb-t://frequency=842000000 )
qt4 debug: Adding a new MRL to recent ones: dvb-t://frequency=842000000
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item dvb-t://frequency=842000000 node null skip 0
main debug: resyncing on dvb-t://frequency=842000000
main debug: dvb-t://frequency=842000000 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'dvb-t://frequency=842000000'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\Users\Nelson\AppData\Local\Temp'
main debug: `dvb-t://frequency=842000000' gives access `dvb-t' demux `' path `frequency=842000000'
main debug: creating demux: access='dvb-t' demux='' path='frequency=842000000'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "dvb-t"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'dvb-t' path='frequency=842000000'
main debug: looking for access module: 1 candidate
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
bda debug: CreateTuneRequest: Using Tuning Space: DVB-T
bda debug: Build: Using Tuning Space ID 9
bda warning: Build: Cannot save Tuning Space: hr=0x80070005
bda warning: SubmitDVBTTuneRequest: Cannot Build the Graph: hr=0x80070005
bda warning: DVB_Open: Unsupported Network dvb-t
main warning: no access module matching "dvb-t" could be loaded

main debug: TIMER module_need() : 136.000 ms - Total 136.000 ms / 1 intvls (Avg 136.000 ms)
main error: open of `dvb-t://frequency=842000000' failed: (null)
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m0.161009s, kernel 0m0.015600s, user 0m0.015600s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: TIMER input launching for 'dvb-t://frequency=842000000' : 201.000 ms - Total 201.000 ms / 1 intvls (Avg 201.000 ms)


And here the log from VLC 1.0.1
qt4 debug: Initialization of Capture device panel
qt4 warning: Input option: dvb-bandwidth=8
main debug: adding item `dvb-t://frequency=842000000' ( dvb-t://frequency=842000000 )
qt4 debug: Adding a new MRL to recent ones: dvb-t://frequency=842000000
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item dvb-t://frequency=842000000 node null skip 0
main debug: resyncing on dvb-t://frequency=842000000
main debug: dvb-t://frequency=842000000 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'dvb-t://frequency=842000000'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\Users\Nelson\AppData\Local\Temp'
main debug: `dvb-t://frequency=842000000' gives access `dvb-t' demux `' path `frequency=842000000'
main debug: creating demux: access='dvb-t' demux='' path='frequency=842000000'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "dvb-t"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access 'dvb-t' path='frequency=842000000'
main debug: looking for access module: 1 candidate
qt4 debug: IM: Setting an input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
bda debug: CreateTuneRequest: Using Tuning Space: DVB-T
bda debug: Build: Using Tuning Space ID 9
bda debug: FindFilter: Connected AVerMedia Hybrid TV BDA Tuner
bda debug: BDAGraph: Using adapter 0
bda debug: FindFilter: Connected AVerMedia Hybrid TV BDA TS Capture
bda debug: Build: Trying connecting with subtype MEDIASUBTYPE_MPEG2_TRANSPORT
bda warning: Build: Cannot connect Sample Grabber to Capture device: hr=0x80004005 (try 1/2)
bda debug: Build: Trying connecting with subtype KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT
bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter
bda debug: Graph started hr=0x0

main debug: using access module "bda"
main debug: TIMER module_need() : 4394.000 ms - Total 4394.000 ms / 1 intvls (Avg 4394.000 ms)
main debug: Using AStream*Block
main debug: pre buffering
bda warning: BDA SampleCB: Sample Discontinuity.
main debug: received first data after 522 ms
main debug: prebuffering done 60160 bytes in 0s - 112 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='dvb-t' demux='ts' path='frequency=842000000'
main debug: looking for demux module: 1 candidate
main debug: using demux module "ts"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for a subtitle file in C:\Users\Nelson\Downloads\vlc-1.0.1-win32\vlc-1.0.1\
ts debug: DEMUX_SET_GROUP 0 0
main debug: `dvb-t://frequency=842000000' successfully opened

Re: VLC 1.0.2 and DVB-T

Posted: 14 Oct 2009 13:54
by Jean-Baptiste Kempf
bda warning: SubmitDVBTTuneRequest: Cannot Build the Graph: hr=0x80070005

there isn't much change between 1.0.1 and 1.0.2 in the code... I don't get it.
Tried command line?

Re: VLC 1.0.2 and DVB-T

Posted: 14 Oct 2009 13:58
by Lotesdelere

Re: VLC 1.0.2 and DVB-T

Posted: 16 Oct 2009 11:45
by KenS
It is finding the System Tuning Space (called DVB-T) but is failing when it tries to save the Tuning Space. Suggests that the Registry is being locked but AFAIK nothing has changed between 1.0.1 and 1.0.2 in BDA module - certainly not in that bit of code.

Re: VLC 1.0.2 and DVB-T

Posted: 17 Oct 2009 00:56
by MHz
It is finding the System Tuning Space (called DVB-T) but is failing when it tries to save the Tuning Space. Suggests that the Registry is being locked but AFAIK nothing has changed between 1.0.1 and 1.0.2 in BDA module - certainly not in that bit of code.
Hello KenS.
Thanks for your answer.
Yes, i think you are right about a registry lock think, because a forgot to tell that was in Windows 7 x64 Professional.
I tried it in Windows XP and it works fine.

Do you know how to identify the registry lock or the way to turn around it?

Thanks.

Re: VLC 1.0.2 and DVB-T

Posted: 17 Oct 2009 13:31
by VLC_help
I think it is a access restriction in Windows 7 unless you run VLC with admin rights.

Re: VLC 1.0.2 and DVB-T

Posted: 14 Nov 2009 19:59
by Jean-Baptiste Kempf
I think it is a access restriction in Windows 7 unless you run VLC with admin rights.
Fixed in 1.1 Nightly build

Re: VLC 1.0.2 and DVB-T

Posted: 21 Dec 2009 19:55
by Miraceti
How to fix it / make a workaround in 1.0 branch? This is quite annoying in Vista.

Re: VLC 1.0.2 and DVB-T

Posted: 22 Dec 2009 09:53
by Jean-Baptiste Kempf
How to fix it / make a workaround in 1.0 branch? This is quite annoying in Vista.
File a bug.