Summary: Realtime audio/video encoder and streaming server Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni Name: ffmpeg Version: 0.4.5 Release: 3 License: GPL Group: Daemons Source0: http://prdownloads.sourceforge.net/ffmpeg/%{name}-%{version}.tar.gz Patch0: %{name}-opt.patch URL: http://ffmpeg.sourceforge.net/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %ifarch i586 i686 athlon BuildRequires: nasm %endif %description ffmpeg is a hyper fast realtime audio/video encoder and streaming server. It can grab from a standard Video4Linux video source and convert it into several file formats based on DCT/motion compensation encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 compatible stream. %description -l pl ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym oraz serwerem strumieni multimedialnych. ffmpeg potrafi zrzucać dane ze standardowego urządzenia Video4Linux i przekonwertować je w kilka formatów plików bazujących na kodowaniu DCT/kompensacji ruchu. Dźwięk jest kompresowany do strumienia MPEG audio layer 2 lub używając strumienia kompatybilnego z AC3. %prep %setup -q -n %{name} %patch -p1 %build ./configure \ %ifnarch i586 i686 athlon --disable-mmx %endif %{__make} \ OPT="%{rpmcflags}" \ LDOPT="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}} install ffmpeg $RPM_BUILD_ROOT%{_bindir} install ffserver $RPM_BUILD_ROOT%{_sbindir} install doc/*.conf $RPM_BUILD_ROOT%{_sysconfdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README Change* doc/{bench.txt,ffmpeg.txt,ffserver.txt,README*,TODO,FAQ} %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_sbindir}/* %attr(740,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf