for some time I have been trying to get an at least moderately current version of VLC running on my debian sarge dedicated server. this sounds a little dramatic, but I am having serious problems getting this nice thing to run properly. my latest attempt was grabbing the latest versions of the dependencies, compiling them, and then compiling VLC itself. so to speak, only a very small amount of dependencies are traditional debian sarge packages.
this is how i ran the ffmpeg (latest SVN 2006-11-23) configure script:
Code: Select all
./configure --enable-faac --enable-pp --enable-gpl --enable-xvid --enable-a52
and this is how i ran the VLC (latest SVN as well) configure script (keep in mind its a dedicated server with no intended video output other than streaming):
Code: Select all
./configure \
--enable-ffmpeg --with-ffmpeg-tree=../ffmpeg-checkout-2006-11-23/ \
--enable-faad --with-faad-tree=../faad2-20040923/ \
--disable-wxwidgets \
--disable-skins2 \
--enable-release \
--enable-libtool \
--disable-gnome \
--disable-gtk \
--disable-familiar \
--disable-fb \
--enable-a52 \
--enable-aa \
--disable-kde \
--enable-mp4 \
--disable-satellite \
--enable-ogg \
--enable-vorbis \
--enable-shout \
--disable-slp \
--enable-flac \
--enable-freetype \
--enable-mkv \
--enable-speex \
--enable-live555 \
--enable-libmpeg2 \
--enable-dts \
--enable-fribidi \
--enable-mod \
--enable-theora \
--enable-modplug \
--enable-ffmpeg \
--enable-ncurses \
--disable-gnomevfs \
--enable-debug \
--enable-twolame
Code: Select all
--- snip snip ---
checking liveMedia.hh usability... yes
checking liveMedia.hh presence... yes
checking for liveMedia.hh... yes
checking for main in -lliveMedia_pic... yes
checking dvdread/dvd_reader.h usability... yes
checking dvdread/dvd_reader.h presence... yes
checking for dvdread/dvd_reader.h... yes
checking for dvdnav-config... /usr/bin/dvdnav-config
checking libsmbclient.h usability... no
checking libsmbclient.h presence... no
checking for libsmbclient.h... no
checking for struct _SMBCCTX.close_fn... no
checking for dvbpsi/dr.h... yes
checking for dvbpsi_GenSDTSections in -ldvbpsi... no
checking for LIBCDIO_CFLAGS...
checking for LIBCDIO_LIBS...
configure: WARNING: CD Reading and information library not found
checking for VCDINFO_CFLAGS...
checking for VCDINFO_LIBS...
configure: WARNING: VCD information library not found
checking for cdrom_msf0 in linux/cdrom.h... yes
checking for scsireq in sys/scsiio.h... no
checking for ioc_toc_header in sys/cdio.h... no
checking for LIBCDDB_CFLAGS...
checking for LIBCDDB_LIBS...
configure: WARNING: new enough libcddb not found. CDDB access disabled
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for inet_pton... yes
checking for sockaddr_in6 in netinet/in.h... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking for oggpack_read in -logg... yes
checking ebml/EbmlVersion.h usability... yes
checking ebml/EbmlVersion.h presence... yes
checking for ebml/EbmlVersion.h... yes
checking for libebml version >= 0.7.6... yes
checking matroska/KaxVersion.h usability... yes
checking matroska/KaxVersion.h presence... yes
checking for matroska/KaxVersion.h... yes
checking for libmatroska version >= 0.7.7... yes
checking matroska/KaxAttachments.h usability... yes
checking matroska/KaxAttachments.h presence... yes
checking for matroska/KaxAttachments.h... yes
checking for main in -lebml... yes
checking libmodplug/modplug.h usability... yes
checking libmodplug/modplug.h presence... yes
checking for libmodplug/modplug.h... yes
checking mpcdec/mpcdec.h usability... no
checking mpcdec/mpcdec.h presence... no
checking for mpcdec/mpcdec.h... no
configure: WARNING: only static linking is available, you must provide a gme-tree
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking for mad_bit_init in -lmad... yes
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking for libavcodec.a in ../ffmpeg-checkout-2006-11-23/... /root/vlc/ffmpeg-checkout-2006-11-23/libavcodec/libavcodec.a
CONFIG_ZLIB=yes
CONFIG_FAAC=yes
CONFIG_XVID=yes
checking for libfaad.a in ../faad2-20040923/... /root/vlc/faad2-20040923/libfaad/.libs/libfaad.a
checking twolame.h usability... yes
checking twolame.h presence... yes
checking for twolame.h... yes
checking for twolame_init in -ltwolame... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
checking libtar.h usability... yes
checking libtar.h presence... yes
checking for libtar.h... yes
checking a52dec/a52.h usability... yes
checking a52dec/a52.h presence... yes
checking for a52dec/a52.h... yes
checking for a52_free in -la52... yes
checking dts.h usability... yes
checking dts.h presence... yes
checking for dts.h... yes
checking for dts_free in -ldts_pic... yes
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking for libmpeg2 version >= 0.3.2... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking speex/speex.h usability... yes
checking speex/speex.h presence... yes
checking for speex/speex.h... yes
checking for speex_decode_int in -lspeex... yes
checking theora/theora.h usability... yes
checking theora/theora.h presence... yes
checking for theora/theora.h... yes
checking for theora_granule_time in -ltheora... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_set_rows in -lpng... yes
checking x264.h usability... yes
checking x264.h presence... yes
checking for x264.h... yes
checking for x264_encoder_open in -lx264... yes
checking for X11/extensions/dpms.h... yes
checking for DPMSInfo in X11/extensions/dpms.h... yes
checking for X11/Xlib.h... (cached) yes
checking X11/extensions/Xv.h usability... yes
checking X11/extensions/Xv.h presence... yes
checking for X11/extensions/Xv.h... yes
checking for XvPutImage in -lXv... yes
checking for X11/Xlib.h... (cached) yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama_pic... no
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/xf86vmode.h... yes
checking for XF86VidModeGetViewPort in -lXxf86vm_pic... no
checking for XF86VidModeGetViewPort in -lXxf86vm... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for GL/glu.h... (cached) yes
checking for sdl12-config... no
checking for sdl11-config... no
checking for sdl-config... /usr/bin/sdl-config
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking SDL/SDL_image.h usability... no
checking SDL/SDL_image.h presence... no
checking for SDL/SDL_image.h... no
checking SDL_image.h usability... no
checking SDL_image.h presence... no
checking for SDL_image.h... no
configure: WARNING: The development package for SDL_image is not installed.
You should install it alongside your SDL package.
checking for freetype-config... /usr/bin/freetype-config
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for fribidi-config... /usr/bin/fribidi-config
checking for xml2-config... /usr/bin/xml2-config
--- snip snip ---
so whats wrong now ?
this is what i get when i try to stream a video file. i tried different source formats (divx5, xvid, etc) and different stream output formats (div3, mp4v, theo, etc...), i always get the same ffmpeg error message:
Code: Select all
:~/vlc monty_python_-_gumby_specialist.avi \
--sout-vorbis-max-bitrate 128 \
--sout-vorbis-min-bitrate 86 \
--sout-transcode-vb 610 \
--browse-dir "$DIR" \
--sout '#transcode{vcodec=mp4v,acodec=vorb,channels=2,soverlay}:duplicate{dst=std{access=http,mux=ogg,url=video.wyckid.de:8080}}' \
-v
VLC media player 0.9.0-svn Grishenko
[00000295] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead.
[00000297] main private: creating httpd
[00000301] mux_ogg private: Open
[00000301] mux_ogg private: Close
Remote control interface initialized. Type `help' for help.
[00000334] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead.
[00000335] main private: creating httpd
[00000338] mux_ogg private: Open
[00000345] avi private warning: unknown chunk (not loaded)
[00000348] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000395] ffmpeg encoder warning: low delay forcing is only available for mpeg1/2
(mpeg4@0x820b2e0)
[00000395] ffmpeg encoder error: cannot open encoder
[00000331] stream_out_transcode private error: cannot find encoder ((null))
[00000331] stream_out_transcode private error: cannot create video chain
[00000348] main packetizer error: cannot create packetizer output (mp4v)
quit
status change: ( new input: monty_python_-_gumby_specialist.avi )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
quit: returned 0 (no error)
status change: ( stop state: 0 )
status change: ( quit )
[00000345] avi private warning: unknown chunk (not unloaded)
[00000338] main private warning: no more input streams for this mux
[00000338] mux_ogg private: Close
NOW NULL ****
[00000287] main playlist: saving Media Library to file /home/master/.vlc/ml.xsp
does anyone know what i seem to be doing wrong ? if so, i'd be really happy to get some feedback.