Rename to "mpv"

This changes the name of this project to mpv. Most user-visible mentions
of "MPlayer" and "mplayer" are changed to "mpv". The binary name and the
default config file location are changed as well.

The new default config file location is: ~/.mpv/

Remove etc/mplayer.desktop. Apparently this was for the MPlayer GUI,
which has been removed from mplayer2 ages ago.

We don't have a logo, and the MS Windows resource files sort-of require
one, so leave etc/mplayer.ico/.xpm as-is.

Remove the debian and rpm packaging scripts. These contained outdated
dependencies and likely were more harmful than useful. (Patches which
add working and well-tested packaging are welcome.)
This commit is contained in:
wm4
2012-10-11 02:04:08 +02:00
parent 3d712eb56d
commit 65fc530f0c
57 changed files with 323 additions and 1598 deletions

View File

@@ -3,15 +3,15 @@ General usage
::
mplayer infile -o outfile [-of outfileformat] [-ofopts formatoptions] \
mpv infile -o outfile [-of outfileformat] [-ofopts formatoptions] \
[-ofps outfps | -oautofps] [-oharddup] [-ocopyts | -orawts] [-oneverdrop] \
[(any other mplayer options)] \
[(any other mpv options)] \
-ovc outvideocodec [-ovcopts outvideocodecoptions] \
-oac outaudiocodec [-oacopts outaudiocodecoptions]
Help for these options is provided if giving help as parameter, as in::
mplayer -ovc help
mpv -ovc help
The suboptions of these generally are identical to ffmpeg's (as option parsing
is simply delegated to ffmpeg). The option -ocopyts enables copying timestamps
@@ -25,7 +25,7 @@ from the input video. Note that not all codecs and not all formats support VFR
encoding, and some which do have bugs when a target bitrate is specified - use
-ofps or -oautofps to force CFR encoding in these cases.
Of course, the options can be stored in a profile, like this .mplayer/config
Of course, the options can be stored in a profile, like this .mpv/config
section::
[myencprofile]
@@ -40,7 +40,7 @@ section::
One can then encode using this profile using the command::
mplayer infile -o outfile.mp4 -profile myencprofile
mpv infile -o outfile.mp4 -profile myencprofile
Some example profiles are provided in a file
etc/encoding-example-profiles.conf; as for this, see below.
@@ -54,7 +54,7 @@ for.
Typical MPEG-4 Part 2 ("ASP", "DivX") encoding, AVI container::
mplayer infile -o outfile.avi \
mpv infile -o outfile.avi \
-ofps 25 \
-ovc mpeg4 -ovcopts qscale=4 \
-oac libmp3lame -oacopts ab=128k
@@ -65,19 +65,19 @@ for NTSC)
Typical MPEG-4 Part 10 ("AVC", "H.264") encoding, Matroska (MKV) container::
mplayer infile -o outfile.mkv \
mpv infile -o outfile.mkv \
-ovc libx264 -ovcopts preset=medium,crf=23,profile=baseline \
-oac vorbis -oacopts qscale=3
Typical MPEG-4 Part 10 ("AVC", "H.264") encoding, MPEG-4 (MP4) container::
mplayer infile -o outfile.mp4 \
mpv infile -o outfile.mp4 \
-ovc libx264 -ovcopts preset=medium,crf=23,profile=baseline \
-oac aac -oacopts ab=128k
Typical VP8 encoding, WebM (restricted Matroska) container::
mplayer infile -o outfile.mkv \
mpv infile -o outfile.mkv \
-of webm \
-ovc libvpx -ovcopts qmin=6,b=1000000k \
-oac libvorbis -oacopts qscale=3
@@ -90,10 +90,10 @@ As the options for various devices can get complex, profiles can be used.
An example profile file for encoding is provided in
etc/encoding-example-profiles.conf in the source tree. You can include it into
your configuration by doing, from the mplayer2-build directory::
your configuration by doing, from the mpv-build directory::
mkdir -p ~/.mplayer
echo "include = $PWD/mplayer/etc/encoding-example-profiles.conf" >> ~/.mplayer/config
mkdir -p ~/.mpv
echo "include = $PWD/mpv/etc/encoding-example-profiles.conf" >> ~/.mpv/config
Refer to the top of that file for more comments - in a nutshell, the following
options are added by it::
@@ -108,7 +108,7 @@ options are added by it::
You can encode using these with a command line like::
mplayer infile -o outfile.mp4 -profile enc-to-bb-9000
mpv infile -o outfile.mp4 -profile enc-to-bb-9000
Of course, you are free to override options set by these profiles by specifying
them after the -profile option.
@@ -122,15 +122,15 @@ What works
* 2-pass encoding (specify flags=+pass1 in the first pass's -ovcopts, specify
flags=+pass2 in the second pass)
* Hardcoding subtitles using vobsub, ass or srt subtitle rendering (just
configure mplayer for the subtitles as usual)
* Hardcoding any other mplayer OSD (e.g. time codes, using -osdlevel 3 and -vf
configure mpv for the subtitles as usual)
* Hardcoding any other mpv OSD (e.g. time codes, using -osdlevel 3 and -vf
expand=::::1)
* Encoding directly from a DVD, network stream, webcam, or any other source
mplayer supports
mpv supports
* Using x264 presets/tunings/profiles (by using profile=, tune=, preset= in the
-ovcopts)
* Deinterlacing/Inverse Telecine with any of mplayer's filters for that
* Audio file converting: mplayer -o outfile.mp3 infile.flac -novideo -oac
* Deinterlacing/Inverse Telecine with any of mpv's filters for that
* Audio file converting: mpv -o outfile.mp3 infile.flac -novideo -oac
libmp3lame -oacopts ab=320k
* inverse telecine filters (confirmed working: detc, pullup, filmdint)