Page 1 of 1

not able to get vlc working

Posted: 27 Sep 2009 23:07
by UnknownX
Hi@ll,

after serveral days (and nights) of trying to get vlc working I'm giving up now.

First of all it is a debian lenny machine I am talking about. In this enviroment I was running in trouble with ffmepg so I decided to update the machine to "testing" where the "problems" are looking a bit different.

What I want to solve in general is to stream a webcam connected locally via usb to a zoneminder server. At this time I'm not quite sure of the right output but think that the following entry could not be wrong in general:


Here are the latest results:
vlc -vvv v4l:/dev/video0:size="320x240" --sout #transcode{vcodec=mp4v,venc=ffmpeg}:rtp{dst=192.168.110.232,port=1234,sdp=http://192.168.110.232:8080/test.sdp}' --no-audio --ttl 1
After this vlc replies as follows:
VLC media player 1.0.1 Goldeneye
[0x907b8c0] main libvlc debug: VLC media player - version 1.0.1 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x907b8c0] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--disable-maintainer-mode' '--enable-release' '--prefix=/usr' '--config-cache' '--enable-fast-install' '--with-binary-version=1+b1' '--disable-update-check' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=iceape-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-mod' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-x264' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--disable-dv' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[0x907b8c0] main libvlc debug: translation test: code is "C"
[0x907b8c0] main libvlc debug: checking plugin modules
[0x907b8c0] main libvlc debug: loading plugins cache file /home/sscadmin/.cache/vlc/plugins-04041e.dat
[0x907b8c0] main libvlc debug: recursively browsing `/usr/lib/vlc'
[0x907b8c0] main libvlc debug: module bank initialized (374 modules)
[0x907b8c0] main libvlc warning: Unable to get HAL device properties
[0x907b8c0] main libvlc debug: opening config file (/home/sscadmin/.config/vlc/vlcrc)
[0x907b8c0] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! FPU
[0x907b8c0] main libvlc debug: looking for memcpy module: 3 candidates
[0x907b8c0] main libvlc debug: using memcpy module "memcpymmx"
[0x9115a48] main input debug: Creating an input for 'Media Library'
[0x9115a48] main input debug: Input is a meta file: disabling unneeded options
[0x9115a48] main input debug: using timeshift granularity of 50 MBytes
[0x9115a48] main input debug: using timeshift path '/tmp'
[0x9115a48] main input debug: `file/xspf-open:///home/sscadmin/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/sscadmin/.local/share/vlc/ml.xspf'
[0x9115a48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x9119170] main demux debug: looking for access_demux module: 1 candidate
[0x9119170] main demux warning: no access_demux module matching "file" could be loaded
[0x9119170] main demux debug: TIMER module_need() : 18.875 ms - Total 18.875 ms / 1 intvls (Avg 18.875 ms)
[0x9115a48] main input debug: creating access 'file' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x911b118] main access debug: looking for access module: 3 candidates
[0x911b118] access_file access debug: opening file `/home/sscadmin/.local/share/vlc/ml.xspf'
[0x911b118] main access debug: using access module "access_file"
[0x911b118] main access debug: TIMER module_need() : 26.843 ms - Total 26.843 ms / 1 intvls (Avg 26.843 ms)
[0x911b200] main stream debug: Using AStream*Stream
[0x911b200] main stream debug: pre buffering
[0x911b200] main stream debug: received first data after 0 ms
[0x911b200] main stream debug: pre-buffering done 296 bytes in 0s - 132 kbytes/s
[0x911b9b0] main stream debug: looking for stream_filter module: 4 candidates
[0x911b9b0] main stream debug: TIMER module_need() : 19.683 ms - Total 19.683 ms / 1 intvls (Avg 19.683 ms)
[0x911da70] main stream debug: looking for stream_filter module: 1 candidate
[0x911da70] main stream debug: using stream_filter module "stream_filter_record"
[0x911da70] main stream debug: TIMER module_need() : 12.014 ms - Total 12.014 ms / 1 intvls (Avg 12.014 ms)
[0x9115a48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x911e040] main demux debug: looking for demux module: 1 candidate
[0x911e040] playlist demux debug: using XSPF playlist reader
[0x911e040] main demux debug: using demux module "playlist"
[0x911e040] main demux debug: TIMER module_need() : 16.350 ms - Total 16.350 ms / 1 intvls (Avg 16.350 ms)
[0x9115a48] main input debug: `file/xspf-open:///home/sscadmin/.local/share/vlc/ml.xspf' successfully opened
[0x911e1a0] main xml debug: looking for xml module: 2 candidates
[0x911e1a0] main xml debug: using xml module "xml"
[0x911e1a0] main xml debug: TIMER module_need() : 21.610 ms - Total 21.610 ms / 1 intvls (Avg 21.610 ms)
[0x911e040] playlist demux debug: parsed 0 tracks successfully
[0x911e1a0] main xml debug: removing module "xml"
[0x9115a48] main input debug: EOF reached
[0x911e040] main demux debug: removing module "playlist"
[0x911da70] main stream debug: removing module "stream_filter_record"
[0x911b118] main access debug: removing module "access_file"
[0x9115a48] main input debug: TIMER input launching for 'Media Library' : 362.403 ms - Total 362.403 ms / 1 intvls (Avg 362.403 ms)
[0x9114980] main playlist debug: rebuilding array of current - root Playlist
[0x9114980] main playlist debug: rebuild done - 0 items, index -1
[0x9114980] main playlist debug: Activated
[0x911e1a0] main interface debug: looking for interface module: 1 candidate
[0x911e1a0] main interface debug: using interface module "hotkeys"
[0x911e1a0] main interface debug: TIMER module_need() : 16.182 ms - Total 16.182 ms / 1 intvls (Avg 16.182 ms)
[0x911e1a0] main interface debug: thread started
[0x911e1a0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x9119170] main interface debug: looking for interface module: 1 candidate
[0x9119170] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x9119170] main interface warning: no interface module matching "inhibit,none" could be loaded
[0x9119170] main interface debug: TIMER module_need() : 55.210 ms - Total 55.210 ms / 1 intvls (Avg 55.210 ms)
[0x9119170] main interface error: no suitable interface module
[0x907b8c0] main libvlc error: interface "inhibit,none" initialization failed
[0x9119170] main interface debug: looking for interface module: 1 candidate
[0x9119170] main interface debug: using interface module "screensaver"
[0x9119170] main interface debug: TIMER module_need() : 14.815 ms - Total 14.815 ms / 1 intvls (Avg 14.815 ms)
[0x9119170] main interface debug: thread started
[0x9119170] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x9114980] main playlist debug: adding item `video1:size=320x240' ( v4l:/dev/video1:size=320x240 )
[0x9114980] main playlist debug: rebuilding array of current - root Playlist
[0x9114980] main playlist debug: rebuild done - 1 items, index -1
[0x9119170] screensaver interface warning: failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x91172e8] main interface debug: looking for interface module: 1 candidate
[0x91172e8] main interface debug: using interface module "signals"
[0x91172e8] main interface debug: TIMER module_need() : 19.439 ms - Total 19.439 ms / 1 intvls (Avg 19.439 ms)
[0x91172e8] main interface debug: thread started
[0x91172e8] main interface debug: thread ended
[0x91172e8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x911e358] main interface debug: looking for interface module: 0 candidates
[0x911e358] main interface error: no interface module matched "globalhotkeys,none"
[0x911e358] main interface debug: TIMER module_need() : 9.649 ms - Total 9.649 ms / 1 intvls (Avg 9.649 ms)
[0x911e358] main interface error: no suitable interface module
[0x907b8c0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x907b8c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x911e398] main interface debug: looking for interface module: 4 candidates
[0x911e398] qt4 interface error: Could not connect to X server
[0x911e398] skins2 interface error: Cannot open display
[0x911e398] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[0x911e398] main interface debug: using interface module "rc"
[0x911e398] main interface debug: TIMER module_need() : 669.560 ms - Total 669.560 ms / 1 intvls (Avg 669.560 ms)
[0x911e398] main interface debug: thread started
[0x911e398] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x9114980] main playlist debug: processing request item null node Playlist skip 0
[0x9114980] main playlist debug: starting new item
[0x9114980] main playlist debug: creating new input thread
[0x911e6e8] main input debug: Creating an input for 'video1:size=320x240'
[0x911e6e8] main input debug: thread started
[0x912dce0] main stream output debug: stream=`transcode'
[0x912e438] main stream out debug: looking for sout stream module: 1 candidate
[0x912dce0] main stream output debug: stream=`rtp'
[0x911e6e8] main input debug: thread (input) created at priority 10 (input/input.c:230)
[0x9130698] main stream out debug: looking for sout stream module: 1 candidate
[0x9130698] main stream out debug: set config option: sout-rtp-dst to 192.168.110.232
[0x9130698] main stream out debug: set config option: sout-rtp-port to 1234
[0x9130698] main stream out debug: set config option: sout-rtp-sdp to http://192.168.110.232:8080/test.sdp
[0x9130698] main stream out: creating httpd
[0x9130698] main stream out debug: net: listening to 192.168.110.232 port 8080
[0x9130698] main stream out debug: using sout stream module "stream_out_rtp"
[0x9130698] main stream out debug: TIMER module_need() : 252.159 ms - Total 252.159 ms / 1 intvls (Avg 252.159 ms)
[0x912e438] main stream out debug: set config option: sout-transcode-vcodec to mp4v
[0x912e438] main stream out debug: set config option: sout-transcode-venc to ffmpeg
[0x912e438] stream_out_transcode stream out debug: codec video=mp4v 0x0 scaling: 1.000000 800kb/s
[0x912e438] main stream out debug: using sout stream module "stream_out_transcode"
[0x912e438] main stream out debug: TIMER module_need() : 549.276 ms - Total 549.276 ms / 1 intvls (Avg 549.276 ms)
[0x911e6e8] main input debug: using timeshift granularity of 50 MBytes
[0x911e6e8] main input debug: using timeshift path '/tmp'
[0x911e6e8] main input debug: `v4l:/dev/video1:size=320x240' gives access `' demux `' path `v4l:/dev/video1:size=320x240'
[0x911e6e8] main input debug: creating demux: access='' demux='' path='v4l:/dev/video1:size=320x240'
[0x912e790] main demux debug: looking for access_demux module: 7 candidates
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open v4l:/dev/video1:size=320x240 with libdvdcss.
libdvdread: Can't open v4l:/dev/video1:size=320x240 for reading
libdvdnav: vm: failed to open/read the DVD
[0x912e790] dvdnav demux warning: cannot open dvdnav
[0x912e790] main demux debug: TIMER module_need() : 85.679 ms - Total 85.679 ms / 1 intvls (Avg 85.679 ms)
[0x911e6e8] main input debug: creating access '' path='v4l:/dev/video1:size=320x240'
[0x9131590] main access debug: looking for access module: 7 candidates
[0x9131590] vcdx access warning: Can't get file status for v4l:/dev/video1:size=320x240:
No such file or directory

