Pripojim se k dotazu ale jinym smerem. Chci streamovat radio po siti pres vlc ale nevim jak donutit vlc brat audio z line-in. Porad hlasi:
administrator@pkchemsrv:~$ vlc -vvv input_stream --sout '#trasncode{novideo,acodec=mp3,ab=32,channels=2}:standard{access=http,mux=asfh,dst=:8080}'
VLC media player 0.9.4 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.4 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=1ubuntu3' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "cs"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /home/administrator/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main libvlc debug: module bank initialized, found 272 modules
[00000001] main libvlc warning: Unable to get HAL device properties
[00000001] main libvlc debug: opening config file (/home/administrator/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000370] main interaction debug: thread 3082206096 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000370] main interaction debug: thread started
[00000372] main input debug: Creating an input for 'Knihovna médií'
[00000372] main input debug: Input is a meta file: disabling unneeded options
[00000372] main input debug: `file/xspf-open:///home/administrator/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/administrator/.local/share/vlc/ml.xspf'
[00000372] main input debug: creating access 'file' path='/home/administrator/.local/share/vlc/ml.xspf'
[00000373] main access debug: looking for access module: 3 candidates
[00000373] access_mmap access debug: opening file /home/administrator/.local/share/vlc/ml.xspf
[00000373] main access debug: using access module "access_mmap"
[00000373] main access debug: TIMER module_Need() : 1,511 ms - Total 1,511 ms / 1 intvls (Avg 1,511 ms)
[00000377] main stream debug: Using AStream*Block
[00000377] main stream debug: pre buffering
[00000377] main stream debug: received first data for our buffer
[00000373] access_mmap access debug: at end of memory mapped file
[00000372] main input debug: creating demux: access='file' demux='xspf-open' path='/home/administrator/.local/share/vlc/ml.xspf'
[00000378] main demux debug: looking for demux module: 1 candidate
[00000378] playlist demux debug: using XSPF playlist reader
[00000378] main demux debug: using demux module "playlist"
[00000378] main demux debug: TIMER module_Need() : 0,995 ms - Total 0,995 ms / 1 intvls (Avg 0,995 ms)
[00000372] main input debug: `file/xspf-open:///home/administrator/.local/share/vlc/ml.xspf' successfully opened
[00000393] main xml debug: looking for xml module: 2 candidates
[00000393] main xml debug: using xml module "xml"
[00000393] main xml debug: TIMER module_Need() : 1,409 ms - Total 1,409 ms / 1 intvls (Avg 1,409 ms)
[00000373] access_mmap access debug: at end of memory mapped file
[00000378] playlist demux warning: invalid <playlist> attribute:"xmlns:vlc"
[00000378] playlist demux debug: parsed 0 tracks successfully
[00000393] main xml debug: removing module "xml"
[00000372] main input debug: EOF reached
[00000372] main input debug: control type=1
[00000378] main demux debug: removing module "playlist"
[00000373] main access debug: removing module "access_mmap"
[00000372] main input debug: TIMER input launching for 'Knihovna médií' : 8,295 ms - Total 8,295 ms / 1 intvls (Avg 8,295 ms)
[00000395] main preparser debug: waiting for thread initialization
[00000395] main preparser debug: thread started
[00000395] main preparser debug: thread 3071032208 (preparser) created at priority 0 (playlist/thread.c:79)
[00000396] main fetcher debug: waiting for thread initialization
[00000396] main fetcher debug: thread started
[00000396] main fetcher debug: thread 3062639504 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000371] main playlist debug: waiting for thread initialization
[00000371] main playlist debug: thread started
[00000371] main playlist debug: rebuilding array of current - root Playlist
[00000371] main playlist debug: rebuild done - 0 items, index -1
[00000371] main playlist debug: thread 3054246800 (playlist) created at priority 0 (playlist/thread.c:117)
[00000397] main interface debug: looking for interface module: 1 candidate
[00000397] main interface debug: using interface module "hotkeys"
[00000397] main interface debug: TIMER module_Need() : 0,664 ms - Total 0,664 ms / 1 intvls (Avg 0,664 ms)
[00000397] main interface debug: thread 3045854096 (interface) created at priority 0 (interface/interface.c:168)
[00000397] main interface debug: thread started
[00000399] main interface debug: looking for interface module: 1 candidate
[00000399] inhibit interface error: Failed to connect to the D-Bus session daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000399] main interface warning: no interface module matching "inhibit,none" could be loaded
[00000399] main interface debug: TIMER module_Need() : 4,875 ms - Total 4,875 ms / 1 intvls (Avg 4,875 ms)
[00000399] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
[00000401] main interface debug: looking for interface module: 1 candidate
[00000401] main interface debug: using interface module "screensaver"
[00000401] main interface debug: TIMER module_Need() : 0,860 ms - Total 0,860 ms / 1 intvls (Avg 0,860 ms)
[00000401] main interface debug: thread started
[00000401] main interface debug: thread 3037461392 (interface) created at priority 0 (interface/interface.c:168)
[00000401] screensaver interface warning: failed to connect to the D-BUS daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000371] main playlist debug: adding item `input_stream' ( input_stream )
[00000403] main interface debug: looking for interface module: 22 candidates
[00000403] main interface debug: using interface module "signals"
[00000403] main interface debug: TIMER module_Need() : 0,802 ms - Total 0,802 ms / 1 intvls (Avg 0,802 ms)
[00000403] main interface debug: thread 3020675984 (interface) created at priority 0 (interface/interface.c:168)
[00000403] main interface debug: thread started
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000405] main interface debug: looking for interface module: 4 candidates
[00000405] qt4 interface error: Could not connect to X server
[00000405] skins2 interface error: Cannot open display
[00000405] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[00000405] main interface debug: using interface module "rc"
[00000405] main interface debug: TIMER module_Need() : 50,722 ms - Total 50,722 ms / 1 intvls (Avg 50,722 ms)
[00000405] main interface debug: thread 2992954256 (interface) created at priority 0 (interface/interface.c:168)
[00000405] main interface debug: thread started
[00000371] main playlist debug: rebuilding array of current - root Playlist
[00000371] main playlist debug: rebuild done - 1 items, index -1
[00000371] main playlist debug: starting new item
[00000371] main playlist debug: processing request item null node Playlist skip 0
[00000371] main playlist debug: creating new input thread
[00000413] main input debug: Creating an input for 'input_stream'
[00000413] main input debug: waiting for thread initialization
[00000413] main input debug: thread started
[00000413] main input debug: thread 2984561552 (input) created at priority 10 (input/input.c:370)
[00000414] main stream output debug: stream=`trasncode'
[00000415] main stream out debug: looking for sout stream module: 0 candidates
[00000415] main stream out error: no sout stream module matched "trasncode"
[00000415] main stream out debug: TIMER module_Need() : 0,341 ms - Total 0,341 ms / 1 intvls (Avg 0,341 ms)
[00000415] main stream out debug: destroying chain... (name=trasncode)
[00000415] main stream out debug: destroying chain done
[00000414] main stream output error: stream chain failed for `trasncode{novideo,acodec=mp3,ab=32,channels=2}:standard{access=http,mux=asfh,dst=:8080}'
[00000413] main input error: cannot start stream output instance, aborting
[00000371] main playlist debug: finished input
[00000371] main playlist debug: dying input
[00000371] main playlist debug: dying input
[00000413] main input debug: thread ended
[00000371] main playlist debug: dead input
[00000413] main input debug: thread 2984561552 joined (playlist/engine.c:244)
[00000413] main input debug: TIMER input launching for 'input_stream' : 105,996 ms - Total 105,996 ms / 1 intvls (Avg 105,996 ms)
[00000371] main playlist debug: starting new item
[00000371] main playlist debug: changing item without a request (current 0/1)
[00000371] main playlist debug: nothing to play
quit
quit: returned 0 (no error)
status change: ( stop state: 0 )
status change: ( quit )
[00000001] main libvlc debug: removing all interfaces
[00000405] main interface debug: thread ended
[00000405] main interface debug: waitpipe: object killed
[00000405] main interface debug: thread 2992954256 joined (interface/interface.c:188)
[00000405] main interface debug: removing module "rc"
[00000403] main interface debug: thread ended
[00000403] main interface debug: thread 3020675984 joined (interface/interface.c:188)
[00000403] main interface debug: removing module "signals"
[00000401] main interface debug: thread ended
[00000401] main interface debug: thread 3037461392 joined (interface/interface.c:188)
[00000401] main interface debug: removing module "screensaver"
[00000397] main interface debug: thread ended
[00000397] main interface debug: thread 3045854096 joined (interface/interface.c:188)
[00000397] main interface debug: removing module "hotkeys"
[00000001] main libvlc debug: removing all services discovery tasks
[00000001] main libvlc debug: removing playlist
[00000371] main playlist debug: saving Knihovna médií to file /home/administrator/.local/share/vlc/ml.xspf
[00000371] main playlist debug: looking for playlist export module: 1 candidate
[00000371] main playlist debug: using playlist export module "export"
[00000371] main playlist debug: TIMER module_Need() : 0,760 ms - Total 0,760 ms / 1 intvls (Avg 0,760 ms)
[00000371] main playlist debug: removing module "export"
[00000395] main preparser debug: thread ended
[00000395] main preparser debug: thread 3071032208 joined (playlist/engine.c:521)
[00000396] main fetcher debug: thread ended
[00000396] main fetcher debug: thread 3062639504 joined (playlist/engine.c:523)
[00000371] main playlist debug: thread ended
[00000371] main playlist debug: thread 3054246800 joined (libvlc.c:992)
[00000395] main preparser debug: Destroyed
[00000396] main fetcher debug: Destroyed
[00000371] main playlist debug: Destroyed
[00000001] main libvlc debug: removing interaction
[00000370] main interaction debug: thread ended
[00000370] main interaction debug: thread 3082206096 joined (interface/interaction.c:400)
[00000001] main libvlc debug: removing all video outputs
[00000001] main libvlc debug: TIMER ML Load : Total 10,626 ms / 1 intvls (Avg 10,626 ms)
[00000001] main libvlc debug: TIMER Items array build : Total 0,165 ms / 2 intvls (Avg 0,083 ms)
[00000001] main libvlc debug: TIMER ML Dump : Total 1,152 ms / 1 intvls (Avg 1,152 ms)
[00000001] main libvlc debug: removing stats
[00000001] main libvlc debug: removing module "memcpymmxext"
[00000001] main libvlc debug: writing plugins cache /home/administrator/.cache/vlc/plugins-04041e.dat
administrator@pkchemsrv:~$ vlc adev=/dev/dsp:audio=0 --sout '#trasncode{novideo,acodec=mp3,ab=32,channels=2}:standard{access=http,mux=asfh,dst=:8080}'
VLC media player 0.9.4 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.4 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=1ubuntu3' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "cs"
[00000399] inhibit interface error: Failed to connect to the D-Bus session daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000399] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000405] qt4 interface error: Could not connect to X server
[00000405] skins2 interface error: Cannot open display
[00000405] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[00000415] main stream out error: no sout stream module matched "trasncode"
[00000414] main stream output error: stream chain failed for `trasncode{novideo,acodec=mp3,ab=32,channels=2}:standard{access=http,mux=asfh,dst=:8080}'
[00000413] main input error: cannot start stream output instance, aborting
Tohle je cely vypis konzole. V prvnim pripade mu nenutim zadne zarizeni a zlobi tam neco s D-Bus a ve druhem pripade mu nutim podle nejakeho navodu zarizeni pro audio.