mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
FFmpeg is a complete solution to record, convert and stream audio
|
|
and video. It includes libavcodec, the leading audio/video codec
|
|
library.
|
|
|
|
This script is tested using the svn code from 20071003, and this is
|
|
the tarball hosted on our site. You may elect to use this source
|
|
code to build the package, or you can pull the latest from their
|
|
subversion repository as indicated below.
|
|
|
|
If you want to use the latest subversion source when building your
|
|
ffmpeg package, you will need to get it from their svn server.
|
|
To get the source code, you can use the included "ffmpeg-mksrctarball.sh"
|
|
script, which will to download the source code and create a compressed
|
|
tarball of it using the date (date +"%Y%m%d") as its version string.
|
|
|
|
If you have already ffmpeg's source code as a tarball, for example:
|
|
ffmpeg-20081104.tar.bz2
|
|
You can tell the build script to use it with the following command:
|
|
VERSION=20081104 ./ffmpeg.SlackBuild
|
|
Note that this is the version that will be used by default unless you
|
|
specify otherwise.
|
|
|
|
ffmpeg requires the following, all of which are available at SlackBuilds.org:
|
|
lame, faac, faad2, xvidcore and x264
|
|
|
|
If you additionally want support for amrnb and/or amrwb pass AMRNB=yes and/or
|
|
AMRWB=yes to the script. This will create non-redistributable binaries though.
|
|
amrnb and amrwb can also be found on SlackBuilds.org.
|