debian/0000755000000000000000000000000012254101534007163 5ustar debian/gbp.conf0000644000000000000000000000006512247153643010615 0ustar [DEFAULT] pristine-tar = True debian-branch = master debian/libffms2-dev.docs0000644000000000000000000000004112250350636012315 0ustar doc/ffms2-api.html doc/style.css debian/libffms2-dev.install0000644000000000000000000000007212250347751013043 0ustar usr/lib/*/libffms2.so usr/lib/*/pkgconfig/* usr/include/* debian/control0000644000000000000000000000424012250355022010565 0ustar Source: ffms2 Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Reinhard Tartler , Rico Tzschichholz , Sebastian Ramacher Build-Depends: debhelper (>= 9), dh-autoreconf, pkg-config, libavutil-dev (>= 4:0.8~), libavformat-dev (>= 4:0.8~), libavcodec-dev (>= 4:0.8~), libswscale-dev (>= 4:0.8~), libavresample-dev, zlib1g-dev, w3m Section: libs Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/ffms2.git;a=summary Vcs-Git: git://anonscm.debian.org/pkg-multimedia/ffms2.git Homepage: https://github.com/FFMS/ffms2 Package: libffms2-3 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Cross platform ffmpeg wrapper library A cross platform ffmpeg wrapper library, and some additional content for things ffmpeg doesn't handle well. A more friendly API and an easy way to say "open and decompress this, I don't care how". Package: ffmsindex Architecture: any Section: video Depends: ${shlibs:Depends}, ${misc:Depends} Description: Command line tool to create ffms2 index files A cross platform ffmpeg wrapper library, and some additional content for things ffmpeg doesn't handle well. A more friendly API and an easy way to say "open and decompress this, I don't care how". . This package contain a command line indexer tool. Used to create index files which can later be used by applications which are useing ffms2 to speed up loading of multimedia files. Package: libffms2-dev Architecture: any Section: libdevel Depends: libffms2-3 (= ${binary:Version}), libavformat-dev, libavcodec-dev, libswscale-dev, libavresample-dev, libavutil-dev, zlib1g-dev, ${misc:Depends} Recommends: ffmsindex Description: Development files for libffms2 A cross platform ffmpeg wrapper library, and some additional content for things ffmpeg doesn't handle well. A more friendly API and an easy way to say "open and decompress this, I don't care how". . This package contain headers and other files needed to compile and link against libffms2. debian/rules0000755000000000000000000000052612253201630010243 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed %: dh $@ --parallel --with autoreconf override_dh_auto_build: dh_auto_build -- V=1 w3m -dump doc/ffms2-changelog.html > doc/changelog override_dh_auto_configure: dh_auto_configure -- --enable-shared override_dh_installchangelogs: dh_installchangelogs doc/changelog debian/libffms2-dev.doc-base0000644000000000000000000000035412250352201013037 0ustar Document: ffms2 Title: ffms2 API documentation Abstract: This documentation describes ffms2's API. Section: Programming/C Format: HTML Index: /usr/share/doc/libffms2-dev/ffms2-api.html Files: /usr/share/doc/libffms2-dev/ffms2-api.html debian/source/0000755000000000000000000000000012247153643010475 5ustar debian/source/format0000644000000000000000000000001412247153643011703 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212247156661010376 0ustar 9 debian/watch0000644000000000000000000000013512247154404010221 0ustar version=3 https://github.com/FFMS/ffms2/releases .*/(\d[\d.]*)\.(?:tar\.gz|tar\.bz2|tar\.xz) debian/patches/0000755000000000000000000000000012250345060010612 5ustar debian/patches/symbol-visibility.patch0000644000000000000000000000066212247165654015350 0ustar Author: Rickard Närström Subject: Hide symbols by default Index: ffms2/Makefile.am =================================================================== --- ffms2.orig/Makefile.am +++ ffms2/Makefile.am @@ -1,6 +1,9 @@ ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = foreign +AM_CFLAGS=-fvisibility=hidden +AM_CXXFLAGS=-fvisibility=hidden + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = ffms2.pc debian/patches/series0000644000000000000000000000006412250345054012032 0ustar symbol-visibility.patch fix-compilation-libav.patch debian/patches/fix-compilation-libav.patch0000644000000000000000000000125512247160564016045 0ustar Description: Fix compilation with libav Origin: upstream, https://github.com/FFMS/ffms2/commit/1999d95fef838b61685d30215ccc6afa887b6fa7 Last-Update: 2013-12-02 diff --git a/src/core/audiosource.cpp b/src/core/audiosource.cpp index 615f57a..97ec70c 100644 --- a/src/core/audiosource.cpp +++ b/src/core/audiosource.cpp @@ -23,6 +23,12 @@ #include #include +extern "C" { +#if VERSION_CHECK(LIBAVUTIL_VERSION_INT, >=, 52, 2, 0, 52, 6, 100) +#include +#endif +} + namespace { #define MAPPER(m, n) OptionMapper(n, &FFMS_ResampleOptions::m) OptionMapper resample_options[] = { -- 1.8.4 debian/clean0000644000000000000000000000001612250362037010170 0ustar doc/changelog debian/copyright0000644000000000000000000001576312250675735011151 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: ffms2 Source: https://github.com/FFMS/ffms2 Files: * Copyright: 2007-2012, Fredrik Mellbin 2004-2009, Mike Matsnev Comment: The FFMS2 source is licensed under the MIT license, but its binaries are licensed under the GPL because GPL components of FFmpeg are used. FFmpeg can be built with either GPLv2, GPLv3, or even be nonredistributable. Refer to FFmpeg's sources for licensing information. . On a Debian system the full text of GPL can be found at /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/GPL-3 License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/core/matroskaparser.* Copyright: 2004-2008 Mike Matsnev License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice immediately at the beginning of the file, without modification, this list of conditions, and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Absolutely no warranty of function or purpose is made by the author Mike Matsnev. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/vapoursynth/VapourSynth.h Copyright: 2012 Fredrik Mellbin License: LGPL-2.1+ VapourSynth is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . VapourSynth is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with VapourSynth; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Comment: The full license text is not included in the orig tarball. While requesting to have the a copy of the license text included, the file has been relicensed as Expat. See the commit at https://github.com/FFMS/ffms2/commit/1a11397e25435e21e2a6da72b0f8730cf6c36579 for the change of the license. Files: src/avisynth/avisynth.h Copyright: 2002 Ben Rudiak-Gould et al. License: GPL-2+ with Avisynth exception This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA, or visit http://www.gnu.org/copyleft/gpl.html. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. . As a special exception, the copyright holders of Avisynth give you permission to link Avisynth with independent modules that communicate with Avisynth solely through the interfaces defined in avisynth.h, regardless of the license terms of these independent modules, and to copy and distribute the resulting combined work under terms of your choice, provided that every copy of the combined work is accompanied by a complete copy of the source code of Avisynth (the version of Avisynth used to produce the combined work), being distributed under the terms of the GNU General Public License plus this exception. An independent module is a module which is not derived from or based on Avisynth, such as 3rd-party filters, import and export plugins, or graphical user interfaces. Comment: Upstream confirmed in https://github.com/FFMS/ffms2/issues/140 that this file is directly included from Avisynth. Although all source files in Avisynth 2.5 are covered by the same exception, it is missing from the GPL copy included in Avisynth (which can be found at http://avisynth2.cvs.sourceforge.net/viewvc/avisynth2/avisynth/distrib/gpl.txt?revision=1.2&view=markup). Also note that the exception got removed in later versions of Avisynth (see http://avisynth2.cvs.sourceforge.net/viewvc/avisynth2/avisynth/src/core/avisynth.h?r1=1.17.2.17&r2=1.17.2.18). In any case, this file is only used for Windows builds of ffms2. Files: debian/* Copyright: 2009-2010, Rickard Närström 2010, Reinhard Tartler License: Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/libffms2-3.install0000644000000000000000000000003012247161025012413 0ustar usr/lib/*/libffms2.so.* debian/ffmsindex.10000644000000000000000000000250312250354720011233 0ustar .TH FFMSINDEX 1 "December 2013" "ffms2 2.19" "User commands" .SH NAME ffmsindex \- FFmpegSource2 indexing app . .SH SYNOPOSIS .nf ffmsindex [\fIOPTIONS\fR] \fIINPUTFILE\fR [\fIOUTPUTFILE\fR] .fi .SH DESCRIPTION .sp ffmsindex creates an index file for the given INPUTFILE. If not OUTPUFILE is given, INPUTFILE.ffindex is used as output file. .TP .B \-f Force overwriting of existing index file, if any (default: no) .TP .B \-v Set FFmpeg verbosity level. Can be repeated for more verbosity. (default: no messages printed) .TP .B \-p Disable progress reporting. (default: progress reporting on) .TP .B \-c Write timecodes for all video tracks to outputfile_track00.tc.txt (default: no) .TP .B \-k Write keyframes for all video tracks to outputfile_track00.kf.txt (default: no) .TP .B \-t \fP\fIN\fR Set the audio indexing mask to N (\-1 means index all tracks, 0 means index none, default: 0) .TP .B \-d \fP\fIN\fR Set the audio decoding mask to N (mask syntax same as \fB\-t\fP, default: 0) .TP .B -a \fP\fINAME\fR Set the audio output base filename to NAME (default: input filename) .TP .B -s \fP\fIN\fR Set audio decoding error handling. See the documentation for details. (default: 0) .TP .B -m \fP\fINAME\fR Force the use of demuxer NAME (default, lavf, matroska, haalimpeg, haaliogg) .SH AUTHOR This manpage was written by Sebastian Ramacher. debian/ffmsindex.manpages0000644000000000000000000000002312250354555012667 0ustar debian/ffmsindex.1 debian/ffmsindex.install0000644000000000000000000000002212247153643012542 0ustar usr/bin/ffmsindex debian/changelog0000644000000000000000000001250712254101324011037 0ustar ffms2 (2.19-2) unstable; urgency=medium * debian/libffms2-3.symbols: Update symbols from template instantiations for 32 bit architectures. -- Sebastian Ramacher Tue, 17 Dec 2013 17:58:14 +0100 ffms2 (2.19-1) unstable; urgency=low * New upstream release (Closes: #721940) - Fixes FFMS_GetAudioProperties when built against libav 9. (Closes: #731540) * Rename libffms2-2 to libffms2-3 because of SONAME bump. * New upstream location: - debian/control: Update Homepage to new upstream location. - debian/watch: Fetch releases from GitHub. * Convert upstream changelog from HTML to plaintext. - debian/rules: Convert upstream changelog with w3m and install it with dh_installchangelogs. - debian/control: Add w3m to Build-Depends. * Bump debhelper comapt to 9. - debian/control: Bump debhelper in Build-Depends to >= 9. - debian/compat: Bump to 9. - debian/rules: Fix order of arguments to dh. - debian/libffms2-{3,dev}.install: Update to new installation location. * debian/patches: - unbreak-fbtfs-0.8.patch: Removed, no longer needed. - fix-compilation-libav.patch: Add upstream patch to fix compilation with libav 9. * debian/control: - Bump libav related (Build-)Depends to >= 4:0.8 as per upstream documentation. - Drop libpostproc-dev from (Build-)Depends as it is no longer used. - Add libavresample-dev to (Build-)Depends. - Add myself to Uploaders. - Bump Standards-Version to 3.9.5. - Mark libffms2-3 as M-A: same and Pre-Depend on ${misc:Pre-Depends}. * debian/copyright: Convert to Copyright Format 1.0. * debian/libffms2-3.symbols: Add symbols file. (Closes: #731167) * debian/libffms2-dev.doc-base: Register API documentation with doc-base. * debian/ffmsindex.{1,manpages}: Provide manpage for ffmsindex. * debian/rules: Build with --parallel. -- Sebastian Ramacher Sat, 07 Dec 2013 20:55:18 +0100 ffms2 (2.17+r731-3) unstable; urgency=low * Team upload. * Upload to unstable. * debian/control: - Bump debhelper in Build-Depends >= 8.1 for build-{arch,indep} support required by Standards-Version 3.9.4. - Vcs-*: use anonscm.debian.org. * debian/source/local-options: Fix typo. -- Sebastian Ramacher Thu, 05 Sep 2013 19:51:26 +0200 ffms2 (2.17+r731-2) experimental; urgency=low * Do not break when compiling against libav 9 -- Reinhard Tartler Fri, 09 Nov 2012 15:33:26 +0100 ffms2 (2.17+r731-1) experimental; urgency=low * New upstream release - fixes ftbfs against libav 0.8 * Update Standards version, no changes needed * Enable verbose builds. -- Reinhard Tartler Thu, 08 Nov 2012 19:47:05 +0100 ffms2 (2.17-1) unstable; urgency=low [ Reinhard Tartler ] * Add debian/watch file * Imported Upstream version 2.17 - Bug fix: "FTBFS with libav 0.8", thanks to Reinhard Tartler (Closes: #654183). * Bug fix: "libffms2-dev must depend on zlib1g-dev", thanks to Fabian Greffrath (Closes: #655022). [ Rico Tzschichholz ] * refresh symbol-visibility.patch for new upstream -- Reinhard Tartler Mon, 23 Jan 2012 21:33:18 +0100 ffms2 (2.16-1) unstable; urgency=low * New upstream version. * Upload to unstable. * Bump Standards Version (no changes needed). -- Reinhard Tartler Thu, 01 Sep 2011 23:31:20 +0200 ffms2 (2.15+svn473-2) experimental; urgency=low * Fix typo in libffms2-dev's dependencies, Closes: #618899, #634113 -- Reinhard Tartler Tue, 26 Jul 2011 14:32:20 +0200 ffms2 (2.15+svn473-1) experimental; urgency=low * New upstream release, cut from svn * Builds against libav 0.7, LP: #798436 -- Reinhard Tartler Sat, 19 Mar 2011 20:42:17 +0100 ffms2 (2.15-1) unstable; urgency=low [ Rico Tzschichholz ] * New upstream version + repacked upstream 7zip to tar.gz + made ffms2-2.15/configure executable * debian/patches: + drop UINT64_C-buildfix.patch is upstream + fix and refresh symbol-visibility.patch + add 10_fix_GCC_build.diff, add 11_fix_build_with_ffmpeg_tunk.diff - both can be dropped with next upstream * debian/control, + bump library soname to libffms2-2 * debian/rules + use dh-autoreconf [ Reinhard Tartler ] * document patches -- Rico Tzschichholz Fri, 18 Feb 2011 09:13:07 +0100 ffms2 (2.13-2) experimental; urgency=low [ Reinhard Tartler ] * document copyright for src/core/matroskaparser.* * update section for package ffmsindex [ Alessio Treglia ] * Correct team's name. -- Reinhard Tartler Tue, 16 Nov 2010 09:33:56 +0100 ffms2 (2.13-1) experimental; urgency=low [ Rickard Närström ] * Initial release. (Closes: #601114, LP: #559620) * Repacked upstream 7zip to tar.gz - Made ffms2_2.13/configure executable [ Reinhard Tartler ] * Prepare upload for ubuntu and debian * add patch descriptions * bump standards version * delete cleaned up files from branch * remove generated files on clean * dpkg options that help with Source Format 3.0 (quilt) in git * ignore quilt control directory * remove symbols file (still a PITA for C++ libraries) -- Reinhard Tartler Thu, 04 Nov 2010 23:52:12 +0100 debian/libffms2-3.symbols0000644000000000000000000000713512254076160012455 0ustar libffms2.so.3 libffms2-3 #MINVER# FFMS_CancelIndexing@Base 2.19 FFMS_CreateAudioSource@Base 2.19 FFMS_CreateIndexer@Base 2.19 FFMS_CreateIndexerWithDemuxer@Base 2.19 FFMS_CreateResampleOptions@Base 2.19 FFMS_CreateVideoSource@Base 2.19 FFMS_DefaultAudioFilename@Base 2.19 FFMS_DestroyAudioSource@Base 2.19 FFMS_DestroyIndex@Base 2.19 FFMS_DestroyResampleOptions@Base 2.19 FFMS_DestroyVideoSource@Base 2.19 FFMS_DoIndexing@Base 2.19 FFMS_GetAudio@Base 2.19 FFMS_GetAudioProperties@Base 2.19 FFMS_GetCodecNameI@Base 2.19 FFMS_GetEnabledSources@Base 2.19 FFMS_GetErrorHandling@Base 2.19 FFMS_GetFirstIndexedTrackOfType@Base 2.19 FFMS_GetFirstTrackOfType@Base 2.19 FFMS_GetFormatNameI@Base 2.19 FFMS_GetFrame@Base 2.19 FFMS_GetFrameByTime@Base 2.19 FFMS_GetFrameInfo@Base 2.19 FFMS_GetLogLevel@Base 2.19 FFMS_GetNumFrames@Base 2.19 FFMS_GetNumTracks@Base 2.19 FFMS_GetNumTracksI@Base 2.19 FFMS_GetPixFmt@Base 2.19 FFMS_GetPresentSources@Base 2.19 FFMS_GetSourceType@Base 2.19 FFMS_GetSourceTypeI@Base 2.19 FFMS_GetTimeBase@Base 2.19 FFMS_GetTrackFromAudio@Base 2.19 FFMS_GetTrackFromIndex@Base 2.19 FFMS_GetTrackFromVideo@Base 2.19 FFMS_GetTrackType@Base 2.19 FFMS_GetTrackTypeI@Base 2.19 FFMS_GetVersion@Base 2.19 FFMS_GetVideoProperties@Base 2.19 FFMS_IndexBelongsToFile@Base 2.19 FFMS_Init@Base 2.19 FFMS_MakeIndex@Base 2.19 FFMS_ReadIndex@Base 2.19 FFMS_ResetInputFormatV@Base 2.19 FFMS_ResetOutputFormatV@Base 2.19 FFMS_SetInputFormatV@Base 2.19 FFMS_SetLogLevel@Base 2.19 FFMS_SetOutputFormatA@Base 2.19 FFMS_SetOutputFormatV2@Base 2.19 FFMS_WriteIndex@Base 2.19 FFMS_WriteTimecodes@Base 2.19 (optional)VapourSynthPluginInit@Base 2.19 (optional=templinst|c++)"char* std::basic_string, std::allocator >::_S_construct(char*, char*, std::allocator const&, std::forward_iterator_tag)@Base" 2.19 (optional=templinst|c++)"std::basic_stringbuf, std::allocator >::~basic_stringbuf()@Base" 2.19 (optional=templinst|c++)"std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, AVPixelFormat const&)@Base" 2.19 (optional=templinst|c++|regex)"^std::vector >::_M_fill_insert\(__gnu_cxx::__normal_iterator > >, unsigned (long|int), unsigned char const&\)@Base$" 2.9 (optional=templinst|c++)"std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&)@Base" 2.19 (optional=templinst|c++|regex)"^std::vector >::_M_insert_aux\(__gnu_cxx::__normal_iterator > >, unsigned \1 const&\)@Base$" 2.19 (optional=templinst|c++|regex)"^std::vector >::_M_fill_insert\(__gnu_cxx::__normal_iterator > >, unsigned \1, unsigned \1 const&\)@Base$" 2.19 (optional=templinst|c++|regex)"^std::vector >::operator=\(std::vector > const&\)@Base$" 2.19 (optional=templinst|c++)"std::basic_string, std::allocator > std::operator+, std::allocator >(std::basic_string, std::allocator > const&, char const*)@Base" 2.19