[0x9131590] vcdx access warning: could not retrieve file info for `v4l:/dev/video1:size=320x240': No such file or directory
[0x9131590] vcdx access warning: can't open nrg image file v4l:/dev/video1:size=320x240 for reading
[0x9131590] access_file access debug: opening file `v4l:/dev/video1:size=320x240'
[0x9131590] access_file access error: cannot open file v4l:/dev/video1:size=320x240 (No such file or directory)
[0x9131590] main access error: File reading failed
[0x9131590] main access error: VLC could not open the file "v4l:/dev/video1:size=320x240".
[0x9131590] cdda access warning: could not open v4l:/dev/video1:size=320x240
[0x9131590] main access debug: TIMER module_need() : 94.271 ms - Total 94.271 ms / 1 intvls (Avg 94.271 ms)
[0x911e6e8] main input error: open of `v4l:/dev/video1:size=320x240' failed: no suitable access module
[0x911e6e8] main input error: Your input can't be opened
[0x911e6e8] main input error: VLC is unable to open the MRL 'v4l:/dev/video1:size=320x240'. Check the log for details.
[0x9114980] main playlist debug: finished input
[0x9114980] main playlist debug: dead input
[0x912dce0] main stream output debug: destroying useless sout
[0x912e438] main stream out debug: destroying chain... (name=transcode)
[0x9130698] main stream out debug: destroying chain... (name=rtp)
[0x9130988] main http server debug: waitpipe: object killed
[0x9130988] main http server debug: HTTP host removed
[0x9130ab8] main http server debug: no hosts left, stopping httpd
[0x9130698] main stream out debug: removing module "stream_out_rtp"
[0x9130698] main stream out debug: destroying chain done
[0x912e438] main stream out debug: removing module "stream_out_transcode"
[0x912e438] main stream out debug: destroying chain done
[0x911e6e8] main input debug: thread ended
[0x911e6e8] main input debug: TIMER input launching for 'video1:size=320x240' : 1034.550 ms - Total 1034.550 ms / 1 intvls (Avg 1034.550 ms)
[0x9114980] main playlist debug: changing item without a request (current 0/1)
[0x9114980] main playlist debug: nothing to play
As you maybe can think vlc is installed by a preconfigured .deb package. On the machine itself should run nothing more than vlc so if it would be a good suggestion to change the debian version or the system itself this would be no problem - but on the other side I am quite sure that there is anyone out who can help before doing such a step.

So if you have any hints for me to make vlc running I'll be very thankful :-)

regards
Stefan

Re: not able to get vlc working

Posted: 28 Sep 2009 00:38
by Jean-Baptiste Kempf
try v4l:///dev/video...

Re: not able to get vlc working

Posted: 28 Sep 2009 13:28
by UnknownX
Dear all,

the /// after the v4l modifies the output but does (me) not able to get vlc working ;-)
VLC media player 1.0.1 Goldeneye
[0x85fa8c0] main libvlc debug: VLC media player - version 1.0.1 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x85fa8c0] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--disable-maintainer-mode' '--enable-release' '--prefix=/usr' '--config-cache' '--enable-fast-install' '--with-binary-version=1+b1' '--disable-update-check' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=iceape-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-mod' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-x264' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--disable-dv' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[0x85fa8c0] main libvlc debug: translation test: code is "C"
[0x85fa8c0] main libvlc debug: checking plugin modules
[0x85fa8c0] main libvlc debug: loading plugins cache file /home/sscadmin/.cache/vlc/plugins-04041e.dat
[0x85fa8c0] main libvlc debug: recursively browsing `/usr/lib/vlc'
[0x85fa8c0] main libvlc debug: module bank initialized (374 modules)
[0x85fa8c0] main libvlc warning: Unable to get HAL device properties
[0x85fa8c0] main libvlc debug: opening config file (/home/sscadmin/.config/vlc/vlcrc)
[0x85fa8c0] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! FPU
[0x85fa8c0] main libvlc debug: looking for memcpy module: 3 candidates
[0x85fa8c0] main libvlc debug: using memcpy module "memcpymmx"
[0x8694a48] main input debug: Creating an input for 'Media Library'
[0x8694a48] main input debug: Input is a meta file: disabling unneeded options
[0x8694a48] main input debug: using timeshift granularity of 50 MBytes
[0x8694a48] main input debug: using timeshift path '/tmp'
[0x8694a48] main input debug: `file/xspf-open:///home/sscadmin/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/sscadmin/.local/share/vlc/ml.xspf'
[0x8694a48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x8698170] main demux debug: looking for access_demux module: 1 candidate
[0x8698170] main demux warning: no access_demux module matching "file" could be loaded
[0x8698170] main demux debug: TIMER module_need() : 19.555 ms - Total 19.555 ms / 1 intvls (Avg 19.555 ms)
[0x8694a48] main input debug: creating access 'file' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x869a118] main access debug: looking for access module: 3 candidates
[0x869a118] access_file access debug: opening file `/home/sscadmin/.local/share/vlc/ml.xspf'
[0x869a118] main access debug: using access module "access_file"
[0x869a118] main access debug: TIMER module_need() : 28.097 ms - Total 28.097 ms / 1 intvls (Avg 28.097 ms)
[0x869a200] main stream debug: Using AStream*Stream
[0x869a200] main stream debug: pre buffering
[0x869a200] main stream debug: received first data after 0 ms
[0x869a200] main stream debug: pre-buffering done 296 bytes in 0s - 132 kbytes/s
[0x869a9b0] main stream debug: looking for stream_filter module: 4 candidates
[0x869a9b0] main stream debug: TIMER module_need() : 18.903 ms - Total 18.903 ms / 1 intvls (Avg 18.903 ms)
[0x869ca70] main stream debug: looking for stream_filter module: 1 candidate
[0x869ca70] main stream debug: using stream_filter module "stream_filter_record"
[0x869ca70] main stream debug: TIMER module_need() : 11.171 ms - Total 11.171 ms / 1 intvls (Avg 11.171 ms)
[0x8694a48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/sscadmin/.local/share/vlc/ml.xspf'
[0x869d040] main demux debug: looking for demux module: 1 candidate
[0x869d040] playlist demux debug: using XSPF playlist reader
[0x869d040] main demux debug: using demux module "playlist"
[0x869d040] main demux debug: TIMER module_need() : 17.626 ms - Total 17.626 ms / 1 intvls (Avg 17.626 ms)
[0x8694a48] main input debug: `file/xspf-open:///home/sscadmin/.local/share/vlc/ml.xspf' successfully opened
[0x869d1a0] main xml debug: looking for xml module: 2 candidates
[0x869d1a0] main xml debug: using xml module "xml"
[0x869d1a0] main xml debug: TIMER module_need() : 22.108 ms - Total 22.108 ms / 1 intvls (Avg 22.108 ms)
[0x869d040] playlist demux debug: parsed 0 tracks successfully
[0x869d1a0] main xml debug: removing module "xml"
[0x8694a48] main input debug: EOF reached
[0x869d040] main demux debug: removing module "playlist"
[0x869ca70] main stream debug: removing module "stream_filter_record"
[0x869a118] main access debug: removing module "access_file"
[0x8694a48] main input debug: TIMER input launching for 'Media Library' : 400.340 ms - Total 400.340 ms / 1 intvls (Avg 400.340 ms)
[0x8693980] main playlist debug: rebuilding array of current - root Playlist
[0x8693980] main playlist debug: rebuild done - 0 items, index -1
[0x8693980] main playlist debug: Activated
[0x869d1a0] main interface debug: looking for interface module: 1 candidate
[0x869d1a0] main interface debug: using interface module "hotkeys"
[0x869d1a0] main interface debug: TIMER module_need() : 17.230 ms - Total 17.230 ms / 1 intvls (Avg 17.230 ms)
[0x869d1a0] main interface debug: thread started
[0x869d1a0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8698170] main interface debug: looking for interface module: 1 candidate
[0x8698170] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x8698170] main interface warning: no interface module matching "inhibit,none" could be loaded
[0x8698170] main interface debug: TIMER module_need() : 54.165 ms - Total 54.165 ms / 1 intvls (Avg 54.165 ms)
[0x8698170] main interface error: no suitable interface module
[0x85fa8c0] main libvlc error: interface "inhibit,none" initialization failed
[0x8698170] main interface debug: looking for interface module: 1 candidate
[0x8698170] main interface debug: using interface module "screensaver"
[0x8698170] main interface debug: TIMER module_need() : 15.228 ms - Total 15.228 ms / 1 intvls (Avg 15.228 ms)
[0x8698170] main interface debug: thread started
[0x8698170] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8693980] main playlist debug: adding item `v4l:///dev/video1:size=320x240:channel=0' ( v4l:///dev/video1:size=320x240:channel=0 )
[0x8693980] main playlist debug: rebuilding array of current - root Playlist
[0x8693980] main playlist debug: rebuild done - 1 items, index -1
[0x8698170] screensaver interface warning: failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x86962d0] main interface debug: looking for interface module: 1 candidate
[0x86962d0] main interface debug: using interface module "signals"
[0x86962d0] main interface debug: TIMER module_need() : 13.770 ms - Total 13.770 ms / 1 intvls (Avg 13.770 ms)
[0x86962d0] main interface debug: thread started
[0x86962d0] main interface debug: thread ended
[0x86962d0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x869db70] main interface debug: looking for interface module: 0 candidates
[0x869db70] main interface error: no interface module matched "globalhotkeys,none"
[0x869db70] main interface debug: TIMER module_need() : 7.318 ms - Total 7.318 ms / 1 intvls (Avg 7.318 ms)
[0x869db70] main interface error: no suitable interface module
[0x85fa8c0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x85fa8c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x869dbd8] main interface debug: looking for interface module: 4 candidates
[0x869dbd8] qt4 interface error: Could not connect to X server
[0x869dbd8] skins2 interface error: Cannot open display
[0x869dbd8] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[0x869dbd8] main interface debug: using interface module "rc"
[0x869dbd8] main interface debug: TIMER module_need() : 669.489 ms - Total 669.489 ms / 1 intvls (Avg 669.489 ms)
[0x869dbd8] main interface debug: thread started
[0x869dbd8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8693980] main playlist debug: processing request item null node Playlist skip 0
[0x8693980] main playlist debug: starting new item
[0x8693980] main playlist debug: creating new input thread
[0x869df18] main input debug: Creating an input for 'v4l:///dev/video1:size=320x240:channel=0'
[0x869df18] main input debug: thread started
[0x86acd08] main stream output debug: stream=`transcode'
[0x86ad460] main stream out debug: looking for sout stream module: 1 candidate
[0x86acd08] main stream output debug: stream=`rtp'
[0x869df18] main input debug: thread (input) created at priority 10 (input/input.c:230)
[0x86af6d0] main stream out debug: looking for sout stream module: 1 candidate
[0x86af6d0] main stream out debug: set config option: sout-rtp-dst to 192.168.110.232
[0x86af6d0] main stream out debug: set config option: sout-rtp-port to 1234
[0x86af6d0] main stream out debug: set config option: sout-rtp-sdp to http://192.168.110.232:8080/test.sdp
[0x86af6d0] main stream out: creating httpd
[0x86af6d0] main stream out debug: net: listening to 192.168.110.232 port 8080
[0x86af6d0] main stream out debug: using sout stream module "stream_out_rtp"
[0x86af6d0] main stream out debug: TIMER module_need() : 262.065 ms - Total 262.065 ms / 1 intvls (Avg 262.065 ms)
[0x86ad460] main stream out debug: set config option: sout-transcode-vcodec to mp4v
[0x86ad460] main stream out debug: set config option: sout-transcode-venc to ffmpeg
[0x86ad460] stream_out_transcode stream out debug: codec video=mp4v 0x0 scaling: 1.000000 800kb/s
[0x86ad460] main stream out debug: using sout stream module "stream_out_transcode"
[0x86ad460] main stream out debug: TIMER module_need() : 592.970 ms - Total 592.970 ms / 1 intvls (Avg 592.970 ms)
[0x869df18] main input debug: using timeshift granularity of 50 MBytes
[0x869df18] main input debug: using timeshift path '/tmp'
[0x869df18] main input debug: `v4l:///dev/video1:size=320x240:channel=0' gives access `v4l' demux `' path `/dev/video1:size=320x240:channel=0'
[0x869df18] main input debug: creating demux: access='v4l' demux='' path='/dev/video1:size=320x240:channel=0'
[0x86ad7d8] main demux debug: looking for access_demux module: 1 candidate
[0x86ad7d8] v4l demux debug: WxH 320x240
[0x86ad7d8] v4l demux debug: opening device '/dev/video1'
[0x86ad7d8] v4l demux debug: V4L device PC Camera 1 channels 0 audios 48 < w < 640 32 < h < 480
[0x86ad7d8] v4l demux debug: setting channel zc3xx(0) 0 tuners flags=0x0 type=0x2 norm=0x0
[0x86ad7d8] v4l demux debug: v4l device uses brightness: 32896
[0x86ad7d8] v4l demux debug: v4l device uses colour: 0
[0x86ad7d8] v4l demux debug: v4l device uses hue: 0
[0x86ad7d8] v4l demux debug: v4l device uses contrast: 32768
[0x86ad7d8] v4l demux debug: v4l device uses frame size: 115200
[0x86ad7d8] v4l demux debug: v4l device uses chroma: I420
[0x86ad7d8] v4l demux debug: v4l grabbing started
[0x86ad7d8] v4l demux debug: added new video es I420 320x240
[0x869df18] main input debug: selecting program id=0
[0x86ad7d8] main demux debug: using access_demux module "v4l"
[0x86ad7d8] main demux debug: TIMER module_need() : 1335.625 ms - Total 1335.625 ms / 1 intvls (Avg 1335.625 ms)
[0x86ae5f0] main packetizer debug: looking for packetizer module: 21 candidates
[0x86ae5f0] rawvideo packetizer warning: invalid frame rate 0/0, using 25 fps instead
[0x86ae5f0] main packetizer debug: using packetizer module "rawvideo"
[0x86ae5f0] main packetizer debug: TIMER module_need() : 63.198 ms - Total 63.198 ms / 1 intvls (Avg 63.198 ms)
[0x86ae5f0] main packetizer debug: thread started
[0x86ae5f0] main packetizer debug: thread (decoder) created at priority 0 (input/decoder.c:315)
[0x869df18] main input debug: starting in async mode
[0x869df18] main input debug: `v4l:///dev/video1:size=320x240:channel=0' successfully opened
[0x86ad7d8] v4l demux error: failed capturing new frame
[0x86ad7d8] v4l demux error: failed capturing new frame
[0x86ad7d8] v4l demux error: failed capturing new frame
But I'm quite sure, that this needs only a few modifications to the command line cause /var/log/messages shows me no errors when I plug in the cam itelf:
Sep 28 13:22:46 wc02 kernel: [129563.125806] usb 1-1: new full speed USB device using ohci_hcd and address 10
Sep 28 13:22:46 wc02 kernel: [129563.338726] usb 1-1: New USB device found, idVendor=0ac8, idProduct=305b
Sep 28 13:22:46 wc02 kernel: [129563.338753] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 28 13:22:46 wc02 kernel: [129563.338779] usb 1-1: Product: PC Camera
Sep 28 13:22:46 wc02 kernel: [129563.338795] usb 1-1: Manufacturer: Vimicro Corp.
Sep 28 13:22:46 wc02 kernel: [129563.340349] usb 1-1: configuration #1 chosen from 1 choice
Sep 28 13:22:46 wc02 kernel: [129563.343669] gspca: probing 0ac8:305b
Sep 28 13:22:46 wc02 kernel: [129563.343786] zc3xx: Sensor Tas5130 (VF0250)
Sep 28 13:22:46 wc02 kernel: [129563.360538] gspca: probe ok
Also when I querry the usb device itself:
lsusb -d 0ac8:305b -v

