Projects
Multimedia
transcode
transcode.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transcode.spec of Package transcode
# # spec file for package transcode # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %ifnarch %ix86 x86_64 %define _lto_cflags %{nil} %endif %define subver %{nil} %if 0%{?suse_version} >= 1699 %bcond_without imagemagick %else %bcond_with imagemagick %endif %bcond_with libfame %bcond_without v4l %bcond_without libmpeg2 Name: transcode Version: 1.1.7 Release: 0 Summary: A linux video stream processing utility Summary(de): Das Schweizer Taschenmesser der Videobearbeitung License: GPL-2.0+ URL: https://lmgtfy.com/?q=transcode Source: %{name}-%{version}.tar.bz2 Source2: export_dvraw.c Patch0: transcode-export_ffmpeg.patch Patch1: transcode-1.1.7-ffmpeg.patch Patch2: transcode-1.1.7-ffmpeg-0.10.patch Patch3: transcode-1.1.7-ffmpeg-0.11.patch Patch4: transcode-1.1.7-preset-free.patch Patch5: transcode-1.1.7-libav-9.patch Patch6: transcode-1.1.7-preset-force.patch Patch7: transcode-1.1.7-ffmpeg2.patch Patch8: transcode-1.1.7-freetype251.patch Patch9: transcode-1.1.7-libav-10.patch Patch10: transcode-1.1.5-textrel.patch Patch11: transcode-fix-64bit-portability.patch Patch12: transcode.ImageMagick-API.patch Patch13: transcode.a52.patch Patch14: transcode-1.1.7-ffmpeg29.patch Patch15: ffmpeg4.patch Patch16: transcode-gcc10.patch Patch17: transcode.patch BuildRequires: libtool BuildRequires: faac-devel BuildRequires: imake %if %{with imagemagick} BuildRequires: pkgconfig(MagickWand) %endif BuildRequires: alsa-devel BuildRequires: liba52-devel BuildRequires: libjpeg-devel BuildRequires: libmp3lame-devel BuildRequires: libtwolame-devel BuildRequires: lzo-devel BuildRequires: mjpegtools-devel %if %{with libmpeg2} BuildRequires: libmpeg2-devel %endif BuildRequires: libnetpbm-devel BuildRequires: libpng-devel BuildRequires: x264-devel >= 0.66 BuildRequires: libxvidcore-devel BuildRequires: xorg-cf-files BuildRequires: pkgconfig(libavcodec) = 57.107.100 BuildRequires: pkgconfig(libavformat) = 57.83.100 BuildRequires: pkgconfig(libavresample) = 3.7.0 BuildRequires: pkgconfig(libpostproc) = 54.7.100 BuildRequires: pkgconfig(libswscale) = 4.8.100 BuildRequires: pkgconfig(libdv) BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libquicktime) %if %{with v4l} BuildRequires: pkgconfig(libv4l1) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4lconvert) %endif BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(theoradec) BuildRequires: pkgconfig(theoraenc) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisenc) BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(xaw6) BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xv) %description transcode is a linux text-console utility for video stream processing. 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. A number of modules are included to enable import of DVDs on-the-fly, MPEG elementary (ES) or program streams (VOB), MPEG video, Digital Video (DV), YUV4MPEG streams, NuppelVideo file format and raw or compressed (pass-through) video frames and export modules for writing DivX;-), OpenDivX, DivX 4.xx or uncompressed AVI files with MPEG, AC3 (pass-through) or PCM audio. Additional export modules to write single frames (PPM) or YUV4MPEG streams are available, as well as an interface import module to the avifile library. It's modular concept is intended to provide flexibility and easy user extensibility to include other video/audio codecs or filetypes. A set of tools is included to demux (tcdemux), extract (tcextract) and decode (tcdecode) the sources into raw video/audio streams for import, probing (tcprobe) and scanning (tcscan) your sources and to enable post-processing of AVI files, fixing AVI file header information (avifix), merging multiple files (avimerge) or splitting large AVI files (avisplit) to fit on a CD. %description -l de Videokonverter mit sehr vielen input/output und filter plugins, kann auch zum encodieren von dvd's genutzt werden. %prep %autosetup -p1 -n %{name}-%{version}%{subver} %build install -m644 %{SOURCE2} filter/ # test -x "$(type -p gcc)" && export CC="$_" test -x "$(type -p gcc-7)" && export CC="$_" autoreconf -fi CFLAGS="%{optflags} -Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-deprecated-declarations -Werror=implicit-function-declaration -Werror=int-conversion -D_GNU_SOURCE -std=gnu99" %configure --enable-experimental \ --enable-deprecated \ --disable-x86-textrels \ --enable-mmx \ --enable-a52 \ %if %{with imagemagick} --enable-imagemagick \ %else --disable-imagemagick \ %endif --enable-libdv \ --enable-libdvdread \ %if %{with libfame} --with-libfame-libs=%{_libexecdir} \ --enable-libfame \ %endif --enable-libjpeg \ --enable-lame \ --enable-libquicktime \ --enable-libxml2 \ --enable-lzo \ --enable-mjpegtools \ --enable-ffmpeg \ --enable-ogg \ --enable-sdl \ --enable-theora \ %if %{with v4l} --enable-v4l \ --enable-libv4l2 \ --enable-libv4lconvert \ %endif --enable-vorbis \ --enable-libpostproc \ --enable-alsa \ --enable-xvid \ --enable-x264 \ %ifarch %ix86 x86_64 --enable-nuv \ %endif %if %{with libmpeg2} --enable-libmpeg2 \ --enable-libmpeg2convert \ %endif --enable-freetype2 \ --enable-faac # %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_datadir}/doc/%{name} rm -rf %{buildroot}%{_docdir}/%{name}/man docs/man rm -f %{buildroot}%{_bindir}/pvmgs find docs/ -name 'Makefile*' -print -delete rm -f docs/tcmkmodhelp.py rm -f docs/make-filter-man.sh rm -f docs/make-import-man.sh find docs/ -name tcindent.sh -print -exec chmod 0644 {} \; %files %{_bindir}/avifix %{_bindir}/aviindex %{_bindir}/avimerge %{_bindir}/avisplit %{_bindir}/avisync %{_bindir}/tccat %{_bindir}/tcdecode %{_bindir}/tcdemux %{_bindir}/tcexport %{_bindir}/tcextract %{_bindir}/tcmodchain %{_bindir}/tcmodinfo %{_bindir}/tcmp3cut %{_bindir}/tcprobe %{_bindir}/tcrequant %{_bindir}/tcscan %{_bindir}/tcxmlcheck %{_bindir}/tcxpm2rgb %{_bindir}/tcyait %{_bindir}/transcode %{_libdir}/%{name}/ %{_mandir}/man1/* %{_datadir}/%{name}/ %doc AUTHORS ChangeLog README docs/* %license COPYING %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.