This file is indexed.

/usr/share/doc/mencoder/copyright is in mencoder 2:1.1+dfsg1-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
Upstream-Name: mplayer
Source: http://mplayerhq.hu
Copyright: GPL-2+

Files: *
Copyright:
 2000-2011 The mplayer and mplayer2 Developers
 1995-1999 by Michael Hipp
 2006 Zuxy MENG <zuxy.meng@gmail.com>
License: GPL-2+

Files: debian/*
Copyright:
 2009-2011 Reinhard Tartler <siretart@tauware.de>
 2003-2009 Andrea Mennucc1 <mennucc1@debian.org>
 2001 TeLeNiEkO <telenieko@telenieko.com>
License: GPL-2+

Files: libmpeg2/*
Copyright:
 2000-2003 Michel Lespinasse <walken@zoy.org>
 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
 2003 David S. Miller <davem@redhat.com>
 2002-2003 Falk Hueffner <falk@debian.org>
License: GPL-2+
Comment: Version 0.4.0b + patches, cf. http://libmpeg2.sourceforge.net/

Files: mp3lib/*
Copyright:
 1995 by Michael Hipp
License: GPL-2+
Comment: Version: 0.59s + significant changes, cf. http://www.mpg123.de/

Files: tremor/*
Copyright:
 2002 Xiph.org Foundation
License: Tremor
Comment: Version 1.0 + parts CVS from December 2004 + patches, cf. http://xiph.org/

Files: loader/*
Copyright:
 1995 Alexandre Julliard
 1994 Eric Youndale & Erik Bos
 1996-98 Marcus Meissner
 1995 Thomas Sandford
 1996 Martin von Loewis
 1993 Robert J. Amstadt
 1995-1996 Alexandre Julliard
 2000-2001 Eugene Kuznetsov  (divx@euro.ru)
License: GPL-2+
Comment: avifile DLL loader, Version 0.47 + patches + CVS updates, cf. http://avifile.sourceforge.net/

Files: stream/realrtsp/*
Copyright:
 2000-2002 the xine project
License: GPL-2+
Comment: realrtsp, from xine CVS 2003/04/17 + patches, cf. http://www.xinehq.de

Files: libmpdemux/genres.h
Copyright:
 2001  Jason Carter
License: GPL-2+
Comment: id3edit, Version 1.9 + patches, cf. http://id3edit.sourceforge.net/

Files: stream/freesdp/*
Copyright:
 2001-2003 Federico Montesino Pouzols <fedemp@suidzer0.org>
License: GPL-2+
Comment: FreeSDP, Version 0.4.1, cf. https://savannah.nongnu.org/projects/freesdp/

Files: libmpdemux/demux_avs.c libmpdemux/demux_avs.h
Copyright:
 2005 Gianluigi Tiesi <sherpya@netfarm.it>
 2003 Kevin Atkinson
License: GPL-2+

Files:	    libmpdemux/yuv4mpeg.h
Copyright:
 2001 Matthew J. Marjanovic <maddog@mir.com>
License: GPL-2+
Comment: mjpeg.sourceforge.net

Files: ffmpeg/*
Copyright:
 2010 Zhentan Feng <spyfeng at gmail dot com>
 2010 Tomas Härdin
 2010 Sebastian Vater <cdgs.basty@googlemail.com>
 2010 Rafael Carre
 2010 Nolan Lum <nol888@gmail.com>
 2010 Mohamed Naufal Basheer <naufal11@gmail.com>
 2010 Michele Orrù
 2010 Michael Chinen
 2010 Martin Storsjo
 2010 Marcelo Galvao Povoa
 2010 Laurent Aimar
 2010 Josh Allmann
 2010 Jason Garrett-Glaser <darkshikari@gmail.com>
 2010 Janne Grunau <janne-ffmpeg@jannau.net>
 2010, Google, Inc
 2010 Francesco Lavra <francescolavra@interfree.it>
 2010 Eli Friedman
 2010 Daniel G. Taylor <dan@programmer-art.org>
 2010 Carl Eugen Hoyos
 2010 Anton Khirnov
 2010 Anatoly Nenashev
 2010 Amanda, Y.N. Wu <amanda11192003@gmail.com>
 2010 Alex Converse <alex.converse@gmail.com>
 2010 Adrian Daerr and Nicolas George
 2009 Tobias Bindhammer
 2009 Thomas P. Higdon <thomas.p.higdon@gmail.com>
 2009 Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
 2009 Stephen Backway
 2009 Samalyse
 2009 Ronald S. Bultje <rsbultje@gmail.com>
 2009 Nathan Caldwell <saintdev (at) gmail.com>
 2009 Michael Tison
 2009 Maxim Poliakovski
 2009 Kostya Shishkov
 2009 Kenan Gillet
 2009 Kenan Gillet
 2009 Jimmy Christensen
 2009 James Darnley
 2009 Ivan Schreter
 2009 Dylan Yudaken
 2009 Daniel Verkamp <daniel at drv.nu>
 2009 Colin McQuillan
 2009 Christian Schmidt
 2009 Bjorn Axelsson
 2009-2010 Stefano Sabatini
 2008 vmrsss
 2008 Vladimir Voroshilov
 2008 Victor Paesa
 2008 Sisir Koppaka
 2008 Robert Marston
 2008 NVIDIA
 2008 Jaikrishnan Menon <realityman@gmx.net>
 2008 Jaikrishnan Menon <realityman@gmx.net>
 2008 GUCAS, Zhentan Feng <spyfeng at gmail dot com>
 2008 Alessandro Sappia
 2008 Affine Systems, Inc (Michael Sullivan, Bobby Impollonia)
 2008-2010 Vitor Sessak
 2008-2010 Paul Kendall <paul@kcbbs.gen.nz>
 2008-2010 David Conrad
 2008-2010 Alexander Strange <astrange@ithinksw.com>
 2008-2009 Splitted-Desktop Systems
 2007 Nicholas Tung
 2007 Marco Gerards <marco@gnu.org>
 2007 Marc Hoffman <marc.hoffman@analog.com>
 2007 Luca Barbato <lu_zero@gentoo.org>
 2007 Denes Balatoni <dbalatoni@programozo.hu>
 2007 Bobby Bingham
 2007 Bj<F6>rn Axelsson
 2007 Benoit Fouet ( benoit fouet free fr )
 2007 Anssi Hannula <anssi.hannula@gmail.com>
 2007-2010 Baptiste Coudurier <baptiste dot coudurier at smartjog dot com>
 2007-2009 Loren Merritt <lorenm@u.washignton.edu>
 2007-2009 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com>
 2007-2008 Siarhei Siamashka <ssvb@users.sourceforge.net>
 2007-2008 Ian Caulfield
 2006 Thijs Vermeir <thijs.vermeir@barco.com>
 2006 Steve Lhomme
 2006 Stefan Gehrer <stefan.gehrer@gmx.de>
 2006 Paul Richards <paul.richards@gmail.com>
 2006 Patrick Guimond
 2006 Kartikey Mahendra BHATT (bhattkm at gmail dot com)
 2006 Julian Hall
 2006 Guillaume Poirier <gpoirier@mplayerhq.hu>
 2006 Expertisecentrum Digitale Media, UHasselt
 2006 Daniel Maas <dmaas@maasdigital.com>
 2006 Corey Hickey
 2006 Benjamin Larsson
 2006-2010 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
 2006-2010 Prakash Punnoor <prakash@punnoor.de>
 2006-2010 Justin Ruggles <justin.ruggles@gmail.com>
 2006-2010 Aurelien Jacobs <aurel@gnuage.org>
 2006-2009 Robert Swain ( rob opendot cl )
 2006-2009 Ramiro Polla <ramiro@lisha.ufsc.br>
 2006-2009 Baptiste Coudurier
 2006-2008 Zuxy MENG Jie, Loren Merritt
 2006-2008 Ivo van Poorten
 2006-2008 Gregory Montoir (cyx@users.sourceforge.net)
 2006-2008 BBC, Anuradha Suraparaju <asuraparaju at gmail dot com >
 2006-2007 SmartJog S.A., Baptiste Coudurier <baptiste dot coudurier at smartjog dot com>
 2006-2007 Ryan Martell <rdm4@martellventures.com>
 2006-2007 Reynaldo H. Verdejo Pinochet
 2006, 2007 Michel Bardiaux <mbardiaux@mediaxim.be>
 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
 2006-2007 Luca Abeni ( lucabe72 email it )
 2005 Vidar Madsen
 2005 Steve Underwood <steveu at coppice.org>
 2005 Ole Andr<E9> Vadla Ravn<E5>s <oleavr@gmail.com>
 2005 Matthieu CASTET, Alex Beregszaszi
 2005 Luca Barbato <lu_zero@gentoo.org>
 2005 Jeff Muizelaar
 2005 BBC, Andrew Kennedy <dirac at rd dot bbc dot co dot uk>
 2005 Anonymous, Alex Beregszaszi, Michael Niedermayer
 2005 Alban Bedel <albeu@free.fr>
 2005-2010 Mans Rullgard <mans@mansr.com>
 2005-2008 Konstantin Shishkov
 2005-2007 Wolfram Gloger
 2005-2006 Robert Edele <yartrebo@earthlink.net>
 2005-2006 Oded Shimon <ods15@ods15.dyndns.org>
 2005-2006 DivX, Inc
 2004 Maarten Daniels
 2004 Gildas Bazin <gbazin at videolan dot org>
 2004 AGAWA Koji
 2004 Adam Thayer <krevnik@comcast.net>
 2004-2007 Eric Lasota
 2004-2007 Denes Balatoni < dbalatoni XatX interware XdotX hu >
 2004-2007 Benjamin Zores
 2004-2005 Michael Niedermayer, Loren Merritt
 2003 Tinic Uro
 2003 Thomas Raivio
 2003 Sascha Sommer
 2003 Pascal Massimino <skal@planet-d.net>
 2003 Nick Kurshev
 2003 Michel Bardiaux
 2003 Max Krasnyansky <maxk@qualcomm.com>
 2003 James Klicman <james@klicman.org>
 2003 Ivan Kalvachev
 2003 Dr. Tim Ferguson
 2003 David S. Miller <davem@redhat.com>
 2003 Daniel Moreno <comac AT comac DOT darktech DOT org>
 2003, 2007 Mike Melanson
 2003-2004 Roman Shaposhnik
 2003-2004 Romain Dolbeau <romain@dolbeau.org>
 2002 the xine project
 2002 Steve O'Hara-Smith
 2002 Remi Guyomarch <rguyom@pobox.com>]
 2002 Laszlo Torok <torokl@alpha.dfmk.hu>
 2002 Francois Revol
 2002 Falk Hueffner <falk@debian.org>
 2002 Dieter Shirley
 2002 by Leon van Stuivenberg
 2002 Brian Foley
 2002 A'rpi
 2002-2009 Maxim Poliakovski
 2002-2007 the ffmpeg project
 2002-2006 Alex Beregszaszi
 2002-2004 Roberto Togni
 2002-2003 Brian J. Murrell
 2001 Tim Ferguson
 2001 Lionel Ulmer
 2001 Juan J. Sierralta P
 2001-2010 Michael Niedermayer <michaelni@gmx.at>
 2001, 2006-2010 Peter Ross <pross@xvid.org>
 2001-2003 BERO <bero@geocities.co.jp>
 2000 Michel Lespinasse <walken@zoy.org>
 2000-2011 The FFmpeg developers
 2000-2003 Fabrice Bellard
 2000-2001 Peter Gubanov <peter@elecard.net.ru>
 2000-2001 Michel Lespinasse <walken@zoy.org>
 1999 Roger Hardiman
 1999 Intel Corporation
 1999,2000 Sebastien Rougeaux <sebastien.rougeaux@anu.edu.au>
 1994-1996, Thomas G. Lane
License: LGPL-2.1+

Files: ffmpeg/ffmpeg.c
 ffmpeg/libavcodec/dtsdec.c
 ffmpeg/libavcodec/i386/idct_mmx.c
 ffmpeg/libavcodec/liba52/*.[ch]
 ffmpeg/libavformat/x11grab.c
 ffmpeg/libavformat/gxfenc.c
 ffmpeg/libpostproc/postprocess_internal.h
 ffmpeg/libpostproc/postprocess_altivec_template.c
 ffmpeg/libpostproc/postprocess.h
 ffmpeg/libpostproc/postprocess_template.c
 ffmpeg/libpostproc/postprocess.c
 ffmpeg/libpostproc/mangle.h
 ffmpeg/libswscale/swscale.c
 ffmpeg/libswscale/swscale-example.c
 ffmpeg/libswscale/yuv2rgb_template.c
 ffmpeg/libswscale/swscale_altivec_template.c
 ffmpeg/libswscale/yuv2rgb_altivec.c
 ffmpeg/libswscale/swscale_template.c
 ffmpeg/libswscale/rgb2rgb_template.c
 ffmpeg/libswscale/rgb2rgb.c
 ffmpeg/libswscale/cs_test.c
 ffmpeg/libswscale/yuv2rgb_mlib.c
 ffmpeg/libswscale/yuv2rgb.c
Copyright:
 2000-2011 The FFmpeg developers
 2006 Clemens Fruhwirth <clemens@endorphin.org>
 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
 2000-2001 Fabrice Bellard
 1997-1998 Rasca, Berlin
License: GPL-2+

Files: ffmpeg/libavcodec/x86/vc1dsp_mmx.c
 ffmpeg/libavcodec/nellymoser.*
 ffmpeg/libavcodec/nellymoserdec.c
 ffmpeg/libavformat/oggdec.*
 ffmpeg/libavformat/oggparseogm.c
 ffmpeg/libavformat/oggparsevorbis.c
Copyright:
 2007 Christophe GISQUET <christophe.gisquet@free.fr>
 2007 Loic Minier <lool at dooz.org>, Benjamin Larsson
 2005 Michael Ahlberg, Måns Rullgård
License: Expat

Files:
 mplayer/ffmpeg_files/arm/bswap.h
 mplayer/ffmpeg_files/sh4/bswap.h
 mplayer/ffmpeg_files/taglists.c
 mplayer/ffmpeg_files/bswap.h
 mplayer/ffmpeg_files/bfin/bswap.h


The following has not been converted fully to dep5 yet.

--- 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> <options>
              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 <input_avi> [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 <basename> [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 <en> or <de> (default: <de>).
              --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 <options>
              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> <aspect ratio> <bitrate> <fps>
              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] <file>
              -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 <file2>  Compare two files
              -qs <style>   Quantizer style
              -ss <style>   Size style
              -ps <style>   PSNR style

              Default: -quant -size -psnr -qs "p" -ss "i" -ps "p"

Note:         Requires gnuplot. Comparison is based on file2. Comparison
              assumes that the frame numbers of both files fit.


psnr-video.sh

Author:       Matthias Wieser

Description:  Calculates the PSNR between two existing video files.
              The PSNR is calculated frame by frame.
              Also prints the overall PSNR.
              The script can be used to:
               * Compare different softwarescalers (should I use
                 -sws 1 or -sws 2 ?)
               * Compare different resolutions (is it better to scale
                 down to 640x360 or to 560x320)
               * Compare different deinterlacers
               * Compare different video codecs
               * Compare video filters (is it better to use -vf hqdn3d
                 or lavcopts:nr=400)
               * [...]

Usage:        psnr-video.sh <file1> <file2> [<frames>] [<options1>] [<options2>]

              <file1> and <file2> are the video files for which the PSNR
                should be calculated.
              [<frames>] is the number of frames to process, starting
                from frame 1.
              [<options1>] are additional MPlayer options for <file1>
              [<options2>] are additional MPlayer options for <file2>

              A file called ./psnr.dat will be created with the following
              content:

              File;Y;Cb;Cr
              00000001.ppm;34.23;39.54;40.06;35.426
              00000002.ppm;33.03;38.71;39.26;34.271
              00000003.ppm;33.45;38.91;39.28;34.655
              00000004.ppm;32.72;38.69;38.85;33.972
              [...]
              00000247.ppm;35.55;40.84;42.15;36.785
              PSNR:;35.9887

Note:         This script relies on the the tool "pnmpsnr" for the
              frame-by-frame PSNR calculation.
              Be aware that psnr-video.sh needs a lot of temporary space
              in /tmp/.


asfinfo

Author:       Arpi

Description:  a simple ASF header display program

Usage:        asfinfo <filename.asf>

Note:         Also see MPlayer's -identify option.


avi-fix

Author:       Arpi

Description:  A simple tool to fix chunk sizes in RIFF AVI files.

Usage:        avi-fix [-fix] <badfile.avi>

Note:         It does not check or fix the index, to do this use
              'mencoder -forceidx -oac copy -ovc copy'.


checktree.sh

Author:       Ivo van Poorten

Description:  Check the source tree for anomalies.

Usage:        checktree.sh -help

Note:         This script is meant for developers to check the current
              source tree and/or the patches they are working on.


mphelp_check.py

Author:       Uoti Urpala

Description:  Check console message translations for common errors.

Usage:        mphelp_check.py [--missing] <master file> <files to check>

Note:         Compares MPlayer translation files against a master file and
              reports conflicting arguments, extra strings not present in
              the base file and (optionally) missing strings.


cpuinfo

Author:       Jürgen Keil

Description:  the prototype ../cpuinfo.c

Note:         Used by configure to emulate /proc/cpuinfo on non-Linux systems.


dump_mp4

Author:       Arpi

Description:  MPEG4-ES stream inspector, dumps the stream startcodes.


fastmemcpybench

Author:       Felix Bünemann

Description:  benchmark/testbed for fastmemcpy stuff

Note:         Also see fastmem.sh.


movinfo

Author:       Arpi

Description:  Show QuickTime MOV file structure.

Usage:        movinfo <filename.mov>


vivodump

Author:       Arpi

Description:  Dump H.263 frame headers from VIVO files.

Usage:        vivodump <input_file> <output_file>



Miscellaneous scripts in the TOOLS dir
--------------------------------------

subedit.pl

Author:       Michael Klepikov

Description:  A script for pipelined editing of subtitle files.

Usage:        subedit.pl [switches]
    -if,--input-format <fmt>   input format; supported: SRT (default: SRT)
    -of,--output-format <fmt>  output format; supported: SRT
                               (default: input format)
    -s,--shift <time>          shift all subtitles by <time>
                               (format: [-]hh:mm:ss,fraction)
    -c,--scale <time>          scale by adding <time> to overall duration
    -f,--split-from <time>     drop subtitles that end before <time>
    -t,--split-to <time>       drop subtitles that start after <time> (will
                               truncate timing if it overlaps a boundary)
    -r,--renumber              renumber SRT subtitles in output
    -d,--debug                 enable debug output
    -h,--help                  help message


w32codec_dl.pl

Author:       Tom Lees

Description:  This script will use the Windows Media Player codec download
              infrastructure to aquire the codecs listed in codecs.conf and put
              them in a directory named "codecs/" below the current directory.

Usage:        w32codec_dl.pl <codecs.conf location>

Note:         You will need the libwww-perl stuff and the cabextract utility
              which can be found at http://www.kyz.uklinux.net/cabextract.php3.


binary_codecs.sh

Author:       Andrea Menucci, thuglife

Description:  Downloads binary codecs from mplayerhq.hu and installs them
              on a Debian system.

Usage:        binary_codecs.sh install
              binary_codecs.sh uninstall


vobshift.py

Author:       Gábor Farkas

Description:  Adjust the time-info in vobsub files

Usage:        vobshift.py in.idx out.idx +8.3
              Will shift the time by 8.3 seconds


subrip.c

Author:       Kim Minh Kaplan

Description:  Transform VOBsub subtitles into Subrip text subtitles using
              GOCR/JOCR.

Usage:        subrip <vobsub basename> [subid [output filename] ]

Note:         Requires at least JOCR/GOCR 0.37.
              You will have to change the 'vobsub_id' value if you want a
              subtitle different from number 0. Hint: You can view the
              subtitle that is being decoded with "display subtitle-*.pgm".


alaw-gen.c

Author:       Arpi

Description:  Generates alaw/ulaw tables.

Note:         Created to work around a past license issue, no longer useful.


avisubdump.c

Author:       Tobias Diedrich

Description:  Dumps vobsub soft subtitles streams embedded in AVI files.

Usage:        avisubdump <movie.avi>


vfw2menc.c

Author:       Gianluigi Tiesi

Description:  Creates a codec settings file from the Video for Windows codecs
              found in the mplayer codec packs.

Usage:        vfw2menc -f <fourcc> -d <codec.dll> -s <settingsfile.mcf>
              -h|--help            - displays this help
              -d|--driver filename - dll or drv to load
              -f|--fourcc fourcc   - fourcc of selected driver
              -s|--save filename   - save settings to file
              -c|--check filename  - load and show setting in filename
              -v|--view            - displays the config dialog and do nothing

Notes:        Works on Windows/Linux x86 only.


modify_reg.c

Author:       Alan Nisota

Description:  Modifies registry file (usually ~/.mplayer/registry)

Usage:        modify_reg -r <registry_file> -l
              modify_reg -r <registry_file> -k <key> [-d|-v <value>[-t <type>]]
              -r|--registry - path to registry file
              -l|--list     - shows all keys and values
              -k|--key      - registry key
              -d|--del      - delete key
              -v|--value    - new value for key
              -t|--type     - key type: string (default) or dword

Notes:        Necessary to use CoreAVC with MPlayer


compare.c

Author:       Michael Niedermayer

Description:  Simple file compare program that detects the number of rounding
              errors and dies if the error is too large.

Usage:        compare <file1> <file2>


realcodecs/

Author:       miscellaneous

Description:  Wrappers for Linux Real binary codecs used to analyze, alter and
              dump the data flow between RealPlayer and its codecs.

Usage:        - Set the path to the RealPlayer codecs directory in the C files.
              - Run 'make realcodecs'.
              - Rename the original codecs to match the names expected in the
                wrapper sources. The default is to give them a "real" prefix,
                e.g. realcook.so.6.0.
              - Put the wrappers in the RealPlayer codecs directory.

Notes:        Known to work at least on Linux x86 with RealPlayer8.



netstream - access remote streams
---------------------------------

NOTE: netstream does not link at the moment - help welcome.

netstream allows you to access most MPlayer stream types from a remote host.
The main purpose of this feature is to make it possible to directly use the
CD or DVD drive of another computer on the network (provided you have the
required bandwidth). On the downside some stream types (currently TV and MF)
are not usable remotely because they are implemented at the demuxer level.

Be aware that currently the server is not secure at all.

Compile the server by running 'make netstream' and then copy the netstream
binary to the right place on your system (usually /usr/local/bin on Unix).
Start the netstream server on the computer you intend to access remotely.
There are no command line arguments.

Play the second track of a VCD on the server with:

  mplayer -cache 5000 mpst://servername/vcd://2

Access files on this server with:

  mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi

Note that paths which do not start with a / will be interpreted as relative to
the directory where the server is running. The '-cache' option is not needed
but highly recommended.
 mplayer/ffmpeg_files/taglists.h
 mplayer/ffmpeg_files/x86/bswap.h
 mplayer/ffmpeg_files/x86_cpu.h
Copyright:
 2004 Romain Dolbeau <romain@dolbeau.org>
 2000-2011 The FFmpeg developers
 1995-1999 by Michael Hipp
License: LGPL-2.1+

Files: libass/*
Copyright:
 2009-2010 Grigori Goronzy <greg@geekmind.org>
 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
 1988-1993 The Regents of the University of California.
 1994 Sun Microsystems, Inc.
License: ISC

License: GPL-2+
 This package 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 package 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, see <http://www.gnu.org/licenses/>
 .
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: LGPL-2.1+
 This library 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.
 .
 This library 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 this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

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.

License: ISC
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

License: Tremor
 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.