Archive

Posts Tagged ‘multimedia’

Install VLC on ubuntu 64 bits

September 23, 2011 Leave a comment

Once you have installed ffmpeg and x264, in the way I posted before, it is time to install vlc.

tar xjvf vlc-1.1.11.tar.bz2
cd vlc-1.1.11/
./configure

If there is an error in the configure probably could be the libqt4-dev

sudo apt-get install libqt4-dev
./configure
make
sudo make install
ln -s /usr/local/lib/libvlc* /usr/lib/
ln -s /usr/local/lib/libx264.a /usr/lib/
ln -s /usr/local/lib/vlc /usr/lib/vlc

Once you have done this you can use vlc as a player, but if you would like to stream some multimedia content you will see an error like “stream_out_standard stream out error: no suitable sout mux module for `udp¬†…” and “no sout mux module matched” and “main stream output error: stream chained failed for ‘standard {mux=” etc.

To solve this install libdvbpsi:

sudo apt-get install libdvbpsi6
sudo apt-get install libdvbpsi-dev

After that type:

./configure
make
make install

Finally you will have working vlc and ffmpeg together, without conflicts !

 

Advertisements
Categories: vlc Tags: , , ,

Installing libx264 and ffmpeg on Ubuntu 11.10 – 64 bits

August 23, 2011 9 comments

The main goal to compile and install libx264 and ffmpeg is try to make work vlc and ffmpeg at the same time.

First remove old installation

sudo apt-get remove ffmpeg x264 libx264-dev

Install all the packages you will need

sudo apt-get update
sudo apt-get install build-essential checkinstall git libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev texi2html yasm zlib1g-dev

Install X264

Install x264 packages getting the source code using git
Install git with:

sudo apt-get install git
git clone git://git.videolan.org/x264
cd x264/
./configure --enable-shared
make
sudo make install

Install ffmpeg

Install ffmpeg packages getting the source code using git

git clone git://git.videolan.org/ffmpeg
cd ffmpeg/
./configure --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-version3 --enable-nonfree --enable-avfilter --enable-pthreads
make
sudo make install

Configure global variables:

export LD_LIBRARY_PATH=/usr/local/lib
sudo gedit /etc/ld.so.conf

//add this –> /usr/local/lib at the end of the file

sudo ldconfig
hash x264 ffmpeg ffplay ffprobe or
hash x264 ffmpeg ffprobe</p>
Categories: ffmpeg, ubuntu Tags: , , ,