not able to get vlc working
Posted: 27 Sep 2009 23:07
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:
So if you have any hints for me to make vlc running I'll be very thankful
regards
Stefan
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:
After this vlc replies as follows: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
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.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
So if you have any hints for me to make vlc running I'll be very thankful
regards
Stefan