# HG changeset patch # User diego # Date 1035116439 0 # Node ID 988498df19965c7270713cfea7d322030a28d995 # Parent 76940a39405a88283bc8f2c7de09068d0f8b42c8 MPlayer ---> MPlayer diff -r 76940a39405a -r 988498df1996 DOCS/bugreports.html --- a/DOCS/bugreports.html Sun Oct 20 11:34:06 2002 +0000 +++ b/DOCS/bugreports.html Sun Oct 20 12:20:39 2002 +0000 @@ -16,7 +16,7 @@ software project. But just like writing good software, good problem reports involve some work. Please realize that most developers are extremely busy and receive obscene amounts of email. So while your feedback is crucial in - improving MPlayer and very much appreciated, please understand that you + improving MPlayer and very much appreciated, please understand that you have to provide all of the information we request and follow the instructions in this document closely.
@@ -26,14 +26,14 @@If you feel have the necessary skills you are invited to have a go at fixing the bug yourself. Or maybe you already did that? Please read this short document to find out how to get - your code included in MPlayer. The people on the + your code included in MPlayer. The people on the mplayer-dev-eng mailing list will assist you if you have questions.
First of all please try the latest CVS version of MPlayer as your bug +
First of all please try the latest CVS version of MPlayer as your bug might already be fixed there. Development moves extremely fast, most problems in official releases are reported within days or even hours, so please use only CVS to report bugs. CVS instructions can be found at the bottom of @@ -46,7 +46,7 @@
Please do not send bug reports privately to individual developers. This is community work and thus there might be several people interested in it. Sometimes other users already experienced your troubles and know how to - circumvent a problem even if it is a bug in MPlayer code.
+ circumvent a problem even if it is a bug in MPlayer code.Please describe your problem in as much detail as possible. Do a little detective work to narrow down the circumstances under which the problem @@ -164,7 +164,7 @@
Please include the output of MPlayer at verbosity level 1, but +
Please include the output of MPlayer at verbosity level 1, but remember to not truncate the output when you paste it into your mail. The developers need all of the messages to properly diagnose a problem. You can direct the output into a file like this:
@@ -179,7 +179,7 @@Also upload a small text file having the same base name as your file with a .txt extension. Describe the problem you are having with the particular file there and include your email address as well as the output - of MPlayer at verbosity level 1. Usually the first 1-5 MB of a file are + of MPlayer at verbosity level 1. Usually the first 1-5 MB of a file are enough to reproduce the problem, but to be sure we ask you to:
dd if=yourfile of=smallfile bs=1024k count=5
./configure --enable-debug=3
make
gdb ./mplayer
If you created a proper bug report following the steps above and you are
- confident it is a bug in MPlayer, not a compiler problem or broken
+ confident it is a bug in MPlayer, not a compiler problem or broken
file, you have already read the documentation and you could not find a
solution, your sound drivers are OK, then you might want to subscribe to the
mplayer-advusers list and send your bug report there to get a better and
@@ -263,7 +263,7 @@
in the manual there, you will be ignored or flamed instead of getting an
appropriate answer.
So do not flame us and subscribe to -advusers only if you really know
- what you are doing and feel like being an advanced MPlayer user or
+ what you are doing and feel like being an advanced MPlayer user or
developer. If you meet these criteria it should not be difficult to find
out how to subscribe...
MPlayer uses libdvdread
and libdvdcss
for
+
MPlayer uses libdvdread
and libdvdcss
for
DVD decryption and playback. These two libraries are contained in the
- libmpdvdkit2/
subdirectory of the MPlayer source tree, you
+ libmpdvdkit2/
subdirectory of the MPlayer source tree, you
do not have to install them separately. We opted for this solution because
we had to fix a libdvdread bug, and apply a patch which adds
cracked CSS keys caching support to libdvdcss. This results in a large
@@ -70,7 +70,7 @@
playing. The cracked keys are stored in the
~/.mplayer/DVDKeys
directory.
MPlayer can also use system-wide libdvdread
and
+
MPlayer can also use system-wide libdvdread
and
libdvdcss
libraries, but this solution is not recommended,
as it can result in bugs, library incompatibilities, and slower speed.
Useful if you want to play encoded VOBs from hard disk. Compile and
- install libcss 0.0.1 (not newer) for this (If MPlayer fails to
+ install libcss 0.0.1 (not newer) for this (If MPlayer fails to
detect it, use the -csslib /path/to/libcss.so
option).
For the complete list of available options, please read the man page.
diff -r 76940a39405a -r 988498df1996 DOCS/codecs.html --- a/DOCS/codecs.html Sun Oct 20 11:34:06 2002 +0000 +++ b/DOCS/codecs.html Sun Oct 20 12:20:39 2002 +0000 @@ -47,7 +47,7 @@This section contains information about the DivX4 and DivX5 codecs of Project Mayo. Their first available alpha version was OpenDivX 4.0 alpha 47 and 48. Support for this was included - in MPlayer in the past, and built by default. We also used its + in MPlayer in the past, and built by default. We also used its postprocessing code to optionally enhance visual quality of MPEG1/2 movies. Now we use our own, for all file types.
@@ -67,7 +67,7 @@Note: Do not forget adding /usr/local/lib
to your
/etc/ld.so.conf
and running ldconfig
!
MPlayer autodetects DivX4/DivX5 if it is properly installed, just +
MPlayer autodetects DivX4/DivX5 if it is properly installed, just compile as usual. If it does not detect it, you did not install or configure it correctly.
@@ -76,7 +76,7 @@-vc odivx
-vc divx4
If you use an MPlayer release you have libavcodec right in the - package, just build as usual. If you use MPlayer from CVS you have to +
If you use an MPlayer release you have libavcodec right in the + package, just build as usual. If you use MPlayer from CVS you have to extract libavcodec from the FFmpeg CVS tree as FFmpeg 0.4.5 does not - work with MPlayer. In order to achieve this do:
+ work with MPlayer. In order to achieve this do:cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login
cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg
libavcodec
directory from the FFmpeg sources to the
- root of the MPlayer CVS tree. It should look like this:
+ root of the MPlayer CVS tree. It should look like this:
main/libavcodec
Note: MPlayer from CVS does contain a libavcodec +
Note: MPlayer from CVS does contain a libavcodec subdirectory, but it does not contain the source for libavcodec! You must follow the steps above to obtain the source for this library.
@@ -140,7 +140,7 @@ action against anyone for codec-related issues. -MPlayer is capable of employing the XAnim codecs for decoding. Follow +
MPlayer is capable of employing the XAnim codecs for decoding. Follow the instructions to enable them:
XAnim is video codec family number 10, so you may want to use the -vfm 10
- option to tell MPlayer to use them if possible.
Tested codecs include: Indeo 3.2, 4.1, 5.0, CVID, 3ivX, h263.
@@ -165,7 +165,7 @@MPlayer can play Vivo (1.0 and 2.0) videos. The most suitable codec +
MPlayer can play Vivo (1.0 and 2.0) videos. The most suitable codec
for 1.0 files is FFmpeg's H263 decoder, you can use it with the -vc
ffh263
option (default). For 2.0 files, use the
ivvideo.dll
@@ -176,7 +176,7 @@
MPEG1 and MPEG2 are decoded by the multiplatform native libmpeg2 - library, whose source code is included in MPlayer. We handle buggy + library, whose source code is included in MPlayer. We handle buggy MPEG 1/2 video files by catching sig11 (segmentation fault), and quickly reinitializing the codec, continuing exactly from where the failure occurred. This recovery technique has no measurable speed penalty.
@@ -192,14 +192,14 @@MPlayer uses its own open source, multiplatform Cinepak decoder by +
MPlayer uses its own open source, multiplatform Cinepak decoder by default. It supports YUV outputs, so that hardware scaling is possible if the video output driver permits it.
It is recommended to download and install RealPlayer8 or RealONE, because
- MPlayer can use their libraries to decode files with RealVideo 2.0 -
- 4.0 video. The MPlayer configure script should detect the
+ MPlayer can use their libraries to decode files with RealVideo 2.0 -
+ 4.0 video. The MPlayer configure script should detect the
RealPlayer libraries in the standard locations of a full installation. If it
does not, tell configure where to look with the
--with-reallibdir
switch.
make -f Makefile.linux
encore2.h
and decore.h
from the DivX4Linux
package, and copy them to /usr/local/include/
.--with-xvidcore=/path/to/libcore.a
.--with-xvidcore=/path/to/libcore.a
./usr/lib/win32
directory.
VFW (Video for Windows) is the old Video API for Windows. Its codecs have the .DLL or (rarely) .DRV extension. - If MPlayer fails at playing your AVI with this kind of message:
+ If MPlayer fails at playing your AVI with this kind of message: UNKNOWN video codec: HFYU (0x55594648)
Note: If there is no Filename
entry and DisplayName
contains something like device:dmo
, then it is a DMO-Codec, which are
- currently not supported by MPlayer.
Old Method: Take a deep breath and start searching the registry...
diff -r 76940a39405a -r 988498df1996 DOCS/documentation.html --- a/DOCS/documentation.html Sun Oct 20 11:34:06 2002 +0000 +++ b/DOCS/documentation.html Sun Oct 20 12:20:39 2002 +0000 @@ -307,33 +307,33 @@MPlayer is a movie player for LINUX (runs on many other Unices, and +
MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86 CPUs, see the ports section). It plays most MPEG, VOB, AVI, OGG, VIVO, ASF/WMV, QT/MOV, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies too (and you don't need the avifile - library at all!). Another big feature of MPlayer is the wide range of + library at all!). Another big feature of MPlayer is the wide range of supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you can also use GGI and SDL (and this way all their drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64, Permedia3) too! Most of them supports software or hardware scaling, so you can enjoy movies in - fullscreen. MPlayer supports displaying through some hardware MPEG + fullscreen. MPlayer supports displaying through some hardware MPEG decoder boards, such as the DVB and DXR3/Hollywood+. And what about the nice big antialiased shaded subtitles (10 supported types) with European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic, Korean fonts, and the onscreen display (OSD)?
-MPlayer is under GPL v2 license.
+MPlayer is under GPL v2 license.
The 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 temporarily rebuild their indexes with the -idx
option, or
- permanently with MEncoder, thus enabling seeking!
+ permanently with MEncoder, thus enabling seeking!
As you see, stability and quality are the most important things,
but the speed is also amazing.
In this chapter I'll try to guide you through the compiling and - configuring process of MPlayer. It's not easy, but it won't necessarily + configuring process of MPlayer. It's not easy, but it won't necessarily be hard. If you experience a different behavior than what I explain, please search through this documentation and you'll find your answers. If you see links, please follow them and read carefully what they contain. It @@ -412,7 +412,7 @@ runtime problems). If you vote for 3.x.x, try to use the latest version, early releases had various bugs, so be sure you use at least 3.1, it's tested and working. For detailed information about gcc 2.96's bugs (that are - still NOT fixed, they have been WORKED AROUND in MPlayer!), see the + still NOT fixed, they have been WORKED AROUND in MPlayer!), see the gcc 2.96 section and the FAQ.
libvorbis
properly. Use deb/rpm packages if available, or
compile from
source
(this is a nightly updated tarball of Vorbis CVS).Then build MPlayer:
+Then build MPlayer:
./configure @@ -661,17 +661,17 @@ make install-
At this point, MPlayer is ready to use. The directory +
At this point, MPlayer is ready to use. The directory
$PREFIX/share/mplayer
contains the codecs.conf
file, which is used to tell the program all the codecs and their
capabilities. This file should always be kept up to date together with the
main binary.
Check if you have codecs.conf
in your home directory
- (~/.mplayer/codecs.conf
) left from old MPlayer versions, and remove it.
~/.mplayer/codecs.conf
) left from old MPlayer versions, and remove it.
Debian users can build a .deb
package for themselves,
it's very simple. Just exec fakeroot debian/rules binary
in
- MPlayer's root directory. See
+ MPlayer's root directory. See
Debian packaging for detailed
instructions.
Currently you can't use the -gui
option on the command line,
due to technical reasons.
As MPlayer doesn't have a skin included, you have to download them if +
As MPlayer doesn't have a skin included, you have to download them if
you want to use the GUI. See the
download page.
They should be extracted to the usual system-wide directory
($PREFIX/share/mplayer/Skin
), or to
- $HOME/.mplayer/Skin
. MPlayer by default looks in these
+ $HOME/.mplayer/Skin
. MPlayer by default looks in these
directories for a directory named default, but you can use the
-skin newskin
option, or the skin=newskin
config
file directive to use the skin in */Skin/newskin
directory.
- MPlayer can display subtitles along with movie files. Currently the following + MPlayer can display subtitles along with movie files. Currently the following formats are supported:
-subfps
option cannot be used with this format. As
- MPlayer has no way to guess the frame rate of the subtitle file, you
+ MPlayer has no way to guess the frame rate of the subtitle file, you
have to manually convert the frame rate. There is a little perl script in the
contrib
directory of the MPlayer FTP site to do this conversion
for you.
@@ -789,7 +789,7 @@
MPlayer introduces a new subtitle format called MPsub. It was +
MPlayer introduces a new subtitle format called MPsub. It was designed by me (Gabucino). Basically its main feature is being dynamically time-based (although it has frame-based mode too). Example (from @@ -821,11 +821,11 @@
You need an MPlayer font package to be able to use OSD/SUB feature. +
You need an MPlayer font package to be able to use OSD/SUB feature. There are many ways to get it:
/proc
filesystem.
@@ -984,7 +984,7 @@
MPlayer utilizes a complex playtree. It consists of global options +
MPlayer utilizes a complex playtree. It consists of global options
written as first (for example mplayer -vfm 5
), and options
written after filenames, that apply only to the given filename/URL/whatever
(for example mplayer -vfm 5 movie1.avi movie2.avi -vfm 4
).
@@ -1017,15 +1017,15 @@
MPlayer has a fully configurable, command driven, control layer which - lets you control MPlayer with keyboard, mouse, joystick or remote +
MPlayer has a fully configurable, command driven, control layer which + lets you control MPlayer with keyboard, mouse, joystick or remote control (using LIRC). See the man page for the complete list of keyboard controls.
MPlayer allows you bind any key/button to any MPlayer command +
MPlayer allows you bind any key/button to any MPlayer command
using a simple config file. The syntax consist of a key name followed by a
command. The default config file location is
$HOME/.mplayer/input.conf
but it can be overridden using the
@@ -1115,7 +1115,7 @@
Adjust the audio delay of val seconds
Quit MPlayer
Quit MPlayer
Pause/unpause the playback
If you have installed the lirc-package, configure will autodetect it. If - everything went fine, MPlayer will print a message like "Setting up + everything went fine, MPlayer will print a message like "Setting up lirc support..." on startup. If an error occurs it will tell you. If it doesn't tell you anything about LIRC there's no support compiled in. That's it :-)
-The application name for MPlayer is - oh wonder - 'mplayer'. +
The application name for MPlayer is - oh wonder - 'mplayer'. You can use any mplayer commands and even pass more than one command by separating them with \n. Don't forget to enable the repeat flag in .lircrc when it make sense (seek, volume, etc). Here's an excerpt from my @@ -1220,23 +1220,23 @@
The slave mode allow you to build simple frontend to MPlayer. When
- enabled (with the -slave
switch) MPlayer will read
+
The slave mode allow you to build simple frontend to MPlayer. When
+ enabled (with the -slave
switch) MPlayer will read
commands separated by new line (\n) from stdin.
MPlayer can play files from network, using the HTTP, MMS or RTSP/RTP +
MPlayer can play files from network, using the HTTP, MMS or RTSP/RTP protocol.
Playing goes by simply using adding the URL to the command line. - MPlayer also honors the http_proxy environment variable, and uses + MPlayer also honors the http_proxy environment variable, and uses proxy if available. Proxy usage can also be forced:
mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf
MPlayer can read from stdin (NOT named pipes). This can be for example +
MPlayer can read from stdin (NOT named pipes). This can be for example used to play from FTP:
wget ftp://micorsops.com/something.avi -O - | mplayer -
To build the package you will need GNU make (gmake, /usr/ports/devel/gmake), native BSD make will not work.
-To run MPlayer you will need to re-compile the kernel with +
To run MPlayer you will need to re-compile the kernel with "options USER_LDT" (unless you are running -CURRENT, where this is default). If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it (FreeBSD-STABLE required, or use kernel patches).
-If MPlayer complains about "CD-ROM Device '/dev/cdrom' not found!" make a +
If MPlayer complains about "CD-ROM Device '/dev/cdrom' not found!" make a
symbolic link: ln -s /dev/(your_cdrom_device) /dev/cdrom
There's no DVD support for FreeBSD yet.
@@ -1317,7 +1317,7 @@ available. However, DivX/OpenDivX movies should work, when using libavcodec. -On UltraSPARCs, MPlayer takes advantage of their VIS +
On UltraSPARCs, MPlayer takes advantage of their VIS extensions (equivalent to MMX), currently only in libmpeg2, libvo and libavcodec, but not in mp3lib. You can watch a VOB file on a 400MHz CPU. You'll need @@ -1402,7 +1402,7 @@
MPlayer is reported to compile on StrongARM. Use the following command line:
+MPlayer is reported to compile on StrongARM. Use the following command line:
./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib @@ -1419,7 +1419,7 @@6.6 QNX
Works. You'll need to download SDL for QNX, and install it. Then run - MPlayer with
-vo sdl:photon
and-ao sdl:nto
+ MPlayer with-vo sdl:photon
and-ao sdl:nto
options, and it should be fast.The
--vo x11
output will be even slower than on Linux, since @@ -1437,10 +1437,10 @@ in PATH and do a 'gmake -k
', then make sure that the native version is used and do 'gmake
'.To use Win32 DLLs with MPlayer you will need to re-compile the +
To use Win32 DLLs with MPlayer you will need to re-compile the kernel with "
-option USER_LDT
".If MPlayer complains about not finding '/dev/cdrom' or +
If MPlayer complains about not finding '/dev/cdrom' or '/dev/dvd' make a symbolic link, e.g.
@@ -1450,16 +1450,16 @@ln -s /dev/rcd0c /dev/dvd
6.8. Cygwin
-You will have to go to the MPlayer directory, and copy or symlink +
You will have to go to the MPlayer directory, and copy or symlink
etc/cygwin_inttypes.h
to/usr/include/inttypes.h
to - make MPlayer compile. Otherwise it will complain about missing + make MPlayer compile. Otherwise it will complain about missingintypes.h
.Appendix A - Mailing lists
-There are some public mailing lists on MPlayer. Unless explicitly +
There are some public mailing lists on MPlayer. Unless explicitly stated otherwise the language of these lists is English. Please do not send messages in other languages or HTML mail! Message size limit is 80k. If you have something bigger put it up for download somewhere. Click the @@ -1474,7 +1474,7 @@
Note: You can reach the searchable mailing list archives at diff -r 76940a39405a -r 988498df1996 DOCS/encoding.html --- a/DOCS/encoding.html Sun Oct 20 11:34:06 2002 +0000 +++ b/DOCS/encoding.html Sun Oct 20 12:20:39 2002 +0000 @@ -12,7 +12,7 @@
MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, +
MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to encode MPlayer-playable movies (AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET/PVA) to other MPlayer-playable formats (see below). It can encode with various codecs, like @@ -24,7 +24,7 @@
You are ready. As you probably know, other encoding tools need the - avifile library installed. MEncoder doesn't need it at all.
+ avifile library installed. MEncoder doesn't need it at all.mencoder <file/DVD> -ovc frameno -oac mp3lame -lameopts vbr=3:more_options -o frameno.avi
An audio-only avi file will be created, containing
only the requested audio stream. Don't forget -lameopts
,
- if you need to set it. If you were encoding a long movie, MEncoder
+ if you need to set it. If you were encoding a long movie, MEncoder
prints the recommended bitrate values for 650Mb, 700Mb, and 800Mb
destination sizes, after this pass finishes.
mencoder <file/DVD> -oac copy -pass 1
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>
Alias the first pass of DivX4 video encoding. - Optionally specify the video bitrate MEncoder printed at the end of + Optionally specify the video bitrate MEncoder printed at the end of the previous pass.
mencoder <file/DVD> -oac copy -pass 2
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>
Alias the second pass of DivX4 video encoding.
- Optionally specify the video bitrate MEncoder printed at the end of
+ Optionally specify the video bitrate MEncoder printed at the end of
the previous pass. In this pass, audio from frameno.avi
will
be inserted into the destination file.. and it's all ready!
The scaling process is handled by the 'scale' video filter:
-vop scale=X:Y
. Its quality can be set with the
- -sws
option. If it's not specified, MEncoder will use 0:
+ -sws
option. If it's not specified, MEncoder will use 0:
fast bilinear.
Usage:
@@ -198,14 +198,14 @@
MEncoder can handle input streams in two ways: encode or +
MEncoder can handle input streams in two ways: encode or copy them. This section is about copying.
-ovc copy
): nice stuff can be
done :)Easiest thing. We simply copy the video and audio streams, and
- MEncoder generates the index. Of course this cannot fix possible bugs
+ MEncoder generates the index. Of course this cannot fix possible bugs
in the video and/or audio streams. It also fixes files with broken
interleaving, thus the -ni
option won't be needed for them
anymore.
MEncoder is capable of creating movies from one or more JPEG, PNG or TGA +
MEncoder is capable of creating movies from one or more JPEG, PNG or TGA files. With simple framecopy it can create MJPEG (Motion JPEG), MPNG (Motion PNG) or MTGA (Motion TGA) files.
Explanation of the process:libjpeg
(when decoding PNGs, it will use libpng).MEncoder is capable of extracting subtitles from a DVD into +
MEncoder is capable of extracting subtitles from a DVD into
Vobsub fomat files. They consist of a pair of files ending in
.idx
and .sub
and are usually packaged in a single
- .rar
archive. MPlayer can play these with the
+ .rar
archive. MPlayer can play these with the
-vobsub
and -vobsubid
options.
You specify the basename (i.e without the .idx
or
@@ -344,7 +344,7 @@
For the complete list of available MEncoder options and examples, +
For the complete list of available MEncoder options and examples, please see the man page.