blob: a50df36c4188909c04bc618970d965193db8085e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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.
|