Page 1 of 1

main error: no suitable access module for `dvb://'

Posted: 17 Jan 2008 16:57
by fatgoth
Hi,

I am running VLC on a dell server using Opensuse 10.3 with a Freecom DVB USB attached.

I have recently had problems getting VLC loaded due to the proxy here but this has been resolved now. The problem i am now faced with is that i cannot stream any TV over the network to a desktop.

I have setup VLC with DVB capture device but when i start i get the following in the messages box:

main debug: adding playlist item `dvb://' ( dvb:// )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3004902288 (input) created at priority 0 (input/input.c:265)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_display"
stream_out_duplicate debug: * adding `std{access=udp,mux=ts,dst=xx.xxx.xxx.xx:1234}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to udp
main debug: set sout option: sout-standard-mux to ts
main debug: set sout option: sout-standard-dst to xx.xxx.xxx.xx:1234
stream_out_standard debug: creating `udp/ts://xx.xxx.xxx.xx:1234'
stream_out_standard debug: extension is 29:1234
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `udp/ts://xx.xxx.xxx.xx:1234'
main debug: looking for sout access module: 1 candidate
main debug: net: connecting to xx.xxx.xxx.xx port 1234
main debug: thread 2996468624 (sout write thread) created at priority 0 (udp.c:268)
access_output_udp debug: udp access output opened(xx.xxx.xxx.xx:1234)
main debug: using sout access module "access_output_udp"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: muxer support adding stream at any time
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: set sout option: sout-transcode-vcodec to mp4v
main debug: set sout option: sout-transcode-vb to 1024
main debug: set sout option: sout-transcode-scale to 1
main debug: set sout option: sout-transcode-acodec to mpga
main debug: set sout option: sout-transcode-ab to 192
main debug: set sout option: sout-transcode-channels to 2
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 192Kb/s
stream_out_transcode debug: codec video=mp4v 0x0 scaling: 1.000000 1024kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `dvb://' gives access `dvb' demux `' path `'
main debug: creating demux: access='dvb' demux='' path=''
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "dvb"
main debug: creating access 'dvb' path=''
main debug: looking for access2 module: 9 candidates
dvb debug: Opening device /dev/dvb/adapter0/frontend0
dvb error: FrontEndOpen: opening device failed (Device or resource busy)
vcdx warning: error in ioctl CDROMREADTOCHDR: No medium found

vcdx warning: error reading PVD sector (16) error -1
access_file warning: : No such file or directory
access_gnomevfs warning: cannot parse MRL dvb:// or unsupported protocol
main warning: no access2 module matching "dvb" could be loaded
main error: no suitable access module for `dvb://'
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying chain done
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
access_output_udp debug: packet has been sent too late (1200585229135724)
main debug: thread 2996468624 joined (udp.c:316)
access_output_udp debug: udp access output closed
main debug: removing module "access_output_udp"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: thread 3004902288 joined (input/input.c:412)
main: nothing to play



I am new to media streaming so if anyone can give me help or some pointers please.

Re: main error: no suitable access module for `dvb://'

Posted: 17 Jan 2008 18:41
by dimstar
Which packages for VLC do you use?

Please post the output of:

Code: Select all

rpm -q vlc ffmpeg
Thanks

Re: main error: no suitable access module for `dvb://'

Posted: 17 Jan 2008 18:44
by Jean-Baptiste Kempf
compile vlc with dvb support.

Re: main error: no suitable access module for `dvb://'

Posted: 18 Jan 2008 12:52
by fatgoth
Thanks Dimstar,

The output is:

vlc-0.8.6d-8.2
ffmpeg-0.4.9.11482-1.1


Thanks

Re: main error: no suitable access module for `dvb://'

Posted: 19 Jan 2008 16:55
by dimstar
This version actually should be compiled with DVB support.

My test just shows:
vlc --list | grep dvb
VLC media player 0.8.6d Janus
mux_ts TS muxer (libdvbpsi)
dvbsub DVB subtitles decoder
dvbsub DVB subtitles encoder
dvb DVB input with v4l2 support

so DVB seems to be there... I lack any DVB hardware, so can actually not test it

And your output actually shows DVB would probably work too:
main warning: no access_demux module matched "dvb"
main debug: creating access 'dvb' path=''
main debug: looking for access2 module: 9 candidates
dvb debug: Opening device /dev/dvb/adapter0/frontend0
dvb error: FrontEndOpen: opening device failed (Device or resource busy)

Re: main error: no suitable access module for `dvb://'

