I have tried compile VLC player on ubuntu-0.94 myself, I use vlc-1.0.1.
at first I have download some tool like build-essential, automake, libtool......
then I have configure the VLC using this configure shell
Code: Select all
./configure \
--enable-live555 \
--enable-faad \
--disable-x264 \
--disable-qt4 \
--disable-x11 \
--disable-skins2 \
--disable-zvbi \
--disable-taglib \
--disable-activex \
--disable-sout \
--disable-lua \
--disable-httpd \
--disable-vlm \
--disable-taglib \
--disable-audioscrobbler \
--disable-dvdnav \
--disable-dvbpsi \
--disable-libcdio \
--disable-libcddb \
--disable-cdda \
--disable-dvb \
--disable-vcd \
--disable-mkv \
--disable-gme \
--disable-wma-fixed \
--disable-mad \
--disable-libtar \
--disable-libsysfs \
--disable-a52 \
--disable-libmpeg2 \
--disable-vorbis \
--disable-speex \
--disable-schroedinger \
--disable-fluidsynth \
--disable-telx \
--disable-xinerama \
--disable-opengl \
--disable-freetype \
--disable-fribidi \
--disable-fontconfig \
--disable-wince \
--disable-remoteosd
then I have download ffmpeg and compile it by support all the decoders and make install it to /usr/local/lib
Code: Select all
./configure \
--disable-mmx \
--enable-small \
--disable-debug \
--disable-stripping \
--enable-postproc \
--enable-gpl
then I go to /PATH/VLC/ and make, make install.
all thing is right.
then, I use the command : vlc rtsp://@172.21.2.131:554/rtsp_feed.avi to play the liveview
the problem comes, the vlc generate an error: no suitable decoder module for fourrc "mp4v".By the way , the audio is all right.
but I am sure to make the ffmpeg support MPEG4 when I config ffmpeg.The problem is headache, cause when I use libavcodec.a, libavformat.a which install through apt-get, VLC can play the liveview all right.
So , what is wrong when I compile the ffmpeg ? any one know it can help me?
Thanks a lot