Difference between revisions of "FFmpeg"
Line 42: | Line 42: | ||
== Non-Multilib == | == Non-Multilib == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
Line 62: | Line 57: | ||
=== 32Bit === | === 32Bit === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
Line 84: | Line 74: | ||
=== N32 === | === N32 === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
Line 108: | Line 92: | ||
=== 64Bit === | === 64Bit === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
Line 133: | Line 111: | ||
== Contents == | == Contents == | ||
− | |||
− | |||
{|style="text-align: left" | {|style="text-align: left" |
Revision as of 14:27, 1 August 2009
Download Source: | http://ffmpeg.org/releases/ffmpeg-export-snapshot.tar.bz2 |
---|
Contents
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.
Project Homepage: http://ffmpeg.org/
Dependencies
Optional
Configuring
Look at the output of ./configure --help and add the parameters for the optional dependencies you have installed.
A few options you may want to use:
--enable-pp --enable-liba52 --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libx264 --enable-libxvid --enable-libvorbis
Non-Multilib
Compile the package:
./configure --prefix=/usr --enable-shared \ --enable-pthreads --enable-gpl \ --disable-ffplay --enable-postproc && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && CFLAGS="${BUILD32} -fno-PIC" \ ./configure --prefix=/usr --cc="gcc ${BUILD32}" \ --enable-shared --enable-pthreads \ --enable-gpl --disable-ffplay --enable-postproc && make
Install the package
make install && mv -v /usr/bin/ffmpeg{,-32} && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && CFLAGS="${BUILDN32} -fPIC" \ ./configure --prefix=/usr --cc="gcc ${BUILD32}" \ --{,sh}libdir=/usr/lib32 \ --enable-shared --enable-pthreads \ --enable-gpl --disable-ffplay --enable-postproc && make
Install the package
make install && mv -v /usr/bin/ffmpeg{,-n32} && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && CFLAGS="${BUILD64} -fPIC" \ ./configure --prefix=/usr --cc="gcc ${BUILD64}" \ --{,sh}libdir=/usr/lib64 \ --enable-shared --enable-pthreads \ --enable-gpl --disable-ffplay --enable-postproc && make
Install the package
make install && mv -v /usr/bin/ffmpeg{,-64} && ln -sfv multiarch_wrapper /usr/bin/ffmpeg && unset USE_ARCH
Contents
Installed Directories: | /usr/lib/vhook, /usr/include/ffmpeg |
---|---|
Installed Programs: | ffmpeg, ffserver |
Installed Libraries: | libavcodec.so, libavformat.so, |
Symlinks: | None |
Short Descriptions
ffmpeg | is a hyper fast audio and video encoder. |
---|---|
ffserver | is a hyper fast multi format audio and video streaming server. |
libavcodec | is a library containing all the FFmpeg audio/video encoders and decoders. |
libavformat | is a library containing parsers and generators for all common audio/video formats. |