%general-entities; ]> $LastChangedBy$ $Date$ FFmpeg-&ffmpeg-version; FFmpeg Introduction to FFmpeg 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. The developers of this package do not create or distribute package tarballs any longer. BLFS created the tarball for this package by checking out from upstream SVN the FFmpeg code dated June 6, 2007. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &ffmpeg-md5sum; Download size: &ffmpeg-size; Estimated disk space required: &ffmpeg-buildsize; Estimated build time: &ffmpeg-time; FFmpeg Dependencies Optional AMR narrowband (floating point), AMR wideband, , , , GSM, , , , libdc1394, libnut (SVN checkout), , MediaLibrary, , Theora, , x264, , and (to build HTML documentation) User Notes: Installation of FFmpeg Review the doc/optimization.txt file in the source tree for information about optimizing the build. Additionally, you may want to build the postprocessing library as other packages such as and can utilize it, and depends on it. See the Command Explanations section for additional information). Install FFmpeg by running the following commands: ./configure --prefix=/usr \ --enable-shared \ --enable-pthreads \ --disable-ffplay && sed -i 's|/man|/share/man|' config.mak && make && texi2html --version >/dev/null 2>&1 || make doc/ff{mpeg,play,server}.1 If you have teTeX installed, the HTML documentation was built during the make process. If you wish to create additional formats of the documentation, you must have teTeX installed, then issue following commands: cd doc && for DOCNAME in faq ffmpeg-doc hooks ffserver-doc ffplay-doc; do texi2dvi -b -p $DOCNAME.texi texi2dvi -b $DOCNAME.texi dvips -o $DOCNAME.ps $DOCNAME.dvi if [ $DOCNAME = ffserver-doc ] || [ $DOCNAME = ffplay-doc ]; then \ continue fi makeinfo --plaintext --force -o $DOCNAME.txt $DOCNAME.texi done && cd .. && unset DOCNAME If you have installed and wish to create the API documentation (takes about 100 MB of space), issue doxygen. This package does not come with a test suite that works. Now, as the root user: make install && install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version; && install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version; && texi2html --version >/dev/null 2>&1 || make install-man If you created additional formats of the documentation, install it by issuing the following commands as the root user: install -v -m644 doc/*.{html,dvi,pdf,ps} \ /usr/share/doc/ffmpeg-&ffmpeg-version; If you created the API documentation, install it by issuing the following commands as the root user: install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api && cp -v doxy/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api Command Explanations --enable-shared: This switch is needed to build the shared libraries, otherwise only static libraries are built and installed. --enable-pthreads: This switch enables the build to link against the Posix threads library. --disable-ffplay: 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. You must explicitly enable each optional codec. Note that if you wish to build support for postprocessing, liba52, xvid, x264, libfaad2, x11grab or swscaler, you must pass to the configure script. --enable-pp: This switch enables postprocessing support. --enable-gpl: This switch enables the use of GPL code for postprocessing support. texi2html --version ...: These commands are used to check the presence of the teTeX package, and builds/installs the man pages if it is not found. Configuring FFmpeg 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,a}, libavformat.{so,a}, libavutil.{so,a}, video hook modules and optionally, libpostproc.{so,a} /usr/include/ffmpeg, /usr/include/postproc, /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