Posted: 21 Jan 2008 16:30
by fatgoth
Thanks Dimstar.

I have now downloaded the vlc-0.8.6d.tar.gz and tried to install this but have hit morew problems.

Initially i have to install libmad, libmpeg2, wxwidgets and ffmpeg. Once these were installed i could use ./configure --enable-dvb, which ran successfully. However the make then failed with :

export MACOSX_DEPLOYMENT_TARGET=
make all-recursive
make[1]: Entering directory `/home/vlc-0.8.6d'
Making all in intl
make[2]: Entering directory `/home/vlc-0.8.6d/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vlc-0.8.6d/intl'
Making all in loader
make[2]: Entering directory `/home/vlc-0.8.6d/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vlc-0.8.6d/loader'
Making all in src
make[2]: Entering directory `/home/vlc-0.8.6d/src'
srcdir=.. builddir=.. ../toolbox --update-version
make all-recursive
make[3]: Entering directory `/home/vlc-0.8.6d/src'
make[4]: Entering directory `/home/vlc-0.8.6d/src'
srcdir=.. builddir=.. ../toolbox --update-version
make[4]: Leaving directory `/home/vlc-0.8.6d/src'
make[3]: Leaving directory `/home/vlc-0.8.6d/src'
make[2]: Leaving directory `/home/vlc-0.8.6d/src'
Making all in modules
make[2]: Entering directory `/home/vlc-0.8.6d/modules'
Making all in access
make[3]: Entering directory `/home/vlc-0.8.6d/modules/access'
make[4]: Entering directory `/home/vlc-0.8.6d/modules/access'
make[4]: `libaccess_file_plugin.so' is up to date.
make[4]: `libaccess_directory_plugin.so' is up to date.
make[4]: `libaccess_udp_plugin.so' is up to date.
make[4]: `libaccess_tcp_plugin.so' is up to date.
make[4]: `libaccess_http_plugin.so' is up to date.
make[4]: `libaccess_ftp_plugin.so' is up to date.
make[4]: `libaccess_smb_plugin.so' is up to date.
make[4]: `libaccess_gnomevfs_plugin.so' is up to date.
make[4]: `libaccess_fake_plugin.so' is up to date.
make[4]: `libcdda_plugin.so' is up to date.
make[4]: Leaving directory `/home/vlc-0.8.6d/modules/access'
make all-recursive
make[4]: Entering directory `/home/vlc-0.8.6d/modules/access'
Making all in dshow
make[5]: Entering directory `/home/vlc-0.8.6d/modules/access/dshow'
make all-recursive
make[6]: Entering directory `/home/vlc-0.8.6d/modules/access/dshow'
make[7]: Entering directory `/home/vlc-0.8.6d/modules/access/dshow'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/vlc-0.8.6d/modules/access/dshow'
make[6]: Leaving directory `/home/vlc-0.8.6d/modules/access/dshow'
make[5]: Leaving directory `/home/vlc-0.8.6d/modules/access/dshow'
Making all in dvb
make[5]: Entering directory `/home/vlc-0.8.6d/modules/access/dvb'
make[6]: Entering directory `/home/vlc-0.8.6d/modules/access/dvb'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dvb` -Wsign-compare -Wall -pipe -MT libdvb_plugin_a-access.o -MD -MP -MF ".deps/libdvb_plugin_a-access.Tpo" -c -o libdvb_plugin_a-access.o `test -f 'access.c' || echo './'`access.c; \
then mv -f ".deps/libdvb_plugin_a-access.Tpo" ".deps/libdvb_plugin_a-access.Po"; else rm -f ".deps/libdvb_plugin_a-access.Tpo"; exit 1; fi
access.c:52:23: error: dvbpsi.h: No such file or directory
access.c:53:27: error: descriptor.h: No such file or directory
access.c:54:27: error: tables/pat.h: No such file or directory
access.c:55:27: error: tables/pmt.h: No such file or directory
access.c:56:31: error: descriptors/dr.h: No such file or directory
access.c:57:20: error: psi.h: No such file or directory
In file included from access.c:64:
dvb.h:157: error: expected specifier-qualifier-list before ‘dvbpsi_pmt_t’
dvb.h:205: error: expected declaration specifiers or ‘...’ before ‘dvbpsi_pmt_t’
dvb.h:213: error: expected declaration specifiers or ‘...’ before ‘dvbpsi_pmt_t’
access.c: In function ‘Open’:
access.c:361: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c:363: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c: In function ‘Block’:
access.c:441: error: ‘access_sys_t’ has no member named ‘i_httpd_timeout’
access.c:441: error: ‘access_sys_t’ has no member named ‘i_httpd_timeout’
access.c:443: error: ‘access_sys_t’ has no member named ‘httpd_mutex’
access.c:444: error: ‘access_sys_t’ has no member named ‘b_request_frontend_info’
access.c:447: error: ‘access_sys_t’ has no member named ‘b_request_frontend_info’
access.c:448: error: ‘access_sys_t’ has no member named ‘psz_frontend_info’
access.c:450: error: ‘access_sys_t’ has no member named ‘b_request_mmi_info’
access.c:453: error: ‘access_sys_t’ has no member named ‘b_request_mmi_info’
access.c:454: error: ‘access_sys_t’ has no member named ‘psz_mmi_info’
access.c:456: error: ‘access_sys_t’ has no member named ‘httpd_cond’
access.c:457: error: ‘access_sys_t’ has no member named ‘httpd_mutex’
access.c:460: error: ‘access_sys_t’ has no member named ‘b_request_frontend_info’
access.c:465: error: ‘access_sys_t’ has no member named ‘b_request_mmi_info’
access.c:479: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c:482: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c:492: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c:493: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c: In function ‘Control’:
access.c:551: error: ‘dvbpsi_pmt_t’ undeclared (first use in this function)
access.c:551: error: (Each undeclared identifier is reported only once
access.c:551: error: for each function it appears in.)
access.c:551: error: ‘p_pmt’ undeclared (first use in this function)
access.c:553: error: expected expression before ‘)’ token
access.c:555: error: too many arguments to function ‘CAMSet__0_8_6’
access.c: In function ‘FilterSet’:
access.c:600: error: ‘access_sys_t’ has no member named ‘i_read_once’
access.c:601: error: ‘access_sys_t’ has no member named ‘i_read_once’
make[6]: *** [libdvb_plugin_a-access.o] Error 1
make[6]: Leaving directory `/home/vlc-0.8.6d/modules/access/dvb'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/vlc-0.8.6d/modules/access/dvb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/vlc-0.8.6d/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/vlc-0.8.6d/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc-0.8.6d/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-0.8.6d'
make: *** [all] Error 2


Any ideas ??

Many thanks.

Re: main error: no suitable access module for `dvb://'

