Command line video player
Go to file
atmosfear 7c9714156a Microchange =)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@986 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-04 01:18:52 +00:00
DOCS Gabucino oruljel :) 2001-06-03 20:53:27 +00:00
TOOLS ring buffering example 2001-06-03 19:09:17 +00:00
TVout faszomba mar... 2001-04-15 20:52:23 +00:00
debian fixed bugs noticed by Jeremy Rosen <jeremy.rosen@enst-bretagne.fr> 2001-05-31 09:04:33 +00:00
drivers gcc warnings fixed - patch by Aelius aelius@wish.net 2001-05-23 19:51:52 +00:00
liba52 Better insns scheduling and moving out local variables 2001-06-01 15:56:04 +00:00
libao2 Microchange =) 2001-06-04 01:18:52 +00:00
libmpeg2 -framedrop worx fro mpeg files 2001-06-03 18:22:59 +00:00
libvo small fix 2001-06-03 23:24:31 +00:00
linux FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net 2001-06-03 00:31:41 +00:00
loader FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net 2001-06-03 00:31:41 +00:00
mp3lib Replaced wrond direction floating -> integer conversion. 2001-05-25 14:02:21 +00:00
xa authors' notice changed/added 2001-05-25 05:57:41 +00:00
.cvsignore version.h added 2001-04-23 00:49:42 +00:00
Makefile libao2 added for dep/distclean 2001-06-04 00:24:54 +00:00
alaw.h alaw/ulaw tables, generated with TOOLS/alaw-gen.c 2001-05-25 18:26:01 +00:00
asf.h Added some functions prototypes. 2001-05-29 17:04:52 +00:00
asf_streaming.c Continue implementation. 2001-05-29 17:09:19 +00:00
asfheader.c Changed some #ifdef to include modify ASF structs definition 2001-05-21 13:04:34 +00:00
aviheader.c DIV2 added 2001-05-11 23:01:52 +00:00
aviprint.c warnings killed 2001-04-23 23:04:02 +00:00
aviwrite.c stage#1 completed: c files no more included from mplayer.c 2001-04-23 03:42:17 +00:00
cfg-mplayer-def.h
cfg-mplayer.h Added -sdla switch for sdl audio driver selection. 2001-06-04 00:27:06 +00:00
cfgparser.c Removing annoying 'Reading config file ...' message when you run without verbose mode (-v) 2001-06-03 01:46:28 +00:00
cfgparser.h
codec-cfg.c no codecs - segfault fixed 2001-05-27 23:29:03 +00:00
codec-cfg.h
codecctrl.c
configure Updates for sdl audio out. 2001-06-03 10:46:42 +00:00
configure.FreeBSD Updates for sdl audio out. 2001-06-03 10:46:42 +00:00
dec_audio.c using alaw.h instead of alaw.c 2001-05-25 18:26:24 +00:00
demux_asf.c keyframe flag added 2001-06-03 23:37:20 +00:00
demux_avi.c keyframe flag added 2001-06-03 23:37:20 +00:00
demux_mpg.c keyframe flag added 2001-06-03 23:37:20 +00:00
demuxer.c keyframe flag added 2001-06-03 23:37:20 +00:00
demuxer.h keyframe flag added 2001-06-03 23:37:20 +00:00
dll_init.c HuffYUV YUY2->RGB fixed 2001-05-11 02:05:36 +00:00
dvdauth.c Detect unencrypted DVDs and not try to auth them 2001-04-21 15:28:19 +00:00
dvdauth.h command line requested DVD key support for Arpi :) 2001-04-20 14:32:09 +00:00
fifo.c
find_sub.c find_sub() moved out from mplayer.c 2001-04-23 03:34:47 +00:00
help_avp.h
help_mp.h *** empty log message *** 2001-06-03 05:12:53 +00:00
http.c Bugs fix, improvements... 2001-05-29 16:58:52 +00:00
http.h Bugs fix, improvements... 2001-05-29 16:58:52 +00:00
lirc_mp.c added OSD toggle (patch by kmarty) 2001-04-23 17:17:04 +00:00
lirc_mp.h
mixer.c warnings killed 2001-04-23 23:46:24 +00:00
mixer.h ups, I missed'em.. 2001-04-15 18:37:07 +00:00
mplayer.c Fix missing cast. 2001-06-04 00:36:55 +00:00
mplayer.h when using -ss: 2001-06-01 22:48:50 +00:00
network.c Added autodetection of potential stream type. 2001-05-29 17:03:17 +00:00
network.h Added autodetection of potential stream type. 2001-05-29 17:03:17 +00:00
parse_es.c
spudec.c (C) fixed 2001-04-30 02:26:18 +00:00
spudec.h spudec_decode() moved from mplayer.c to spudec.c 2001-04-21 17:31:32 +00:00
stheader.h better audio out buffering & sample_format added 2001-05-11 01:22:35 +00:00
stream.c FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net 2001-06-03 00:31:41 +00:00
stream.h allow playing from stdin 2001-05-03 23:32:56 +00:00
subreader.c debug stuff removed 2001-06-01 21:12:05 +00:00
subreader.h Added support for .ssa subtitles 2001-05-31 18:08:24 +00:00
tvision.c
url.c Bugs fix, improvements... 2001-05-29 16:58:52 +00:00
url.h Bugs fix, improvements... 2001-05-29 16:58:52 +00:00
vcd_read.h OSD seekbar fixed for mpeg/VCD 2001-04-23 21:25:09 +00:00
vcd_read_fbsd.h FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net 2001-06-03 00:31:41 +00:00
version.sh version changed 0.11->0.17 2001-04-30 02:25:07 +00:00
videodev.h

