--- mplayer-1.0~rc3+svn20090426.orig/debian/README.upstream-upgrade +++ mplayer-1.0~rc3+svn20090426/debian/README.upstream-upgrade @@ -0,0 +1,44 @@ +Checklist and howto for mplayer upstream upgrades: + +Needed packages: + + apt-get install devscripts git-buildpackage pristine-tar + +Stage in a tmp directory: + + mkdir /tmp/m ; cd /tmp/m + git clone git://git.debian.org/git/pkg-multimedia/mplayer.git + cd mplayer + branches="master.unstripped pristine-tar upstream upstream.unstripped" + for b in $branches; do git checkout -b $b origin/$b ; done + +Prepare the environment: + + SVNDATE=`date +%Y%m%d` + git checkout master + +Fetch and commit the new upstream version: + + debian/rules get-orig-source SVN_VERSION=${SVNDATE} + git-import-orig \ + --debian-branch=master \ + --upstream-branch=upstream \ + --pristine-tar \ + --no-dch \ + --upstream-version=1.0~rc3+svn${SVNDATE} \ + --upstream-tag=upstream/1.0rc3+svn${SVNDATE} \ + ../mplayer_1.0~rc3+svn${SVNDATE}.orig.tar.gz + + git checkout master.unstripped + git-import-orig \ + --debian-branch=master.unstripped \ + --upstream-branch=upstream.unstripped \ + --pristine-tar \ + --no-dch \ + --upstream-tag=upstream.unstripped/1.0rc3+svn${SVNDATE}-unstripped \ + --upstream-version=1.0~rc3+svn${SVNDATE}-unstripped \ + ../mplayer-non-dfsg_1.0~rc3+svn${SVNDATE}.orig.tar.gz + + git checkout master + +more comments will follow.. --- mplayer-1.0~rc3+svn20090426.orig/debian/copyright +++ mplayer-1.0~rc3+svn20090426/debian/copyright @@ -0,0 +1,835 @@ +----- Debian package + +This package was first debianized by * TeLeNiEkO * telenieko@telenieko.com on +Mon, 26 Feb 2001 12:24:04 +0100. + +The current Debian Mantainer is: Dariush Pietrzak +sponsored by: A Mennucci + +Dariush Pietrzak and A Mennucci hold copyright (c) on the Debian +packaging, that is available under the terms of GNU GPL v2 (see below +for header). + +Original source can be found at: http://www.mplayerhq.hu/ +but (!) the orig.tar.gz contained in Debian is not the +upstream one. See README.Debian for details. + +MPlayer was originally written by Árpád Gereöffy and has been extended and +worked on by many more since then; see the AUTHORS file for an (incomplete) +list. + +----- Copyright of MPlayer + +MPlayer is nowadays copyrighted by the MPlayer team ; +this copyright applies to code written specifically for MPlayer +(see (*) below for the list exceptions). + +----- License of MPlayer + +MPlayer is licensed under the terms of GNU GPL v2 ;the licence header is: + + 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 St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + +This license applies to code written specifically for MPlayer; +(see (*) below for the list exceptions). + +---- (*) Other License and Copyright + +MPlayer includes code from several external sources; this is shipped +in subdirectories; (summarized) copyrights and licenses are as follows: + +Name: FFmpeg +Version: CVS snapshot +Homepage: http://www.ffmpeg.org +Directory: libavcodec, libavformat, libavutil, libpostproc +Copyright (c) The ffmpeg Project + (see individual files for other copyrights) +License: GNU Lesser General Public License, some parts GNU General Public + License, GNU General Public License when combined + +Name: FAAD2 +Version: 2.1 beta (20040915 CVS snapshot) + fixes and portability patches +Homepage: http://www.audiocoding.com +Directory: libfaad2 +Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com +License: GNU General Public License + +Name: GSM 06.10 library +Version: patchlevel 10 +Homepage: http://kbs.cs.tu-berlin.de/~jutta/toast.html +Copyright 1992 by Jutta Degener and Carsten Bormann, Technische Universitaet Berlin +Directory: libmpcodecs/native/ +License: + Any use of this software is permitted provided that this notice is + not removed and that neither the authors nor the Technische + Universitaet Berlin are deemed to have made any representations as to + the suitability of this software for any purpose nor are held + responsible for any defects of this software. THERE IS ABSOLUTELY NO + WARRANTY FOR THIS SOFTWARE. + As a matter of courtesy, the authors request to be informed about + uses this software has found, about bugs in this software, and about + any improvements that may be of general interest. + . + As of the libgsm debian package version 1.0.13-1, the following + copyright addition has been made to the libgsm package: + . + Since the original terms of 15 years ago maybe do not make our + intentions completely clear given today's refined usage of the legal + terms, we append this additional permission: + . + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that this notice is not removed and that neither + the authors nor the Technische Universitaet Berlin are + deemed to have made any representations as to the suitability + of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO + WARRANTY FOR THIS SOFTWARE. + . + Berkeley/Bremen, 05.04.2009 + Jutta Degener + Carsten Bormann + +Name: miniLZO +Version: 1.07 +Homepage: http://www.oberhumer.com/opensource/lzo/#minilzo +File: libmpcodecs/native/minilzo.c libmpcodecs/native/minilzo.h +Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer +License: GNU General Public License + +Name: liba52 +Version: 0.7.4 + patches +Homepage: http://liba52.sourceforge.net/ +Directory: liba52 +Copyright (C) 2000-2001 Michel Lespinasse +Copyright (C) 1999-2000 Aaron Holtzman +License: GNU General Public License + +Name: libmpeg2 +Version: 0.4.0b + patches +Homepage: http://libmpeg2.sourceforge.net/ +Directory: libmpeg2 +Copyright (C) 2000-2003 Michel Lespinasse +Copyright (C) 1999-2000 Aaron Holtzman +Copyright (C) 2003 David S. Miller +Copyright (c) 2002-2003 Falk Hueffner +License: GNU General Public License + +Name: mpg123 +Version: 0.59s + significant changes +Homepage: http://www.mpg123.de/ +Directory: mp3lib +Copyright (c) 1995 by Michael Hipp +License: GNU General Public License + +Name: Tremor +Version: 1.0 + parts CVS from December 2004 + patches +Homepage: http://xiph.org/ +Directory: tremor +Copyright (c) 2002, Xiph.org Foundation +License: BSD-like: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + - 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. + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``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 FOUNDATION + OR CONTRIBUTORS 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. + +Name: avifile DLL loader +Version: 0.47 + patches + CVS updates +Homepage: http://avifile.sourceforge.net/ +Directory: loader/ +Copyright 1995 Alexandre Julliard +Copyright 1994 Eric Youndale & Erik Bos +Copyright 1996-98 Marcus Meissner +Copyright 1995 Thomas Sandford +Copyright 1996 Martin von Loewis +Copyright 1993 Robert J. Amstadt +Copyright 1995-1996 Alexandre Julliard +Copyright 2000-2001 Eugene Kuznetsov (divx@euro.ru) +License: GNU General Public License + +Name: dvbstream +Version: 0.4.3-pre3 (cvs checkout) +Homepage: http://www.linuxstb.org/dvbstream/ + now at http://prdownloads.sourceforge.net/dvbtools/ +File: libmpdemux/dvbin.h libmpdemux/dvbin.c libmpdemux/rtp.h +Copyright (C) 2002 the xine project +License: GNU General Public License + +Name: librtsp +Version: xine CVS 2003/04/10 + patches +Homepage: http://www.xinehq.de +Directory: stream/librtsp/ +Copyright (C) 2000-2002 the xine project +License: GNU General Public License + +Name: realrtsp +Version: xine CVS 2003/04/17 + patches +Homepage: http://www.xinehq.de +Directory: stream/realrtsp/ +Copyright (C) 2000-2002 the xine project +License: GNU General Public License + +Name: id3edit +Version: 1.9 + patches +Homepage: http://id3edit.sourceforge.net/ +Directory: libmpdemux/genres.h +Copyright (C) 2001 Jason Carter +License: GNU General Public License + +Name: matroxset +Version: 0.3 +Homepage: ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/ +Directory: TOOLS/TVout/matroxset/ +License: GNU General Public License + +Name: unrarlib +Version: 0.4.0 + patches +Homepage: http://www.unrarlib.org/ +File: unrarlib.[ch] +Copyright (C) 2000-2002 by Christian Scheurer (www.ChristianScheurer.ch) + UNIX port copyright (c) 2000-2002 by Johannes Winkelmann (jw@tks6.net) +License: GNU General Public License / UniquE RAR File Library License + +Name: uCIFS library +Version: development files as of september 2004 +Homepage: http://ubiqx.org/libcifs/ +Directory: libvo/md5sum.[ch] +License: GNU Lesser General Public License + +Name: FreeSDP +Version: 0.4.1 +Homepage: https://savannah.nongnu.org/projects/freesdp/ +Directory: stream/freesdp/ +Copyright (C) 2001,2002,2003 Federico Montesino Pouzols +License: GNU General Public License + +--- libmpdemux +libmpdemux is itself a collection of code from different sources + +File: libmpdemux/pnm.c libmpdemux/pnm.h +Copyright (C) 2000-2002 the xine project +License: GNU General Public License + +File: libmpdemux/demux_avs.c libmpdemux/demux_avs.h +Copyright (c) 2005 Gianluigi Tiesi +Copyright 2003 Kevin Atkinson +License: GNU General Public License + + +Name: lavtools +File: libmpdemux/yuv4mpeg.h +Home: mjpeg.sourceforge.net +Copyright (C) 2001 Matthew J. Marjanovic +License: GNU General Public License + + +Name: XMMS - Cross-platform multimedia player +File: libmpdemux/demux_xmms_plugin.h +Copyright (C) 1998-2000 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies +License: + * 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, 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. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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. + +--- TOOLS + +In the TOOLS directory you can find some nice scripts and code that +makes using MPlayer and MEncoder easier, for example scripts for DVD +track encoding in three pass mode or creating SVCDs from a movie. + +MPlayer scripts in the TOOLS dir +-------------------------------- + +edgedetect.fp, emboss.fp + +Author: Reimar Döffinger + +Description: Examples of custom fragment program for OpenGL video out driver + +Usage: mplayer -vo gl:yuv=4:customprog=edgedetect.fp + + +midentify.sh + +Author: Tobias Diedrich + +Description: Runs 'mplayer -identify' for all arguments while preventing + video window flashing. + +Usage: midentify.sh file1 [file2 ...] + + +mpconsole.sh + +Author: Rich Felker + +Description: Script to run MPlayer on the console (fbdev/mga_vid/etc.) without + the console text and/or flashing cursor getting in the way. + +Usage: mpconsole.sh [mplayer options] + + +mplmult.sh + +Author: Reimar Döffinger + +Description: Example how to output video on multiple windows in sync. Might + be even more useful in combination with -vo ggi to distribute + the video arbitrarily. + +Usage: mplmult.sh + n Number of MPlayer instances that display the video. + options Any options you would pass to MPlayer, more than + one file will usually not work. + + +subsearch.sh + +Author: Alex Beregszaszi + +Description: Collects subtitle files from the directory given as argument + ('.' if none is given) and its subdirectories and prints + them as a comma separated list to stdout. + +Usage: subsearch.sh [directory] + mplayer -sub `subsearch.sh` movie + + +wma2ogg.pl + +Author: Peter Simon + +Description: Converts WMA files to Ogg or MP3. + +Usage: wma2ogg [options] <-f FILE1 | -f FILE2 ... | -a> + -f, -file filename + -a converts all WMA files in the current directory + -t output filetype (ogg, mp3) [default=ogg] + -lame I wanna use L.A.M.E. sure enough! + -br bitrate (kb/s) [default=from the WMA] + -del remove WMA file(s) after the transcoding + + + +MEncoder scripts in the TOOLS dir +--------------------------------- + +divx2svcd.sh + +Author: Miklos Vajna + +Description: A simple utility that creates an SVCD from a video in an AVI + container. + +Usage: divx2svcd.sh [options] + see 'divx2svcd.sh -h' for more info + + +mencvcd.sh + +Author: Jürgen Hammelmann + +Description: Converts DVD (or anything else that MPlayer plays) to (S)VCD + +Usage: mencvcd.sh [mencvcd.sh options] [mplayer options] + see 'mencvcd.sh -h' for more info + +Note: Requires MPlayer, mjpegtools, VCDImager, cdrdao, and optionally + LAME, tooLAME and SoX. + + +dvd2divxscript.pl + +Author: Florian Schilhabel + +Description: Yet another DVD to divx helper script. + This script encodes a DVD track in three pass mode to MPEG-4 with + libavcodec. Optionally it writes the resulting movie file to + CD-ROM the corresponding audio track to MP3. It can also shut + down the computer when it finishes. If you like, you can + watch the MEncoder output on /dev/tty8. + +Usage: --help show help + --abr (AudioBitRate) Please enter the desired bitrate this + can be either [96|128|192] kbit/sec (default: 128). + --lang Specify the Language of the audio track this can be + for example or (default: ). + --dvd Specify the DVD track you want to encode. + --cdsize Specify the size of your CD-ROM (default: 700MB). + --shutdown Shutdown the system, when the encoding process has + finished. Needs appropriate privileges. + --out Specify the name of your encoded movie. The file + extension will be appended automatically. + --writecd Takes the newly created movie and writes it to a + CD-ROM. + --writedev cdrecord device identifier, for example 0,1,0 + --speed writing speed (default: 4) + --dvd-device device to pull the video off (default: /dev/dvd) + + +aconvert.sh + +Author: Jonas Jermann + +Description: A hack to allow MEncoder to read respectively encode from audio + only files. + +Usage: aconvert.sh <"input file"> <"output file"> <"options"> + If no options are specified the following is assumed: + -oac lavc -lavcopts acodec=mp3:abitrate=192 + +Note: The script is probably bash dependent and it's just a quick + hack, feel free to improve it (or much better: fix MEncoder ;). + + + +qepdvcd.sh + +Author: Reynaldo H. Verdejo Pinochet + +Description: converter from any supported format to VCD/SVCD PAL/NTSC + +Usage: qepdvcd.sh file + Run with no arguments to see the list of options. + +Note: You will need vcdimager/cdrecord to master/burn the resulting + files. + + + +Tech scripts in the TOOLS dir +----------------------------- + +calcbpp.pl + +Author: Moritz Bunkus + +Description: A script that calculates the $bpp for a movie, mentioned in + DOCS/tech/encoding-tips.txt, see that document for more info. + +Usage: calcbpp.pl + resolution: the cropped but unscaled resolution + (use '-vf cropdetect') + aspect ratio: the encoded aspect ratio. All DVDs come at + 720x576 but contain a flag that tells the player + wether it should display the DVD at an aspect + ratio of 4/3 (1.333) or at 16/9 (1.777). Have a + look at MPlayer's output - there's something + about 'prescaling'. That's what you are looking + for. + bitrate: the video bitrate in kbit/s + fps: the fps + + example: calcbpp.pl 720x440 16/9 896 25 + + +countquant.pl + +Author: Moritz Bunkus + +Description: Counts the quantizers used for the encoding, mentioned in + DOCS/tech/encoding-tips.txt, see that document for more info. + +Usage: countquant.pl < divx2pass.log + It will print out which quantizer was used how often. If you see + that e.g. the lowest quantizer (vqmin=2) gets used for > 95% of + the frames then you can safely increase your picture size. + + +plotpsnr.pl + +Author: Jonas Jermann + +Description: Draw PSNR log graphs using gnuplot. + +Usage: plotpsnr.pl [options] + -h, --help Display this help message + -quant Display quantizers + -size Display size + -psnr Display PSNR + -iframes Display I-frames + -pframes Display P-frames + -bframes Display B-frames + -aframes Display all frames in different colors + -cmp Compare two files + -qs