Posted: 22 Jan 2008 08:54
by dimstar
access.c:52:23: error: dvbpsi.h: No such file or directory
access.c:53:27: error: descriptor.h: No such file or directory
access.c:54:27: error: tables/pat.h: No such file or directory
access.c:55:27: error: tables/pmt.h: No such file or directory
access.c:56:31: error: descriptors/dr.h: No such file or directory
access.c:57:20: error: psi.h: No such file or directory

Looks to me like you do not have the development headers of libdvbpsi installed.

Re: main error: no suitable access module for `dvb://'

Posted: 22 Jan 2008 09:06
by dimstar
main warning: no access_demux module matched "dvb"
main debug: creating access 'dvb' path=''
main debug: looking for access2 module: 9 candidates
dvb debug: Opening device /dev/dvb/adapter0/frontend0
dvb error: FrontEndOpen: opening device failed (Device or resource busy)
did you check that the path to the device is actually right? The way I interpret your fist log, DVB support would most likely work, but the device can not be found / used (drivers ok? you have another program accessing it?)

Re: main error: no suitable access module for `dvb://'

Posted: 22 Jan 2008 12:40
by fatgoth
Ok, went back to the original setup and reinstalled the Opensuse version of VLC directly from the site.

When i start VLC and for ease i have used the wizard to make a connection, the output is :


