2009-03-10 23:45:27 +01:00
|
|
|
{stdenv, fetchurl, faad2}:
|
2006-06-29 14:41:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-03-10 22:03:51 +01:00
|
|
|
name = "ffmpeg-0.5";
|
|
|
|
|
2006-06-29 14:41:25 +02:00
|
|
|
src = fetchurl {
|
2009-03-10 22:03:51 +01:00
|
|
|
url = http://www.ffmpeg.org/releases/ffmpeg-0.5.tar.bz2;
|
|
|
|
sha1 = "f930971bc0ac3d11a4ffbb1af439425c24f6f5b1";
|
|
|
|
};
|
|
|
|
|
|
|
|
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
|
|
|
|
# the resulting library is GPL'ed, so it can only be used in GPL'ed
|
|
|
|
# applications.
|
|
|
|
configureFlags = ''
|
|
|
|
--enable-shared
|
|
|
|
--disable-static
|
|
|
|
--enable-gpl
|
|
|
|
--enable-postproc
|
|
|
|
--enable-swscale
|
|
|
|
--disable-ffserver
|
|
|
|
--disable-ffplay
|
2009-03-10 23:45:27 +01:00
|
|
|
--enable-libfaad
|
2009-03-10 22:03:51 +01:00
|
|
|
'';
|
|
|
|
|
2009-03-10 23:45:27 +01:00
|
|
|
buildInputs = [faad2];
|
|
|
|
|
2009-03-10 22:03:51 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.ffmpeg.org/;
|
|
|
|
description = "A complete, cross-platform solution to record, convert and stream audio and video";
|
2006-06-29 14:41:25 +02:00
|
|
|
};
|
|
|
|
}
|