DOCS/README

MPlayer (CVS version)           (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)
=============================== * See the file AUTHORS for the complete list *
http://mplayer.sourceforge.net

About:
~~~~~~
MPlayer is a movie player for LINUX. It plays most MPEG, AVI and ASF files,
supported by many native and Win32 DLL codecs. You can watch VCD, DVD and even
DivX movies too. The another big feature of mplayer is the wide range of
supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev,
AAlib, but you can use SDL (and this way all drivers of SDL) and some lowlevel
card-specific drivers (for Matrox/3dfx/SiS) too! Most of them supports software
or hardware scaling, so you can enjoy movies in fullscreen. And what about the
nice big antialiased shaded subtitles (7 supported types!!!) with hungarian,
english, cyrillic, czech, korean fonts, and OSD?

History:
~~~~~~~~
Yes. Yet another movie player for linux.
What is the special with this? It works, at least for me :)
I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN,
xine,xanim,avifile,xmmp) but they all have some problem. Mostly with
special files or with audio/video sync. Most of them is unable to play
both MPEG1, MPEG2 and AVI (DivX) files. Many players have image quality
or speed problems too. So I've decided to write/modify one...

- mpg12play v0.1-v0.3:
  The first try, hacked together in a half hour!
  I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
  but there were image quality and speed problems with it.
- mpg12play v0.5-v0.87:
  Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
  but it was slow and was written in C++ (I hate C++!!!)
- mpg12play v0.9-v0.95pre5:
  Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
  It's great, optimized very fast C code with perfect image quality and
  100% MPEG standard conformance.
- MPlayer v0.3-v0.9:
  It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
  player 'avip' based on avifile's Win32 DLL loader.
- MPlayer v0.10:
  The MPEG and AVI player in a single binary!
- MPlayer v0.11:
  Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.
- MPlayer v0.17 "The IdegCounter"
  The release version of the 0.11pre after 4 months of heavy development!
  Try it, and be amazed! Thousands of new features added... and of course
  old code was improved too, bugs removed etc.

As you see, I didn't write any codecs, just some players. Instead I spent
a lot of time finding the best way to parse bad damaged input files
(both MPEG and AVI) and to do perfect A-V sync with seeking ability.
My player is rock solid playing damaged MPEG files (useful for some VCDs),
and it plays bad AVI files which are unplayable with the famous
windows media player. Even AVI files without index chunk are playable, and
you can rebuild their indexes with the -idx option, thus enabling seeking!
As you see, stability and quality are the most important things for me,
but the speed is also amazing.

