This chapter always seems to be the favorite chapter. It's probably because there is a lot of satisfaction in playing your first video when you have spent so much time getting to that point. All those libraries, all the configurations and your reward is that you finally get to watch a movie. Not to worry though, there is always one more CODEC to install.
FFmpeg is a solution to record, convert and stream audio and video. Due to heavy development, not all of these functions will work.
Download (HTTP): http://prdownloads.sourceforge.net/ffmpeg/ffmpeg-0.4.8.tar.gz
Download size: 1.3 MB
Estimated Disk space required: 31 MB
Estimated build time: 0.89 SBU
libvorbis-1.0.1, LAME-3.95.1, X (XFree86-4.4.0 or X.org-6.7.0), SDL-1.2.7 and FreeType-2.1.7
Install FFmpeg by running the following commands:
The package maintainers recommend compiling without any optimizations.
./configure --prefix=/usr --enable-shared &&
make &&
make install
--enable-shared: This switch is needed to build libavcodec and libavformat shared libraries.
--enable-mp3lame: Link against libmp3lame.
--enable-vorbis: Link against libvorbis.
--disable-ffplay: Only installs the server part. ffplay requires X for building.
~/.ffmpeg/ffserver-config
You'll find a sample ffserver configuration file at http://ffmpeg.sourceforge.net/sample.html
The FFmpeg package contains ffmpeg , ffserver, ffplay, libavcodec and libavformat.
ffmpeg is a command-line tool to convert video files, network streams and input from a TV card to several video formats.
ffserver is a streaming server for everything that ffmpeg could use as input (files, streams, TV card input, webcam, etc.).
ffplay is a very simple and portable media player using the ffmpeg libraries and the SDL library.