Name: transcode Version: 1.1.7 Release: 6mamba Summary: A text-console utility for video stream processing Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.transcoding.org/cgi-bin/transcode Source: https://bitbucket.org/france/transcode-tcforge/downloads/transcode-%{version}.tar.bz2 Patch1: %{name}-1.1.7-ffmpeg-0.10.patch Patch2: transcode-1.1.7-ffmpeg-2.patch Patch3: transcode-1.1.7-freetype-2.5.patch Patch4: transcode-1.1.7-gcc10.patch Patch5: transcode-1.1.7-glibc-2.32.patch Patch6: transcode-1.1.7-imagemagick7.patch Patch7: transcode-1.1.7-ffmpeg3.patch Patch8: transcode-1.1.7-ffmpeg4.patch Patch9: transcode-1.1.7-swresample.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libMagick-devel BuildRequires: libSDL-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXaw-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXpm-devel BuildRequires: libXt-devel BuildRequires: libXv-devel BuildRequires: liba52dec-devel BuildRequires: libalsa-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libbrotli-devel BuildRequires: libbsd-devel BuildRequires: libbzip2-devel BuildRequires: libdirectfb-devel BuildRequires: libdv-devel BuildRequires: libdvdread-devel BuildRequires: libexpat-devel BuildRequires: libfaad2-devel BuildRequires: libfftw-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libgomp-devel BuildRequires: libgraphite2-devel BuildRequires: libharfbuzz-devel BuildRequires: liblame-devel BuildRequires: liblcms2-devel BuildRequires: liblqr-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: liblzo-devel BuildRequires: libmjpegtools-devel BuildRequires: libogg-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel BuildRequires: libpostproc-ffmpeg-devel BuildRequires: libquicktime-devel BuildRequires: libstdc++6-devel BuildRequires: libtheora-devel BuildRequires: libts-devel BuildRequires: libuuid-devel BuildRequires: libvorbis-devel BuildRequires: libxcb-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: libzip-devel ## AUTOBUILDREQ-END BuildRequires: libmpeg3-devel #%ifarch %ix86 x86_64 #BuildRequires: divx4linux-devel #%endif BuildRequires: liblqr-devel BuildRequires: libltdl-devel Requires: vorbis-tools Requires: libmjpegtools-devel >= 2.2.1 # FIXME: # hardware support # ---------------------------------------- # bktr no # sunau no # # optional package support # ---------------------------------------- # IBP no # pvm3 no # bsdav no # # # ERROR: option '--enable-libjpegmmx' failed: cannot link against libjpeg-mmx # x\can be found in the following packages: # jpeg-mmx http://sourceforge.net/projects/mjpeg/ %description Transcode is a text-console utility for video stream processing, running on a platform that supports shared libraries and threads. Decoding and encoding is done by loading modules that are responsible for feeding transcode with raw video/audio streams (import modules) and encoding the frames (export modules). It supports elementary video and audio frame transformations, including de-interlacing or fast resizing of video frames and loading of external filters. It's modular concept is intended to provide flexibility and easy user extensibility to include other video/audio codecs or file types. %debug_package %prep %setup -q #%patch1 -p0 #%patch2 -p1 #%patch3 -p1 %patch4 -p1 -b .gcc10 %patch5 -p1 -b .glibc-2.32 %patch6 -p1 -b .imagemagick7 %patch7 -p1 -b .ffmpeg3 %patch8 -p1 -b .ffmpeg4 %patch9 -p1 -b .swresample sed -e 's|freetype/ftglyph.h|freetype2/freetype/ftglyph.h|' -i filter/subtitler/load_font.c autoreconf -fi %build %configure \ --with-qt \ --enable-mmx \ --enable-oss \ --enable-freetype2 \ --enable-avifile \ --with-avifile-includes=%{_includedir}/avifile-0.7 \ --enable-lame \ --enable-ogg \ --enable-vorbis \ --enable-theora \ --enable-libdvdread \ --enable-libdv \ --enable-libquicktime \ --enable-lzo \ --with-lzo-includes=%{_includedir}/lzo \ --enable-alsa \ --enable-a52 \ --enable-a52-default-decoder \ --enable-libmpeg3 \ --enable-libxml2 \ --enable-mjpegtools \ --enable-sdl \ --enable-gtk \ --enable-libfame \ --enable-imagemagick \ --enable-libjpeg \ --enable-libdv \ --enable-libpostproc \ --with-libpostproc-includes=%{_includedir}/postproc \ --enable-v4l2 \ --enable-v4lconvert \ --enable-netstream \ --with-libjpegmmx-libs=%{_libdir} \ --with-lame-libs=%{_libdir} \ --with-libdvdread-libs=%{_libdir} \ --with-lzo-libs=%{_libdir} \ --with-a52-libs=%{_libdir} \ --with-faac-libs=%{_libdir} \ LIBMPEG3_EXTRA_LIBS="-pthread" # --enable-libjpegmmx # --enable-bktr # --enable-sunau # --enable-ibp # --enable-pvm3 # --enable-bsdav %make \ LZO_LIBS="-L%{_libdir} -llzo2" \ LIBJPEG_LIBS="%{_libdir}" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -fr %{buildroot}%{_datadir}/doc/transcode/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/avifix %{_bindir}/aviindex %{_bindir}/avimerge %{_bindir}/avisplit %{_bindir}/avisync %{_bindir}/tccat %{_bindir}/tcdecode %{_bindir}/tcdemux %{_bindir}/tcextract %{_bindir}/tcmodinfo %{_bindir}/tcmp3cut %{_bindir}/tcprobe %{_bindir}/tcscan %{_bindir}/tcyait %{_bindir}/tcxmlcheck %{_bindir}/tcxpm2rgb %{_bindir}/transcode %dir %{_libdir}/transcode %{_libdir}/transcode/* %{_mandir}/man1/* %doc AUTHORS COPYING #%doc ChangeLog README TODO #%doc docs/*.txt docs/faq #%doc docs/html/*.html docs/html/*.php docs/html/*.png %changelog * Tue Jan 04 2022 Silvan Calarco 1.1.7-6mamba - rebuilt with libmjpegtool 2.2.1 and patches * Thu May 15 2014 Silvan Calarco 1.1.7-5mamba - ffmpeg 2.2 rebuild * Fri Feb 28 2014 Silvan Calarco 1.1.7-4mamba - rebuilt with ImageMagick 6.8.8.6 * Wed Feb 27 2013 Silvan Calarco 1.1.7-3mamba - removed build requirement for divx4linux-devel * Wed Sep 05 2012 Silvan Calarco 1.1.7-2mamba - rebuilt with mjpegtools 2.0.0 * Wed Apr 04 2012 Silvan Calarco 1.1.7-1mamba - update to 1.1.7 * Wed Apr 04 2012 Silvan Calarco 1.1.5-4mamba - rebuilt with ffmpeg 0.10 * Fri Jul 09 2010 Automatic Build System 1.1.5-3mamba - automatic rebuild by autodist * Thu Jan 14 2010 Automatic Build System 1.1.5-2mamba - automatic rebuild by autodist * Thu Nov 19 2009 Automatic Build System 1.1.5-1mamba - automatic update by autodist * Sun Aug 23 2009 Automatic Build System 1.1.4-1mamba - automatic update by autodist * Thu Jul 23 2009 Automatic Build System 1.1.3-1mamba - automatic update by autodist * Thu Apr 16 2009 Silvan Calarco 1.1.2-1mamba - automatic update by autodist * Mon Mar 09 2009 Silvan Calarco 1.1.1-1mamba - automatic update by autodist * Wed Feb 18 2009 Silvan Calarco 1.0.7-3mamba - automatic rebuild by autodist * Wed Dec 10 2008 Silvan Calarco 1.0.7-2mamba - automatic rebuild by autodist * Mon Nov 17 2008 Silvan Calarco 1.0.7-1mamba - update to 1.0.7 * Mon Nov 17 2008 Silvan Calarco 1.0.5-4mamba - automatic rebuild by autodist * Tue Jun 17 2008 Silvan Calarco 1.0.5-3mamba - rebuilt against ImageMagick 6.4 * Mon Jun 02 2008 Silvan Calarco 1.0.5-2mamba - rebuilt against recent libdc1394 * Mon May 26 2008 Silvan Calarco 1.0.5-1mamba - update to 1.0.5 * Fri Jan 19 2007 Davide Madrisan 1.0.2-2qilnx - rebuilt against new ffmpeg library - added build requirements for xorg 7 - fixed broken configure checks for ffmpeg and lzo libraries - enabled support for v4l/v4l2 and libdv * Mon Jan 02 2006 Davide Madrisan 1.0.2-1qilnx - update to version 1.0.2 by autospec * Thu Oct 20 2005 Alessandro Ramazzina 1.0.1-1qilnx - update to version 1.0.1 by autospec * Mon Aug 08 2005 Davide Madrisan 1.0.0-1qilnx - update to version 1.0.0 by autospec - enabled most of the available extensions * Mon Jan 31 2005 Silvan Calarco 0.6.12-2qilnx - added requirement for vorbis-tools (oggenc) * Fri Oct 08 2004 Silvan Calarco 0.6.12-1qilnx - new version build - added a lot of required dependencies. Still missing pvm3 and the experimental lve * Fri Dec 19 2003 Silvan Calarco 0.6.11-1qilnx - first build