What about the GUI?
~~~~~~~~~~~~~~~~~~~
I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
So the player has only keyboard control from the controlling console/xterm now.
There is a GUI development for the player, coordinated by Pontscho/Fresh!
It's still under development, but it will be merged and released real soon.
BTW he needs some nice skins, if you are a good graphician, contact him!!!

Supported input formats:
~~~~~~~~~~~~~~~~~~~~~~~~
- VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
- DVD, directly from your DVD disk, using optional libcss for decryption
- MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file formats
- RIFF AVI file format
- ASF 1.0 file format
- supports reading from file or stdin

Supported audio & video codecs:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** See http://mplayer.sourceforge.net/DOCS/codecs.html ***
***               for the complete list                 ***

The most important video codecs:
- MPEG1 (VCD) and MPEG2 (DVD) video
- DivX, OpenDivX and other MPEG4 variants
- Windows Media Video 7 (WMV1) used in .wmv files
- Intel Indeo codecs (3.1,3.2,4.1,5.0)
- MJPEG, ASV2 and other hardware formats

The most important audio codecs:
- MPEG layer 2, and layer 3 (MP3) audio
- AC3 dolby audio
- Voxware audio
- alaw, msgsm, pcm and other simple old audio formats

If you have a codec not listed here, and not supported yet, just
read http://mplayer.sourceforge.net/DOCS/codecs.html and DOCS/CODECS
to get info about its status and about how to help us adding support for it!

Supported video output devices:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
General:
- x11:	X11 with SHM extension
- xv:	X11 using overlays with the Xvideo extension (hardware YUV & scaling)
- gl:	OpenGL renderer, so far works only with :
	- all cards with Utah-GLX
	- Matrox cards with X/DRI >=4.0.3
	- Radeon with X/DRI CVS
- dga:	X11 DGA extension
- fsdga:X11 DGA extension with fullscreen scaling (only 24/32bpp and MPEG!)
- fbdev:Output to general framebuffers
- svga: Output to SVGAlib
- sdl:	SDL >= v1.1.7 driver (supports software scaling, and versions >=1.1.8
        even support Xvideo (thus hardware rendering) and with >=1.2.0 aalib)
- aalib:Textmode rendering (through SDL, native driver is coming soon!)

Card specific:
- mga:	Matrox G200/G400 hardware YUV overlay via the mga_vid device
- xmga:	Matrox G200/G400 overlay (mga_vid) in X11 window
	(Xv emulation on X 3.3.x !)
- syncfb: Matrox G400 YUV support on framebuffer (obsoleted, use mga/xmga)
- 3dfx:	Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)

Special:
- png:  PNG files output (use -z switch to set compression)
- pgm:	PGM files output (for testing purposes or ffmpeg encoding)
- md5:	MD5sum output (for MPEG conformance tests)
- odivx:OpenDivX AVI File writer (use -br to set encoding bitrate)
- null:	Null output (for speed tests/benchmarking)

NOTE: check DOCS/VIDEOCARDS !

Supported audio output devices:                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- OSS driver
- ALSA driver with OSS emulation (ALSA >= 0.9 only!)
- ESD with the esddsp utility (not tested)

NOTE: check DOCS/SOUNDCARDS for details!

Speed:
~~~~~~
Most of time-critical parts are optimized for MMX/MMXext/SSE/3DNow!/3DNow!Ex.
You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
Some *old* benchmark results can be found in the file DOCS/SPEED.

