Open a terminal and begin:
sudo apt-get install vlc browser-plugin-vlc git libtool build-essential pkg-config autoconf liba52-0.7.4-dev libdvdread-dev libkate-dev libass-dev libbluray-dev lua5.2 libcddb2-dev libdca-dev libfaad-dev libflac-dev libmad0-dev libmodplug-dev libmpcdec-dev libmpeg2-4-dev libogg-dev libopencv-dev libpostproc-dev libshout3-dev libspeex-dev libspeexdsp-dev libssh2-1-dev liblua5.1-0-dev libopus-dev libschroedinger-dev libsmbclient-dev libtwolame-dev libx264-dev libxcb-composite0-dev libxcb-randr0-dev libxcb-xv0-dev libzvbi-dev libxcb-keysyms1-dev libsdl-image1.2-dev librsvg2-dev libsamplerate0-dev libudev-dev libmtp-dev libupnp6-dev libnotify-dev libdvbpsi-dev libgme-dev libebml-dev libgnomevfs2-dev libsidplay2-dev libva-dev libjack-jackd2-dev libchromaprint-dev libxpm-dev libncurses5-dev libsidplay1-dev libtar-dev libqt4-dev libncursesw5-dev libprotoc9v5 protobuf-compiler
Download the most recent VLC source code, configure and compile it:
git clone git://git.videolan.org/vlc.git
cd vlc
export ACLOCAL_ARGS="-I /usr/share/aclocal"
./bootstrap
./configure --prefix=/usr --enable-rpi-omxil --disable-ogg --disable-mux_ogg
make
Compilation will take some hours to complete. Afterwards run:
sudo make install
After starting VLC for the first time, change the following options:
Settings, simple, Audio: make sure, ALSA and bcm2835 are selected
Settings, simple, Video, output: select “OpenMAX IL video output”
Settings, all, Audio: select “deactivate” for audio resampler (important for speed!)
VLC will remember these settings.
Overclocking
your RPi might really help, especially with HD videos. Many 720p videos
and streams work well, but almost no 1080p. But for SD stuff it really
runs fine and will give you more options and control than omxplayer.
Enjoy!
orginal link https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59814&sid=af6d06ed2ef7dd170516eb4f0c18be67