Code: Select all
extr@vlc-coder:~$ uname -a
Linux vlc-coder 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
Code: Select all
VLC="/usr/local/vlc0.9.8a/bin/vlc"
SOURCE="/home/extr/music.mp3"
$VLC -vvv -I dummy $SOURCE --sout "#transcode{acodec=mp3,ab=128}:duplicate{dst=std{access=http,mux=ts,dst=192.168.100.236:3000}}"
Code: Select all
[00000315] main interface debug: thread started
[00000316] main interface debug: looking for interface module: 1 candidate
[00000316] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
[00000316] main interface warning: no interface module matching "inhibit,none" could be loaded
[00000316] main interface debug: TIMER module_Need() : 2,863 ms - Total 2,863 ms / 1 intvls (Avg 2,863 ms)
[00000316] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
Code: Select all
[00000320] main input debug: looking for a subtitle file in /home/extr/
[00000320] main input debug: starting in async mode
[00000333] main demux debug: looking for meta reader module: 0 candidates
[00000333] main demux error: no meta reader module matched "any"
Code: Select all
[00000337] main encoder debug: looking for encoder module: 6 candidates
[00000337] main encoder debug: TIMER module_Need() : 0,109 ms - Total 0,109 ms / 1 intvls (Avg 0,109 ms)
[00000322] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 )
[00000336] main decoder debug: removing module "mpeg_audio"
[00000322] stream_out_transcode stream out error: cannot create audio chain
[00000335] main packetizer error: cannot create packetizer output (mpga)
Code: Select all
stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 )
Code: Select all
extr@vlc-coder:~$ ffmpeg -v
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libx264 --enable-gpl --enable-libvorbis --enable-postproc --enable-swscale --enable-libfaad
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 23 2009 11:26:02, gcc: 4.3.2
ffmpeg: missing argument for option '-v'
Code: Select all
extr@vlc-coder:~$ /usr/local/vlc0.9.8a/bin/vlc -vvv -list | grep ffmpeg
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr/local/vlc0.9.8a/' '--enable-run-as-root' '--enable-release' '--enable-v4l' '--disable-a52' '--disable-glx' '--enable-swscale' '--enable-avcodec' '--enable-avformat' '--enable-libdvbpsi' '--disable-x11--enable-libmpeg2' '--enable-avutil' '--enable-vorbis' '--enable-ogg' '--enable-mp3lame' '--enable-ncurses' '--enable-postproc'
[00000001] main libvlc debug: translation test: code is "ru"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /home/extr/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/usr/local/vlc0.9.8a_new3//lib/vlc'
[00000001] main libvlc warning: cannot load module `/usr/local/vlc0.9.8a_new3//lib/vlc/video_filter/libswscale_plugin.so' (/usr/local/vlc0.9.8a_new3//lib/vlc/video_filter/libswscale_plugin.so: undefined symbol: av_freep)
[00000001] main libvlc warning: cannot load module `/usr/local/vlc0.9.8a_new3//lib/vlc/demux/libavformat_plugin.so' (/usr/local/vlc0.9.8a_new3//lib/vlc/demux/libavformat_plugin.so: undefined symbol: avcodec_register_all)
[00000001] main libvlc warning: cannot load module `/usr/local/vlc0.9.8a_new3//lib/vlc/codec/libavcodec_plugin.so' (/usr/local/vlc0.9.8a_new3//lib/vlc/codec/libavcodec_plugin.so: undefined symbol: uncompress)
[00000001] main libvlc debug: module bank initialized, found 231 modules
[00000001] main libvlc debug: writing plugins cache /home/extr/.cache/vlc/plugins-04041e.dat
Can't understand what strings must add to the vlc-config file.?You are missing a few linking things like -lz for avcodec... Add those in vlc-config file.
Code: Select all
;;
avcodec)
cflags="${cflags} -I/usr/local/include"
libs="${libs} -L/usr/local/lib -lavcodec -lavutil -lm -lz"
;;
Code: Select all
vlc-coder:~/vlc-0.9.8a_new3# ls /usr/lib | grep avcodec
libavcodec.a
libavcodec.so
libavcodec.so.51
libavcodec.so.51.50.0
libavcodec.so.52
libavcodec.so.52.20.0
Code: Select all
vlc-coder:~/vlc-0.9.8a_new3# ls /usr/local/lib | grep avcodec
libavcodec.a
Code: Select all
vlc-coder:~/vlc-0.9.8a_new3# ldconfig -v | grep avcodec
libavcodec.so.52 -> libavcodec.so.52.20.0
libavcodec.so.51 -> libavcodec.so.51.50.0
Code: Select all
[00000367] main mux error: no sout mux module matched "ts"
Code: Select all
main libvlc debug: libvlc was configured with ./configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-a52' '--disable-aa' '--disable-faad' '--disable-alsa' '--disable-altivec' '--disable-arts' '--disable-asademux' '--disable-atmo' '--disable-bonjour' '--disable-fribidi' '--disable-vcd' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-csri' '--disable-dbus' '--disable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug' '--disable-dca' '--disable-dv' '--disable-dvb' '--disable-dvdread' '--disable-dvdnav' '--disable-esd' '--disable-fb' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--disable-imgresample' '--enable-postproc' '--disable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--disable-hal' '--disable-httpd' '--disable-id3tag' '--disable-jack' '--disable-kate' '--disable-libass' '--disable-caca' '--enable-libgcrypt' '--disable-notify' '--disable-libproxy' '--disable-libtar' '--disable-libsysfs' '--disable-libv4l2' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-mkv' '--disable-mmx' '--disable-mod' '--disable-mad' '--disable-libmpeg2' '--disable-mpc' '--enable-ncurses' '--disable-mozilla' '--with-mozilla-pkg=' '--disable-ogg' '--disable-glx' '--disable-opengl' '--disable-galaktos' '--disable-optimize-memory' '--disable-oss' '--disable-pda' '--disable-png' '--disable-portaudio' '--disable-pulse' '--disable-pvr' '--enable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--disable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-speex' '--disable-sse' '--disable-sout' '--disable-svg' '--disable-svgalib' '--disable-taglib' '--disable-theora' '--disable-freetype' '--disable-twolame' '--disable-upnp' '--disable-v4l' '--disable-v4l2' '--disable-vcdinfo' '--disable-vcdx' '--disable-vorbis' '--disable-loader' '--disable-x11' '--disable-screen' '--disable-x264' '--disable-xinerama' '--disable-libxml2' '--disable-xosd' '--disable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-snapshot' '--disable-growl' '--disable-optimizations' '--enable-fast-install' '--disable-vlm' '--disable-skins2' '--disable-remoteosd' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=i686 -pipe' 'LDFLAGS=-Wl,-O1' 'CPPFLAGS=' 'CXXFLAGS=-O2 -march=i686 -pipe'
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 20 guests