Usage:
~~~~~~
  mplayer [options] [-vo driver] [path/]filename

  Options:
    see  `mplayer -h'  for options
    see  `mplayer -vo help'  for list of available output drivers

  Keys:
    <-  or  ->      seek backward/forward 10 seconds
    up or down      seek backward/forward 1 minute
    p or SPACE      pause movie (press any key to continue)
    q  or  ^C       stop playing and quit program
    o               toggle OSD : none / seek / seek+timer
    /  and *        decrease/increase volume
    m               toggle using master/pcm channel for volume setting
    f               toggle fullscreen (only with -vo sdl)

  Examples:
    mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
    mplayer -vcd 2 /dev/cdrom
    mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
    mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
    mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi

  Note:  in order to use Matrox YUV driver (-vo mga or xmga), first you'll have
         to load the driver: see DOCS/VIDEOCARDS .

Playing from stdin:
~~~~~~~~~~~~~~~~~~~
Now it's possible.

To play something by reading from stdin, just use '-' as filename:

cat test.mpg | mplayer -vo xv -

Restrictions:
	mpg: no backward seeking
	asf: no backward seeking
	avi: no index reading -> no seeking at all, and playing of some files are
		+impossible

No control from controlling terminal/xterm, but hotkeys and osd works
from the window. or course LIRC still works everywhere.

This feature combined with external wrappers extends possibilities.
For example, to play a movie just downloaded from your favourite divx
server:
	rar p ast-nssvcd.rar | mplayer -vo xmga -fs -

With an ASF grabber or http dump program you can play from the net.
	wget ftp://micorsops.com/something.avi -O - | mplayer -

(however we planned to add direct ASF/http/ftp inputs with seeking and other
stuff, but for now it's a good workaround)

TV output:
~~~~~~~~~~
If you have a Matrox G400 Dual-Head card, you can watch movies on TV, using
the TV-out feature of the second head. Read DOCS/TVout-G400 for details!

Sending bugreports, comments, feature requests etc:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First please read all the docs in this package, most of the problems are
described somewhere. At least read DOCS/BUGS !  We don't like answering
questions which are already answered in this readme or other docs.

Read the DOCS/MPlayer-FAQ. Most common problems are answered there!

You should try the latest development version (from CVS) too, maybe your
bug is already fixed, but the new version hasn't been released.
If you couldn't solve the problem, then send a quality bugreport:
read DOCS/BUGREPORTS for instructions (where, what and how...)

Subscribe to the mplayer-users mailing list. There are many MPlayer
users, maybe they can help or know the solution to your problem.
You also should send ideas, feature requests, comments to there!
Please do not ask for features already listed in the DOCS/TODO!

Contact information:
~~~~~~~~~~~~~~~~~~~~
Homepage:  http://mplayer.sourceforge.net

Mailing lists:
~~~~~~~~~~~~~~
There are some public mailing lists on MPlayer. Subscribing can be achieved on
the following addresses:

- MPlayer core/hungarian developers list:  (HUNGARIAN language ONLY!)
	http://lists.sourceforge.net/lists/listinfo/mplayer-devel

- MPlayer developers list:  (send your patches here)
	http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng

- MPlayer users list:  (send your ideas, bugreports, feature requests here)
	http://lists.sourceforge.net/lists/listinfo/mplayer-users

- MPlayer & Matrox G200/G400/G450 users: (about TV-out, mga_vid, syncfb, Xv)
	http://lists.sourceforge.net/lists/listinfo/mplayer-matrox

- mpg12play-portable developers:
	http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play

- MPlayer announce:    (information about new releases or big changes in CVS)
	http://lists.sourceforge.net/lists/listinfo/mplayer-announce

- MPlayer CVS-log:     (announce about _every_ CVS commit)
	http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog

NOTE: language of above lists are ENGLISH, unless explicitly stated otherwise.
      Please do not send messages using other language!

License:
~~~~~~~~
MPlayer incorporates a lot of code from other projects, but for now everything
except the OpenDivX stuff is under General Public License (GPL) version 2 or
later. See DOCS/COPYING

Standard Disclaimer:
~~~~~~~~~~~~~~~~~~~~
Use only at your own risk! There may be errors and inaccuracies that could
damage your system, your eye or ear. Proceed with caution, and although this is
highly unlikely, we don't take any responsibility for that!