%general-entities; ]> $LastChangedBy$ $Date$ FFmpeg-&ffmpeg-version; FFmpeg Introduction to <application>FFmpeg</application> FFmpeg is a solution to record, convert and stream audio and video. It is a very fast video and audio converter and it can also acquire from a live audio/video source. Designed to be intuitive, the command-line interface (ffmpeg) tries to figure out all the parameters, when possible. FFmpeg can also convert from any sample rate to any other, and resize video on the fly with a high quality polyphase filter. FFmpeg can use a video4linux compatible video source and any Open Sound System audio source. Package information Download (HTTP): Download (FTP): Download size: &ffmpeg-size; Estimated disk space required: &ffmpeg-buildsize; Estimated build time: &ffmpeg-time; <application>FFmpeg</application> dependencies Optional , , , , X ( or ), , , FAAC, FAAD and (to build HTML documentation) Installation of <application>FFmpeg</application> Install FFmpeg by running the following commands: Review the doc/optimization.txt file in the source tree for information about optimizing the build. ./configure --prefix=/usr --enable-shared \ --enable-pthreads --disable-ffplay && make && make -C doc {ffmpeg,ffserver,ffplay}.1 Now, as the root user: make install If you have TeX installed and you wish to install the HTML documentation, run the following command as an unprivileged user: make -C doc Now, as the root user: install -v -d -m755 /usr/share/doc/ffmpeg-&ffmpeg-version; && install -v -m644 doc/*.html /usr/share/doc/ffmpeg-&ffmpeg-version; Command explanations --enable-shared: This switch is needed to build the libavcodec and libavformat shared libraries. --enable-pthreads: This switch enables the build to link against the Posix threads library. : Only installs the server part. ffplay requires X for building. Remove this option if X is installed. : Review the available options and codecs using the ./configure --help command. make -C doc {ffmpeg,ffserver,ffplay}.1: This builds the man pages which are installed by make install. Linking the liba52 library using the parameter to configure is known to break the build. Configuring <application>FFmpeg</application> Config files /etc/ffserver.conf and ~/.ffmpeg/ffserver-config ~/.ffmpeg/ffserver-config /etc/ffserver.conf You'll find a sample ffserver configuration file at (also doc/ffserver.conf in the source tree). Contents Installed Programs Installed Libraries Installed Directories ffmpeg, ffserver and optionally, ffplay libavcodec.so, libavformat.so and video hook modules /usr/include/ffmpeg, /usr/lib/vhook and /usr/share/doc/ffmpeg-&ffmpeg-version; Short Descriptions ffmpeg is a command-line tool to convert video files, network streams and input from a TV card to several video formats. ffmpeg ffplay is a very simple and portable media player using the ffmpeg libraries and the SDL library. ffplay ffserver is a streaming server for everything that ffmpeg could use as input (files, streams, TV card input, webcam, etc.). ffserver libavcodec.so is a library containing the FFmpeg codecs (both encoding and decoding). libavcodec.so libavformat.so is a library containing the file formats handling (mux and demux code for several formats) used by ffplay as well as allowing the generation of audio or video streams. libavformat.so