Summary(pl.UTF-8): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
Name: ffmpeg
Version: 0.6
-Release: 1
+Release: 5
# LGPL or GPL, chosen at configure time (GPL version is more featured)
# (postprocessing, ac3, xvid, x264, faad)
License: GPL v3+ with LGPL v3+ parts
Source3: ffserver.conf
Patch0: %{name}-bug-803.patch
Patch1: %{name}-gsm.patch
+Patch2: faadbin-libfaadname.patch
+# vhook is gone. this patch needs different approach
+#PatchX: imagewidth.patch
+# http://webm.googlecode.com/files/ffmpeg-0.6_libvpx-0.9.1.diff.gz
+Patch3: ffmpeg-0.6_libvpx-0.9.1.diff
URL: http://www.ffmpeg.org/
BuildRequires: SDL-devel
BuildRequires: dirac-devel >= 1.0.0
BuildRequires: libvorbis-devel
BuildRequires: libvpx-devel >= 0.9.1
# X264_BUILD >= 83
-BuildRequires: libx264-devel >= 0.1.3-1_20100424_2245_1
+BuildRequires: libx264-devel >= 0.1.3-1.20100424_2245.1
BuildRequires: opencore-amr-devel
BuildRequires: openjpeg-devel >= 1.3-2
-BuildRequires: speex-devel
+BuildRequires: speex-devel >= 1:1.2-rc1
%ifarch %{ix86}
%ifnarch i386 i486
BuildRequires: nasm
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.470
BuildRequires: schroedinger-devel
-BuildRequires: speex-devel
BuildRequires: tetex
BuildRequires: texi2html
BuildRequires: texinfo
%setup -q
%patch0 -p1
%patch1 -p0
+%patch2 -p1
+%patch3 -p0
# package the grep result for mplayer, the result formatted as ./mplayer/configure
cat <<EOF > ffmpeg-avconfig
--enable-libdc1394 \
--enable-libdirac \
--enable-libfaad \
- --enable-libfaadbin \
--enable-libgsm \
--enable-libmp3lame \
--enable-libschroedinger \
--enable-shared \
--enable-swscale \
--enable-vdpau \
+ --enable-x11grab \
%ifnarch %{ix86} %{x8664}
--disable-mmx \
%endif
--enable-nonfree \
--enable-libfaac \
%endif
- --enable-runtime-cpudetect
+ --enable-runtime-cpudetect
# force oldscaler build
sed -i -e 's|#define.*CONFIG_OLDSCALER.*0|#define CONFIG_OLDSCALER 1|g' config.h