So I just created a fresh Gentoo Server with the latest portage and ran emerge vlc. Everything seemed to install OK, without any errors, but VLC simply won't play anything!
Example, if I run (vlc command alone doesn't work since the server has no gui):
cvlc -vvv http://192.168.X.Y:22610 --sout '#standard{access=http,mux=ogg,dst=192.168.A.B:8080}'
X.Y = the other streaming server
A.B = This Gentoo vlc server
I get these warnings/errors (partial output):
main demux warning: no access_demux module matched "http"
access_http access warning: ICY metaint=32768
main demux error: no meta reader module matched "any"
avcodec decoder warning: mdb:232, lastbuf:0 skipping granule 0 (mp2@0x96e7fd0)
avcodec decoder warning: mdb:229, lastbuf:65 skipping granule 0 (mp2@0x96e7fd0)
[00000310] avcodec decoder warning: mdb:240, lastbuf:131 skipping granule 0 (mp2@0x96e7fd0)
[00000310] avcodec decoder warning: mdb:235, lastbuf:196 skipping granule 0 (mp2@0x96e7fd0)
Side note: I must issue the command as a user, not as root. Apparently VLC no longer allows you to execute vlc as root. Hope it's not a permissions issue.
I did some researching on the forum, and it looks like I need to re ./configure the vlc installation, but I don't know how to do this since it was emerge that installed vlc.
Here's the first line of the output. I know for sure I want some of these enabled, but I don't know how to set them enabled:
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'