main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 3071970192 (playlist) created at priority 0 (playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 3063577488 (preparser) created at priority 0 (playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 3055184784 (interface) created at priority 0 (interface/interface.c:231)
main debug: looking for interface module: 1 candidate
main debug: using interface module "screensaver"
main debug: thread 3046792080 (interface) created at priority 0 (interface/interface.c:231)
main debug: looking for interface module: 5 candidates
main debug: using interface module "wxwidgets"
main debug: thread 3018066832 (manager) created at priority 0 (interface/interface.c:216)
wxwidgets debug: Using last windows config '(-1,0,0,1024,768)(0,435,3,362,86)(2,0,0,410,564)(3,446,138,432,421)(6,0,0,-1,150)'
wxwidgets debug: id=0 p=(435,3) s=(362,86)
wxwidgets debug: id=2 p=(0,0) s=(410,564)
wxwidgets debug: id=3 p=(446,138) s=(432,421)
wxwidgets debug: id=6 p=(0,0) s=(-1,150)
wxwidgets debug: starting stream of dvb:// to 10.192.128.29 using rtp, encap ts
main debug: adding playlist item `Streaming/Transcoding Wizard' ( dvb:// )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: stream=`standard'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-mux to ts
main debug: set sout option: sout-standard-dst to 10.192.128.29
main debug: set sout option: sout-standard-access to rtp
stream_out_standard debug: creating `rtp/ts://10.192.128.29'
stream_out_standard debug: extension is 29
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `rtp/ts://10.192.128.29'
main debug: looking for sout access module: 1 candidate
main debug: net: connecting to 10.192.128.29 port 1234
main debug: thread 2936007568 (sout write thread) created at priority 0 (udp.c:268)
access_output_udp debug: udp access output opened(10.192.128.29:1234)
main debug: using sout access module "access_output_udp"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: muxer support adding stream at any time
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: `dvb://' gives access `dvb' demux `' path `'
main debug: creating demux: access='dvb' demux='' path=''
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "dvb"
main debug: creating access 'dvb' path=''
main debug: looking for access2 module: 9 candidates
dvb debug: Opening device /dev/dvb/adapter0/frontend0
main debug: thread 2944400272 (input) created at priority 0 (input/input.c:265)
dvb debug: Frontend Info:
dvb debug: name = WideView USB DVB-T
dvb debug: type = OFDM (DVB-T)
dvb debug: frequency_min = 44250000 (kHz)
dvb debug: frequency_max = 867250000 (kHz)
dvb debug: frequency_stepsize = 250000
dvb debug: frequency_tolerance = 0
dvb debug: symbol_rate_min = 0 (kHz)
dvb debug: symbol_rate_max = 0 (kHz)
dvb debug: symbol_rate_tolerance (ppm) = 0
dvb debug: notifier_delay (ms) = 0
dvb debug: Frontend Info capability list:
dvb debug: inversion auto
dvb debug: forward error correction 1/2
dvb debug: forward error correction 2/3
dvb debug: forward error correction 3/4
dvb debug: forward error correction 5/6
dvb debug: forward error correction 7/8
dvb debug: forward error correction auto
dvb debug: card can do QPSK
dvb debug: card can do QAM 16
dvb debug: card can do QAM 64
dvb debug: card can do QAM auto
dvb debug: transmission mode auto
dvb debug: guard interval mode auto
dvb debug: hierarchy mode auto
dvb debug: card can recover from a cable unplug
dvb debug: End of capability list
dvb debug: trying to tune the frontend...
dvb debug: using inversion=2
dvb debug: using bandwidth=0
dvb debug: using fec=9
dvb debug: using fec=9
dvb debug: using transmission=0
dvb debug: using guard=0
dvb debug: using hierarchy=0
dvb debug: Opening device /dev/dvb/adapter0/dvr0
dvb debug: setting filter on PAT
dvb debug: Opening device /dev/dvb/adapter0/demux0
dvb debug: DMXSetFilter: DMX_PES_OTHER for PID 0
dvb debug: Opening device /dev/dvb/adapter0/ca0
dvb warning: CAMInit: opening CAM device failed (No such file or directory)
main debug: using access2 module "dvb"
main debug: pre buffering
dvb warning: no lock, tuning again
dvb debug: using inversion=2
dvb debug: using bandwidth=0
dvb debug: using fec=9
dvb debug: using fec=9
dvb debug: using transmission=0
dvb debug: using guard=0
dvb debug: using hierarchy=0
dvb warning: no lock, tuning again
dvb debug: using inversion=2
dvb debug: using bandwidth=0
dvb debug: using fec=9
dvb debug: using fec=9
dvb debug: using transmission=0
dvb debug: using guard=0
dvb debug: using hierarchy=0



I then just get the 'dvb warning: no lock, tuning again .." section repeated as it keeps trying.

No drivers for Linux are supplied with the Freecom device, however they are meant to come with Opensuse 10.3 which is why i used this version. I have found the correct Firmware file and have added this under /lib/firmware.

This now seems to be a different problem to that which i was experiencing when i originally used the installation from the VLC site.

Any ideas?