Bus 001 Device 002: ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 Webcam
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0ac8 Z-Star Microelectronics Corp.
idProduct 0x305b ZC0305 Webcam
bcdDevice 1.00
iManufacturer 1 Vimicro Corp.
iProduct 2 PC Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c0 1x 192 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0180 1x 384 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0300 1x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0380 1x 896 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Many thanks for your help !

regards
Stefan

Re: not able to get vlc working

Posted: 30 Sep 2009 22:57
by UnknownX
nobody with any hints ???

regards

Re: not able to get vlc working

Posted: 01 Oct 2009 14:28
by xtophe
Try with the v4l2 module rather than v4l

Re: not able to get vlc working

Posted: 01 Oct 2009 22:12
by UnknownX
Dear @ll,

thanks for your reply "xtophe".

If I use the v4l2 module the message is a bit different - but still not working. In this case I'm (and furthermore the vlc player is) not able to open the stream.
[0x8e098c0] main libvlc error: interface "inhibit,none" initialization failed
[0x8ea8590] main interface debug: looking for interface module: 1 candidate
[0x8ea8590] main interface debug: using interface module "screensaver"
[0x8ea8590] main interface debug: TIMER module_need() : 12.879 ms - Total 12.879 ms / 1 intvls (Avg 12.879 ms)
[0x8ea8590] main interface debug: thread started
[0x8ea8590] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8ea2940] main playlist debug: adding item `v4l2:///dev/video0:chroma=YUYV:height=480:width=640' ( v4l2:///dev/video0:chroma=YUYV:height=480:width=640 )
[0x8ea2940] main playlist debug: rebuilding array of current - root Playlist
[0x8ea2940] main playlist debug: rebuild done - 1 items, index -1
[0x8ea8590] screensaver interface warning: failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x8ea9628] main interface debug: looking for interface module: 1 candidate
[0x8ea9628] main interface debug: using interface module "signals"
[0x8ea9628] main interface debug: TIMER module_need() : 13.297 ms - Total 13.297 ms / 1 intvls (Avg 13.297 ms)
[0x8ea9628] main interface debug: thread started
[0x8ea9628] main interface debug: thread ended
[0x8ea9628] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8ea4f40] main interface debug: looking for interface module: 0 candidates
[0x8ea4f40] main interface error: no interface module matched "globalhotkeys,none"
[0x8ea4f40] main interface debug: TIMER module_need() : 9.516 ms - Total 9.516 ms / 1 intvls (Avg 9.516 ms)
[0x8ea4f40] main interface error: no suitable interface module
[0x8e098c0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x8ea4ee8] main interface debug: looking for interface module: 1 candidate
[0x8ea4ee8] dummy interface: using the dummy interface module...
[0x8ea4ee8] main interface debug: using interface module "dummy"
[0x8ea4ee8] main interface debug: TIMER module_need() : 15.748 ms - Total 15.748 ms / 1 intvls (Avg 15.748 ms)
[0x8ea4ee8] main interface debug: thread started
[0x8ea4ee8] main interface debug: thread ended
[0x8ea4ee8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
[0x8ea2940] main playlist debug: processing request item null node Playlist skip 0
[0x8ea2940] main playlist debug: starting new item
[0x8ea2940] main playlist debug: creating new input thread
[0x8ead8f8] main input debug: Creating an input for 'v4l2:///dev/video0:chroma=YUYV:height=480:width=640'
[0x8ead8f8] main input debug: thread started
[0x8ead8f8] main input debug: using timeshift granularity of 50 MBytes
[0x8ead8f8] main input debug: using timeshift path '/tmp'
[0x8ead8f8] main input debug: thread (input) created at priority 10 (input/input.c:230)
[0x8ead8f8] main input debug: `v4l2:///dev/video0:chroma=YUYV:height=480:width=640' gives access `v4l2' demux `' path `/dev/video0:chroma=YUYV:height=480:width=640'
[0x8ead8f8] main input debug: creating demux: access='v4l2' demux='' path='/dev/video0:chroma=YUYV:height=480:width=640'
[0x8eaeac8] main demux debug: looking for access_demux module: 1 candidate
[0x8eaeac8] v4l2 demux debug: Trying direct kernel v4l2
[0x8eaeac8] v4l2 demux debug: opening device '/dev/video0'
[0x8eaeac8] v4l2 demux debug: V4L2 device: PC Camera using driver: zc3xx (version: 2.5.0) on usb-0000:00:01.2-1
[0x8eaeac8] v4l2 demux debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
[0x8eaeac8] v4l2 demux debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[0x8eaeac8] v4l2 demux debug: video input 0 (zc3xx) has type: External analog input *
[0x8eaeac8] v4l2 demux debug: device codec JPEG (JPEG) not supported
[0x8eaeac8] v4l2 demux debug: '/dev/video0' is a video device
[0x8eaeac8] v4l2 demux debug: Extended control API supported by v4l2 driver
[0x8eaeac8] v4l2 demux debug: Available control: Brightness (980900)
[0x8eaeac8] v4l2 demux debug: integer control
[0x8eaeac8] v4l2 demux debug: valid values: 0 to 255 by steps of 1
[0x8eaeac8] v4l2 demux debug: default value: 128
[0x8eaeac8] v4l2 demux debug: current value: 128
[0x8eaeac8] v4l2 demux debug: Available control: Contrast (980901)
[0x8eaeac8] v4l2 demux debug: integer control
[0x8eaeac8] v4l2 demux debug: valid values: 0 to 256 by steps of 1
[0x8eaeac8] v4l2 demux debug: default value: 128
[0x8eaeac8] v4l2 demux debug: current value: 128
[0x8eaeac8] v4l2 demux debug: Available control: Gamma (980910)
[0x8eaeac8] v4l2 demux debug: integer control
[0x8eaeac8] v4l2 demux debug: valid values: 1 to 6 by steps of 1
[0x8eaeac8] v4l2 demux debug: default value: 4
[0x8eaeac8] v4l2 demux debug: current value: 3
[0x8eaeac8] v4l2 demux debug: Available control: Auto Gain (980912)
[0x8eaeac8] v4l2 demux debug: boolean control
[0x8eaeac8] v4l2 demux debug: default value: 1
[0x8eaeac8] v4l2 demux debug: current value: 1
[0x8eaeac8] v4l2 demux debug: Available control: Light frequency filter (980918)
[0x8eaeac8] v4l2 demux debug: menu control
[0x8eaeac8] v4l2 demux debug: 0: NoFliker
[0x8eaeac8] v4l2 demux debug: 1: 50 Hz
[0x8eaeac8] v4l2 demux debug: 2: 60 Hz
[0x8eaeac8] v4l2 demux debug: default value: 1
[0x8eaeac8] v4l2 demux debug: current value: 1
[0x8eaeac8] v4l2 demux debug: Available control: Sharpness (98091b)
[0x8eaeac8] v4l2 demux debug: integer control
[0x8eaeac8] v4l2 demux debug: valid values: 0 to 3 by steps of 1
[0x8eaeac8] v4l2 demux debug: default value: 2
[0x8eaeac8] v4l2 demux debug: current value: 2
[0x8eaeac8] v4l2 demux debug: trying specified size 640x480
[0x8eaeac8] v4l2 demux warning: Driver is unable to use specified chroma YUYV. Trying defaults.
[0x8eaeac8] v4l2 demux warning: Could not select any of the default chromas; attempting to open as MPEG encoder card (access)
[0x8eaeac8] v4l2 demux debug: Trying libv4l2 wrapper
[0x8eaeac8] v4l2 demux debug: opening device '/dev/video0'
[0x8eaeac8] v4l2 demux debug: V4L2 device: PC Camera using driver: zc3xx (version: 2.5.0) on usb-0000:00:01.2-1
[0x8eaeac8] v4l2 demux debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
[0x8eaeac8] v4l2 demux debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[0x8eaeac8] v4l2 demux debug: video input 0 (zc3xx) has type: External analog input *
[0x8eaeac8] v4l2 demux error: cannot get video input characteristics (Invalid argument)
[0x8eaeac8] main demux warning: no access_demux module matching "v4l2" could be loaded
[0x8eaeac8] main demux debug: TIMER module_need() : 215.937 ms - Total 215.937 ms / 1 intvls (Avg 215.937 ms)
[0x8ead8f8] main input debug: creating access 'v4l2' path='/dev/video0:chroma=YUYV:height=480:width=640'
[0x8eb41e0] main access debug: looking for access module: 1 candidate
[0x8eb41e0] v4l2 access debug: Trying direct kernel v4l2
[0x8eb41e0] v4l2 access debug: opening device '/dev/video0'
[0x8eb41e0] v4l2 access debug: V4L2 device: PC Camera using driver: zc3xx (version: 2.5.0) on usb-0000:00:01.2-1
[0x8eb41e0] v4l2 access debug: the device has the capabilities: (X) Video Capure, ( ) Audio, ( ) Tuner
[0x8eb41e0] v4l2 access debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[0x8eb41e0] v4l2 access debug: video input 0 (zc3xx) has type: External analog input *
[0x8eb41e0] v4l2 access debug: device codec JPEG (JPEG) not supported
[0x8eb41e0] v4l2 access debug: '/dev/video0' is a video device
[0x8eb41e0] v4l2 access debug: Extended control API supported by v4l2 driver
[0x8eb41e0] v4l2 access debug: Available control: Brightness (980900)
[0x8eb41e0] v4l2 access debug: integer control
[0x8eb41e0] v4l2 access debug: valid values: 0 to 255 by steps of 1
[0x8eb41e0] v4l2 access debug: default value: 128
[0x8eb41e0] v4l2 access debug: current value: 128
[0x8eb41e0] v4l2 access debug: Available control: Contrast (980901)
[0x8eb41e0] v4l2 access debug: integer control
[0x8eb41e0] v4l2 access debug: valid values: 0 to 256 by steps of 1
[0x8eb41e0] v4l2 access debug: default value: 128
[0x8eb41e0] v4l2 access debug: current value: 128
[0x8eb41e0] v4l2 access debug: Available control: Gamma (980910)
[0x8eb41e0] v4l2 access debug: integer control
[0x8eb41e0] v4l2 access debug: valid values: 1 to 6 by steps of 1
[0x8eb41e0] v4l2 access debug: default value: 4
[0x8eb41e0] v4l2 access debug: current value: 3
[0x8eb41e0] v4l2 access debug: Available control: Auto Gain (980912)
[0x8eb41e0] v4l2 access debug: boolean control
[0x8eb41e0] v4l2 access debug: default value: 1
[0x8eb41e0] v4l2 access debug: current value: 1
[0x8eb41e0] v4l2 access debug: Available control: Light frequency filter (980918)
[0x8eb41e0] v4l2 access debug: menu control
[0x8eb41e0] v4l2 access debug: 0: NoFliker
[0x8eb41e0] v4l2 access debug: 1: 50 Hz
[0x8eb41e0] v4l2 access debug: 2: 60 Hz
[0x8eb41e0] v4l2 access debug: default value: 1
[0x8eb41e0] v4l2 access debug: current value: 1
[0x8eb41e0] v4l2 access debug: Available control: Sharpness (98091b)
[0x8eb41e0] v4l2 access debug: integer control
[0x8eb41e0] v4l2 access debug: valid values: 0 to 3 by steps of 1
[0x8eb41e0] v4l2 access debug: default value: 2
[0x8eb41e0] v4l2 access debug: current value: 2
[0x8eb41e0] main access debug: using access module "v4l2"
[0x8eb41e0] main access debug: TIMER module_need() : 169.297 ms - Total 169.297 ms / 1 intvls (Avg 169.297 ms)
[0x8eb3410] main stream debug: Using AStream*Stream
[0x8eb3410] main stream debug: pre buffering
[0x8eb3410] main stream debug: received first data after 1243 ms
[0x8eb3410] main stream debug: pre-buffering done 1024 bytes in 1s - 0 kbytes/s
[0x8eb3678] main stream debug: looking for stream_filter module: 4 candidates
[0x8eb3678] main stream debug: TIMER module_need() : 6.556 ms - Total 6.556 ms / 1 intvls (Avg 6.556 ms)
[0x8eb3678] main stream debug: looking for stream_filter module: 1 candidate
[0x8eb3678] main stream debug: using stream_filter module "stream_filter_record"
[0x8eb3678] main stream debug: TIMER module_need() : 8.176 ms - Total 8.176 ms / 1 intvls (Avg 8.176 ms)
[0x8ead8f8] main input debug: creating demux: access='v4l2' demux='' path='/dev/video0:chroma=YUYV:height=480:width=640'
[0x8eb3d48] main demux debug: looking for demux module: 51 candidates
[0x8eb3d48] mjpeg demux debug: JPEG SOI marker detected
[0x8ead8f8] main input debug: selecting program id=0
[0x8eb3d48] main demux debug: using demux module "mjpeg"
[0x8eb3d48] main demux debug: TIMER module_need() : 658.193 ms - Total 658.193 ms / 1 intvls (Avg 658.193 ms)
[0x8eb5c88] main decoder debug: looking for decoder module: 31 candidates
[0x8eb5c88] avcodec decoder debug: libavcodec initialized (interface 0x341400)
[0x8eb5c88] avcodec decoder debug: using direct rendering
[0x8eb5c88] avcodec decoder debug: ffmpeg codec (Motion JPEG Video) started
[0x8eb5c88] main decoder debug: using decoder module "avcodec"
[0x8eb5c88] main decoder debug: TIMER module_need() : 821.298 ms - Total 821.298 ms / 1 intvls (Avg 821.298 ms)
[0x8eb5c88] main decoder debug: thread started
[0x8eb5c88] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:315)
[0x8ead8f8] main input debug: `v4l2:///dev/video0:chroma=YUYV:height=480:width=640' successfully opened
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 1025
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 3179
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 3181
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 5337
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 5339
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 7499
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 7501
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 8009
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 8012
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 8097
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 10261
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 10263
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 12425
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 12427
[0x8eb3d48] mjpeg demux debug: JPEG EOI detected at 14597
[0x8eb3d48] mjpeg demux debug: we found another JPEG SOI at 14599
Anyone with any suggestion for this case?

The command for this result was cvlc -vvv v4l2:///dev/video0:height=480:width=640

regards
Stefan

Re: not able to get vlc working

Posted: 01 Oct 2009 23:18
by xtophe
Is that on sid ?

Try with --v4l2-use-libv4l2