2024-01-05 18:40:53 +01:00
|
|
|
Name: transcode
|
|
|
|
Version: 1.1.7
|
2024-01-05 18:40:53 +01:00
|
|
|
Release: 6mamba
|
2024-01-05 18:40:53 +01:00
|
|
|
Summary: A text-console utility for video stream processing
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-05 18:40:53 +01:00
|
|
|
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
|
2024-01-05 18:40:53 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libMagick-devel
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libXau-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libXaw-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libXdmcp-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
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
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
|
|
|
BuildRequires: libbsd-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libdirectfb-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libdv-devel
|
|
|
|
BuildRequires: libdvdread-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfaad2-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libgomp-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: liblame-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: liblcms2-devel
|
|
|
|
BuildRequires: liblqr-devel
|
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: liblzo-devel
|
|
|
|
BuildRequires: libmjpegtools-devel
|
|
|
|
BuildRequires: libogg-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libpostproc-ffmpeg-devel
|
|
|
|
BuildRequires: libquicktime-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libtheora-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libts-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libvorbis-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libxcb-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
BuildRequires: libzip-devel
|
2024-01-05 18:40:53 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libmpeg3-devel
|
|
|
|
#%ifarch %ix86 x86_64
|
|
|
|
#BuildRequires: divx4linux-devel
|
|
|
|
#%endif
|
|
|
|
BuildRequires: liblqr-devel
|
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
Requires: vorbis-tools
|
2024-01-05 18:40:53 +01:00
|
|
|
Requires: libmjpegtools-devel >= 2.2.1
|
2024-01-05 18:40:53 +01:00
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2024-01-05 18:40:53 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 18:40:53 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch1 -p0
|
2024-01-05 18:40:53 +01:00
|
|
|
#%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
|
2024-01-05 18:40:53 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 18:40:53 +01:00
|
|
|
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-6mamba
|
|
|
|
- rebuilt with libmjpegtool 2.2.1 and patches
|
|
|
|
|
2024-01-05 18:40:53 +01:00
|
|
|
* Thu May 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-5mamba
|
|
|
|
- ffmpeg 2.2 rebuild
|
|
|
|
|
2024-01-05 18:40:53 +01:00
|
|
|
* Fri Feb 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-4mamba
|
|
|
|
- rebuilt with ImageMagick 6.8.8.6
|
|
|
|
|
|
|
|
* Wed Feb 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-3mamba
|
|
|
|
- removed build requirement for divx4linux-devel
|
|
|
|
|
|
|
|
* Wed Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-2mamba
|
|
|
|
- rebuilt with mjpegtools 2.0.0
|
|
|
|
|
|
|
|
* Wed Apr 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.7-1mamba
|
|
|
|
- update to 1.1.7
|
|
|
|
|
|
|
|
* Wed Apr 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.5-4mamba
|
|
|
|
- rebuilt with ffmpeg 0.10
|
|
|
|
|
|
|
|
* Fri Jul 09 2010 Automatic Build System <autodist@mambasoft.it> 1.1.5-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jan 14 2010 Automatic Build System <autodist@mambasoft.it> 1.1.5-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Nov 19 2009 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 23 2009 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 23 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- update to 1.0.7
|
|
|
|
|
|
|
|
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Jun 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-3mamba
|
|
|
|
- rebuilt against ImageMagick 6.4
|
|
|
|
|
|
|
|
* Mon Jun 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-2mamba
|
|
|
|
- rebuilt against recent libdc1394
|
|
|
|
|
|
|
|
* Mon May 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- update to 1.0.5
|
|
|
|
|
|
|
|
* Fri Jan 19 2007 Davide Madrisan <davide.madrisan@qilinux.it> 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 <davide.madrisan@qilinux.it> 1.0.2-1qilnx
|
|
|
|
- update to version 1.0.2 by autospec
|
|
|
|
|
|
|
|
* Thu Oct 20 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.0.1-1qilnx
|
|
|
|
- update to version 1.0.1 by autospec
|
|
|
|
|
|
|
|
* Mon Aug 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.0-1qilnx
|
|
|
|
- update to version 1.0.0 by autospec
|
|
|
|
- enabled most of the available extensions
|
|
|
|
|
|
|
|
* Mon Jan 31 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-2qilnx
|
|
|
|
- added requirement for vorbis-tools (oggenc)
|
|
|
|
|
|
|
|
* Fri Oct 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.6.11-1qilnx
|
|
|
|
- first build
|