Table of Contents
VideoLAN Client (VLC)
VLC is a small, fast and lightweight, cross-platform Open Source media player (with focus on Video). It is able to play many different formats without requiring additional codecs.
Installation
Ubuntu
10.04 Lucid and above
Simply install the following package(s):
vlc
(universe)
There are some additional packages, providing special functionality:
mozilla-plugin-vlc
(universe) – Plugin to use VLC for playing videos within Firefox.1)
After installation, you can start the program by clicking “Applications→Sound & Video→VLC media player”. Or open a terminal and start it via vlc
.
Windows
XP and above
Simply download the Windows installer and execute it with administrator privileges.
Or use VLC portable, if you want to run VLC without installation.
Tips and tricks
Use VLC as streaming server
VLC is able to provide streams. This may be useful to stream e.g. web-based video (→less WAN traffic) or DVB-T (→only one hardware receiver needed) to other LAN clients:
Control VLC via web browser
VLC is able to start a small web server, enabling you to control the player using a browser (→remote control).2)
Execute the following command and open http://localhost in your browser afterwards:
vlc -I http
If you want to bind the server to a special IP and port:
vlc -I http --http-host 192.168.0.100:8080
On Ubuntu, access to the server is controlled via /usr/share/vlc/http/.hosts
. See the documentation for details.
VLC provides command line tools
VLC is able to run many tasks without a GUI, there are several terminal commands.3) The most important one is cvlc
, providing VLC without interface. This may be useful for command line playing or ripping something using shell scripts, e.g.
cvlc "/path/to/media/music.mp3"
Have a look at the documentation, it is really worth it.
Create screencasts using VLC
VLC is able to record your desktop activities, enabling you to create simple screencasts:
- Start VLC and have a look at “Media→Open Capture Decive…”
- Select “Capture Mode→Desktop”
- Choose a frame rate (e.g. 12)
- Click on the small selection arrow on the left of the “Play” button and choose “Convert”
- Specify a destination file, e.g.
myscreencast.mp4
- Click on “Start” to start recording your desktop
- Use the common stop button of the player to end recording
If you also want to record the mouse, go to “Tools→Preferences”. Choose “Show settings→All” in the lower left corner, now “Input / Codecs→Access modules→Screen”. Check “Follow the mouse” and specify a mouse pointer image to use, e.g. /usr/share/gnome-control-center/pixmaps/mouse-cursor-normal.png
on Ubuntu.
See also
Weblinks
gecko-mediaplayer
package to play video in Ubuntu's Firefox instead. I'm no MPlayer fanboy, but their browser-plugin is far better than the VLC one. It does not have the “waiting for video” issue on 64bit systems, is more stable and faster.qvlc
, svlc
, nvlc
, rvlc
and cvlc