manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
VIDEO OUTPUT DRIVERS
|
|
|
|
====================
|
|
|
|
|
|
|
|
Video output drivers are interfaces to different video output facilities. The
|
|
|
|
syntax is:
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``--vo=<driver1[:suboption1[=value]:...],driver2,...[,]>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Specify a priority list of video output drivers to be used.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
If the list has a trailing ',', mpv will fall back on drivers not contained
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
in the list. Suboptions are optional and can mostly be omitted.
|
|
|
|
|
2013-11-30 23:12:10 +00:00
|
|
|
You can also set defaults for each driver. The defaults are applied before the
|
|
|
|
normal driver parameters.
|
|
|
|
|
|
|
|
``--vo-defaults=<driver1[:parameter1:parameter2:...],driver2,...>``
|
|
|
|
Set defaults for each driver.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
See ``--vo=help`` for a list of compiled-in video output drivers.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
The recommended output drivers are ``--vo=vdpau`` and ``--vo=opengl-hq``.
|
|
|
|
All other drivers are just for compatibility or special purposes.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
.. admonition:: Example
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2012-09-23 14:10:00 +00:00
|
|
|
``--vo=opengl,xv,``
|
2013-07-08 16:02:14 +00:00
|
|
|
Try the ``opengl`` driver, then the ``xv`` driver, then others.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
|
|
|
Available video output drivers are:
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``xv`` (X11 only)
|
2013-09-10 13:09:24 +00:00
|
|
|
Uses the XVideo extension to enable hardware-accelerated display. This is
|
2013-07-08 16:02:14 +00:00
|
|
|
the most compatible VO on X, but may be low-quality, and has issues with
|
2012-08-07 21:53:14 +00:00
|
|
|
OSD and subtitle display.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with old systems.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``adaptor=<number>``
|
2014-09-01 02:25:57 +00:00
|
|
|
Select a specific XVideo adapter (check xvinfo results).
|
2013-07-08 16:02:14 +00:00
|
|
|
``port=<number>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Select a specific XVideo port.
|
2013-07-08 16:02:14 +00:00
|
|
|
``ck=<cur|use|set>``
|
2014-09-01 02:25:57 +00:00
|
|
|
Select the source from which the color key is taken (default: cur).
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
|
|
|
cur
|
2014-09-01 02:25:57 +00:00
|
|
|
The default takes the color key currently set in Xv.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
use
|
2014-09-01 02:25:57 +00:00
|
|
|
Use but do not set the color key from mpv (use the ``--colorkey``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
option to change it).
|
|
|
|
set
|
2014-09-01 02:25:57 +00:00
|
|
|
Same as use but also sets the supplied color key.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``ck-method=<man|bg|auto>``
|
2014-09-01 02:25:57 +00:00
|
|
|
Sets the color key drawing method (default: man).
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
|
|
|
man
|
2014-09-01 02:25:57 +00:00
|
|
|
Draw the color key manually (reduces flicker in some cases).
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
bg
|
2014-09-01 02:25:57 +00:00
|
|
|
Set the color key as window background.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
auto
|
2014-09-01 02:25:57 +00:00
|
|
|
Let Xv draw the color key.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2013-07-21 23:03:22 +00:00
|
|
|
``colorkey=<number>``
|
2014-09-01 02:25:57 +00:00
|
|
|
Changes the color key to an RGB value of your choice. ``0x000000`` is
|
2013-07-21 23:03:22 +00:00
|
|
|
black and ``0xffffff`` is white.
|
|
|
|
|
|
|
|
``no-colorkey``
|
2014-09-01 02:25:57 +00:00
|
|
|
Disables color-keying.
|
2013-07-21 23:03:22 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``x11`` (X11 only)
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Shared memory video output driver without hardware acceleration that works
|
|
|
|
whenever X11 is present.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
.. note:: This is a fallback only, and should not be normally used.
|
2012-10-23 23:06:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``vdpau`` (X11 only)
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Uses the VDPAU interface to display and optionally also decode video.
|
2013-01-30 23:39:45 +00:00
|
|
|
Hardware decoding is used with ``--hwdec=vdpau``.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2014-05-02 14:57:39 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
Earlier versions of mpv (and MPlayer, mplayer2) provided sub-options
|
2014-09-01 02:25:57 +00:00
|
|
|
to tune vdpau post-processing, like ``deint``, ``sharpen``, ``denoise``,
|
2014-05-02 14:57:39 +00:00
|
|
|
``chroma-deint``, ``pullup``, ``hqscaling``. These sub-options are
|
|
|
|
deprecated, and you should use the ``vdpaupp`` video filter instead.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sharpen=<-1-1>``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
For positive values, apply a sharpening algorithm to the video, for
|
|
|
|
negative values a blurring algorithm (default: 0).
|
2013-07-08 16:02:14 +00:00
|
|
|
``denoise=<0-1>``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
Apply a noise reduction algorithm to the video (default: 0; no noise
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
reduction).
|
2013-07-08 16:02:14 +00:00
|
|
|
``deint=<-4-4>``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
2014-05-02 15:08:19 +00:00
|
|
|
Select deinterlacing mode (default: 0). In older versions (as well as
|
|
|
|
MPlayer/mplayer2) you could use this option to enable deinterlacing.
|
|
|
|
This doesn't work anymore, and deinterlacing is enabled with either
|
|
|
|
the ``D`` key (by default mapped to the command ``cycle deinterlace``),
|
|
|
|
or the ``--deinterlace`` option. Also, to select the default deint mode,
|
|
|
|
you should use something like ``--vf-defaults=vdpaupp:deint-mode=temporal``
|
|
|
|
instead of this sub-option.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
|
|
|
0
|
2014-05-02 15:08:19 +00:00
|
|
|
Pick the ``vdpaupp`` video filter default, which corresponds to 3.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
1
|
2013-07-08 16:02:14 +00:00
|
|
|
Show only first field.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
2
|
2013-07-08 16:02:14 +00:00
|
|
|
Bob deinterlacing.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
3
|
2013-07-08 16:02:14 +00:00
|
|
|
Motion-adaptive temporal deinterlacing. May lead to A/V desync
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
with slow video hardware and/or high resolution.
|
|
|
|
4
|
2013-07-08 16:02:14 +00:00
|
|
|
Motion-adaptive temporal deinterlacing with edge-guided spatial
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
interpolation. Needs fast video hardware.
|
2013-07-08 16:02:14 +00:00
|
|
|
``chroma-deint``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Makes temporal deinterlacers operate both on luma and chroma (default).
|
|
|
|
Use no-chroma-deint to solely use luma and speed up advanced
|
|
|
|
deinterlacing. Useful with slow video memory.
|
2013-07-08 16:02:14 +00:00
|
|
|
``pullup``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Try to apply inverse telecine, needs motion adaptive temporal
|
|
|
|
deinterlacing.
|
2013-07-08 16:02:14 +00:00
|
|
|
``hqscaling=<0-9>``
|
2014-05-02 14:57:39 +00:00
|
|
|
(Deprecated. See note about ``vdpaupp``.)
|
|
|
|
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
0
|
|
|
|
Use default VDPAU scaling (default).
|
|
|
|
1-9
|
|
|
|
Apply high quality VDPAU scaling (needs capable hardware).
|
2013-07-08 16:02:14 +00:00
|
|
|
``fps=<number>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Override autodetected display refresh rate value (the value is needed
|
|
|
|
for framedrop to allow video playback rates higher than display
|
|
|
|
refresh rate, and for vsync-aware frame timing adjustments). Default 0
|
|
|
|
means use autodetected value. A positive value is interpreted as a
|
|
|
|
refresh rate in Hz and overrides the autodetected value. A negative
|
|
|
|
value disables all timing adjustment and framedrop logic.
|
2013-07-08 16:02:14 +00:00
|
|
|
``composite-detect``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
NVIDIA's current VDPAU implementation behaves somewhat differently
|
|
|
|
under a compositing window manager and does not give accurate frame
|
|
|
|
timing information. With this option enabled, the player tries to
|
|
|
|
detect whether a compositing window manager is active. If one is
|
|
|
|
detected, the player disables timing adjustments as if the user had
|
2013-07-08 16:02:14 +00:00
|
|
|
specified ``fps=-1`` (as they would be based on incorrect input). This
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
means timing is somewhat less accurate than without compositing, but
|
2013-07-08 16:02:14 +00:00
|
|
|
with the composited mode behavior of the NVIDIA driver, there is no
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
hard playback speed limit even without the disabled logic. Enabled by
|
2013-07-08 16:02:14 +00:00
|
|
|
default, use ``no-composite-detect`` to disable.
|
|
|
|
``queuetime_windowed=<number>`` and ``queuetime_fs=<number>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Use VDPAU's presentation queue functionality to queue future video
|
|
|
|
frame changes at most this many milliseconds in advance (default: 50).
|
|
|
|
See below for additional information.
|
2013-07-08 16:02:14 +00:00
|
|
|
``output_surfaces=<2-15>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Allocate this many output surfaces to display video frames (default:
|
|
|
|
3). See below for additional information.
|
2013-08-17 17:57:18 +00:00
|
|
|
``colorkey=<#RRGGBB|#AARRGGBB>``
|
|
|
|
Set the VDPAU presentation queue background color, which in practice
|
|
|
|
is the colorkey used if VDPAU operates in overlay mode (default:
|
vo_vdpau: use color close to black as default colorkey (instead of green)
The VDPAU default colorkey, although it seems to be driver specific, is
usually green. This is a pretty annoying color, and you usually see it
briefly (as flashes) if the VDPAU window resizes.
Change it to some shade of black. The new default color is close to what
MPlayer picks as colorkey (and apparently it worked well for them):
VdpColor vdp_bg = {0.01, 0.02, 0.03, 0};
Since our OPT_COLOR can set 8 bit colors only, we use '#020507' instead,
which should be the same assuming 8 bit colors.
Obviously, you can't use black, because black is a way too common color,
and would make it too easy to observe the colorkey effect when e.g.
moving a terminal with black background over the video window.
2013-08-17 18:05:28 +00:00
|
|
|
``#020507``, some shade of black). If the alpha component of this value
|
|
|
|
is 0, the default VDPAU colorkey will be used instead (which is usually
|
|
|
|
green).
|
2013-08-18 03:12:21 +00:00
|
|
|
``force-yuv``
|
|
|
|
Never accept RGBA input. This means mpv will insert a filter to convert
|
|
|
|
to a YUV format before the VO. Sometimes useful to force availability
|
|
|
|
of certain YUV-only features, like video equalizer or deinterlacing.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2014-09-01 02:25:57 +00:00
|
|
|
Using the VDPAU frame queuing functionality controlled by the queuetime
|
2013-07-08 16:02:14 +00:00
|
|
|
options makes mpv's frame flip timing less sensitive to system CPU load and
|
|
|
|
allows mpv to start decoding the next frame(s) slightly earlier, which can
|
|
|
|
reduce jitter caused by individual slow-to-decode frames. However, the
|
|
|
|
NVIDIA graphics drivers can make other window behavior such as window moves
|
|
|
|
choppy if VDPAU is using the blit queue (mainly happens if you have the
|
|
|
|
composite extension enabled) and this feature is active. If this happens on
|
|
|
|
your system and it bothers you then you can set the queuetime value to 0 to
|
|
|
|
disable this feature. The settings to use in windowed and fullscreen mode
|
|
|
|
are separate because there should be no reason to disable this for
|
|
|
|
fullscreen mode (as the driver issue should not affect the video itself).
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
|
|
|
You can queue more frames ahead by increasing the queuetime values and the
|
2013-07-08 16:02:14 +00:00
|
|
|
``output_surfaces`` count (to ensure enough surfaces to buffer video for a
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
certain time ahead you need at least as many surfaces as the video has
|
|
|
|
frames during that time, plus two). This could help make video smoother in
|
|
|
|
some cases. The main downsides are increased video RAM requirements for
|
|
|
|
the surfaces and laggier display response to user commands (display
|
|
|
|
changes only become visible some time after they're queued). The graphics
|
|
|
|
driver implementation may also have limits on the length of maximum
|
|
|
|
queuing time or number of queued surfaces that work well or at all.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``direct3d_shaders`` (Windows only)
|
2012-08-07 21:53:14 +00:00
|
|
|
Video output driver that uses the Direct3D interface.
|
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with systems that don't provide
|
|
|
|
proper OpenGL drivers.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``prefer-stretchrect``
|
|
|
|
Use ``IDirect3DDevice9::StretchRect`` over other methods if possible.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``disable-stretchrect``
|
|
|
|
Never render the video using ``IDirect3DDevice9::StretchRect``.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``disable-textures``
|
|
|
|
Never render the video using D3D texture rendering. Rendering with
|
|
|
|
textures + shader will still be allowed. Add ``disable-shaders`` to
|
|
|
|
completely disable video rendering with textures.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``disable-shaders``
|
2012-08-07 21:53:14 +00:00
|
|
|
Never use shaders when rendering video.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``only-8bit``
|
2012-08-07 21:53:14 +00:00
|
|
|
Never render YUV video with more than 8 bits per component.
|
2013-07-08 16:02:14 +00:00
|
|
|
Using this flag will force software conversion to 8-bit.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``disable-texture-align``
|
2012-08-07 21:53:14 +00:00
|
|
|
Normally texture sizes are always aligned to 16. With this option
|
|
|
|
enabled, the video texture will always have exactly the same size as
|
|
|
|
the video itself.
|
|
|
|
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
Debug options. These might be incorrect, might be removed in the future,
|
|
|
|
might crash, might cause slow downs, etc. Contact the developers if you
|
|
|
|
actually need any of these for performance or proper operation.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``force-power-of-2``
|
2012-08-07 21:53:14 +00:00
|
|
|
Always force textures to power of 2, even if the device reports
|
|
|
|
non-power-of-2 texture sizes as supported.
|
|
|
|
|
2014-11-18 15:30:24 +00:00
|
|
|
``texture-memory=<mode>``
|
2012-08-07 21:53:14 +00:00
|
|
|
Only affects operation with shaders/texturing enabled, and (E)OSD.
|
2014-11-18 15:30:24 +00:00
|
|
|
Possible values:
|
|
|
|
|
|
|
|
``default`` (default)
|
|
|
|
Use ``D3DPOOL_DEFAULT``, with a ``D3DPOOL_SYSTEMMEM`` texture for
|
|
|
|
locking. If the driver supports ``D3DDEVCAPS_TEXTURESYSTEMMEMORY``,
|
|
|
|
``D3DPOOL_SYSTEMMEM`` is used directly.
|
|
|
|
|
|
|
|
``default-pool``
|
|
|
|
Use ``D3DPOOL_DEFAULT``. (Like ``default``, but never use a
|
|
|
|
shadow-texture.)
|
|
|
|
|
|
|
|
``default-pool-shadow``
|
|
|
|
Use ``D3DPOOL_DEFAULT``, with a ``D3DPOOL_SYSTEMMEM`` texture for
|
|
|
|
locking. (Like ``default``, but always force the shadow-texture.)
|
|
|
|
|
|
|
|
``managed``
|
|
|
|
Use ``D3DPOOL_MANAGED``.
|
|
|
|
|
|
|
|
``scratch``
|
|
|
|
Use ``D3DPOOL_SCRATCH``, with a ``D3DPOOL_SYSTEMMEM`` texture for
|
|
|
|
locking.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``swap-discard``
|
|
|
|
Use ``D3DSWAPEFFECT_DISCARD``, which might be faster.
|
|
|
|
Might be slower too, as it must(?) clear every frame.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``exact-backbuffer``
|
2012-08-07 21:53:14 +00:00
|
|
|
Always resize the backbuffer to window size.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``direct3d`` (Windows only)
|
2012-08-07 21:53:14 +00:00
|
|
|
Same as ``direct3d_shaders``, but with the options ``disable-textures``
|
|
|
|
and ``disable-shaders`` forced.
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with old systems.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``opengl``
|
2012-09-29 16:36:05 +00:00
|
|
|
OpenGL video output driver. It supports extended scaling methods, dithering
|
|
|
|
and color management.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2012-10-23 23:06:00 +00:00
|
|
|
By default, it tries to use fast and fail-safe settings. Use the alias
|
2012-11-15 13:25:20 +00:00
|
|
|
``opengl-hq`` to use this driver with defaults set to high quality
|
2012-10-23 23:06:00 +00:00
|
|
|
rendering.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
Requires at least OpenGL 2.1 and the ``GL_ARB_texture_rg`` extension. For
|
|
|
|
older drivers, ``opengl-old`` may work.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2012-10-14 21:58:49 +00:00
|
|
|
Some features are available with OpenGL 3 capable graphics drivers only
|
|
|
|
(or if the necessary extensions are available).
|
2012-10-02 23:54:13 +00:00
|
|
|
|
2013-11-03 23:00:18 +00:00
|
|
|
Hardware decoding over OpenGL-interop is supported to some degree. Note
|
|
|
|
that in this mode, some corner case might not be gracefully handled, and
|
2014-09-01 02:25:57 +00:00
|
|
|
color space conversion and chroma upsampling is generally in the hand of
|
2013-11-03 23:00:18 +00:00
|
|
|
the hardware decoder APIs.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lscale=<filter>``
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``bilinear``
|
2012-08-07 21:53:14 +00:00
|
|
|
Bilinear hardware texture filtering (fastest, mid-quality).
|
2012-10-14 21:58:49 +00:00
|
|
|
This is the default.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lanczos2``
|
2012-10-14 21:58:49 +00:00
|
|
|
Lanczos scaling with radius=2. Provides good quality and speed.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lanczos3``
|
2012-08-07 21:53:14 +00:00
|
|
|
Lanczos with radius=3.
|
|
|
|
|
2014-08-25 22:41:30 +00:00
|
|
|
``lanczos``
|
|
|
|
Generic Lanczos scaling filter. Set radius with ``lradius``.
|
|
|
|
|
2014-04-17 19:53:42 +00:00
|
|
|
``spline36``
|
|
|
|
This is the default when using ``opengl-hq``.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``bicubic_fast``
|
2012-08-07 21:53:14 +00:00
|
|
|
Bicubic filter. Has a blurring effect on the image, even if no
|
|
|
|
scaling is done.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sharpen3``
|
2012-08-07 21:53:14 +00:00
|
|
|
Unsharp masking (sharpening) with radius=3 and a default strength
|
|
|
|
of 0.5 (see ``lparam1``).
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sharpen5``
|
2012-08-07 21:53:14 +00:00
|
|
|
Unsharp masking (sharpening) with radius=5 and a default strength
|
|
|
|
of 0.5 (see ``lparam1``).
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``mitchell``
|
2012-08-07 21:53:14 +00:00
|
|
|
Mitchell-Netravali. The ``b`` and ``c`` parameters can be set with
|
|
|
|
``lparam1`` and ``lparam2``. Both are set to 1/3 by default.
|
|
|
|
|
2014-08-25 23:26:48 +00:00
|
|
|
``gaussian``
|
|
|
|
Gaussian filter with a parameter ``p`` for sharpness control.
|
|
|
|
``p`` can be set to float number between 1(blurry) and 100(sharp)
|
|
|
|
and has a default value of about 28.8 (see ``lparam1``).
|
|
|
|
|
|
|
|
Note that for extremely small value of ``p``, a large filter radius
|
|
|
|
might be required to avoid unintended artifacts (see ``lradius``).
|
|
|
|
|
2013-07-22 00:14:15 +00:00
|
|
|
|
|
|
|
There are some more filters. For a complete list, pass ``help`` as
|
2013-09-08 10:02:30 +00:00
|
|
|
value, e.g.::
|
|
|
|
|
|
|
|
mpv --vo=opengl:lscale=help
|
2013-07-22 00:14:15 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lparam1=<value>``
|
2012-08-07 21:53:14 +00:00
|
|
|
Set filter parameters. Ignored if the filter is not tunable. These are
|
|
|
|
unset by default, and use the filter specific default if applicable.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lparam2=<value>``
|
2012-08-07 21:53:14 +00:00
|
|
|
See ``lparam1``.
|
|
|
|
|
2014-08-25 22:41:30 +00:00
|
|
|
``lradius=<r>``
|
|
|
|
Set radius for filters listed below, must be a float number between 1.0
|
|
|
|
and 8.0. Defaults to be 2.0 if not specified.
|
|
|
|
|
2014-08-25 23:26:48 +00:00
|
|
|
``sinc``, ``lanczos``, ``blackman``, ``gaussian``
|
2014-08-25 22:41:30 +00:00
|
|
|
|
|
|
|
Note that depending on filter implementation details and video scaling
|
|
|
|
ratio, the radius that actually being used might be different
|
|
|
|
(most likely being increased a bit).
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``scaler-resizes-only``
|
2013-05-25 21:47:55 +00:00
|
|
|
Disable the scaler if the video image is not resized. In that case,
|
|
|
|
``bilinear`` is used instead whatever is set with ``lscale``. Bilinear
|
|
|
|
will reproduce the source image perfectly if no scaling is performed.
|
|
|
|
Note that this option never affects ``cscale``, although the different
|
|
|
|
processing chain might do chroma scaling differently if ``lscale`` is
|
|
|
|
disabled.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``stereo=<value>``
|
2014-04-24 16:10:20 +00:00
|
|
|
Select a method for stereo display. You may have to use
|
|
|
|
``--video-aspect`` to fix the aspect value. Experimental, do not expect
|
|
|
|
too much from it.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-22 00:14:15 +00:00
|
|
|
no
|
2012-08-07 21:53:14 +00:00
|
|
|
Normal 2D display
|
2013-07-22 00:14:15 +00:00
|
|
|
red-cyan
|
2012-08-07 21:53:14 +00:00
|
|
|
Convert side by side input to full-color red-cyan stereo.
|
2013-07-22 00:14:15 +00:00
|
|
|
green-magenta
|
2012-08-07 21:53:14 +00:00
|
|
|
Convert side by side input to full-color green-magenta stereo.
|
2013-07-22 00:14:15 +00:00
|
|
|
quadbuffer
|
2014-09-01 02:25:57 +00:00
|
|
|
Convert side by side input to quad buffered stereo. Only supported
|
2012-08-07 21:53:14 +00:00
|
|
|
by very few OpenGL cards.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``srgb``
|
vo_opengl: Simplify and clarify color correction code
This commit:
- Changes some of the #define and variable names for clarification and
adds comments where appropriate.
- Unifies :srgb and :icc-profile, making them fit into the same step of
the decoding process and removing the weird interactions between both
of them.
- Makes :icc-profile take precedence over :srgb (to significantly reduce
the number of confusing and useless special cases)
- Moves BT709 decompanding (approximate or actual) to the shader in all
cases, making it happen before upscaling (instead of the old 0.45
gamma function). This is the simpler and more proper way to do it.
- Enables the approx gamma function to work with :srgb as well due to
this (since they now share the gamma expansion code).
- Renames :icc-approx-gamma to :approx-gamma since it is no longer tied
to the ICC options or LittleCMS.
- Uses gamma 2.4 as input space for the actual 3DLUT, this is now a
pretty arbitrary factor but I picked 2.4 mainly because a higher pure
power value here seems to produce visually better results with wide
gamut profiles, rather then the previous 1.95 or BT.709.
- Adds the input gamma space to the 3dlut cache header in case we change
it more in the future, or even make it user customizable (though I
don't see why the latter would really be necessary).
- Fixes the OSD's gamma when using :srgb, which was previously still
using the old (0.45) approximation in all cases.
- Updates documentation on :srgb, it was still mentioning the old
behavior from circa a year ago.
This commit should serve to both open up and make the CMS/shader code much
more accessible and less confusing/error-prone and simultaneously also
improve the performance of 3DLUTs with wide gamut color spaces.
I would liked to have made it more modular but almost all of these
changes are interdependent, save for the documentation updates.
Note: Right now, the "3DLUT takes precedence over SRGB" logic is just
coded into gl_lcms.c's compile_shaders function. Ideally, this should be
done earlier, when parsing the options (by overriding the actual
opts.srgb flag) and output a warning to the user.
Note: I'm not sure how well this works together with real-world
subtitles that may need to be color corrected as well. I'm not sure
whether :approx-gamma needs to apply to subtitles as well. I'll need to
test this on proper files later.
Note: As of now, linear light scaling is still intrinsically tied to
either :srgb or :icc-profile. It would be thinkable to have this as an
extra option, :linear-scaling or similar, that could be used with or
without the two color management options.
2014-03-05 02:56:30 +00:00
|
|
|
Convert and color correct the output to sRGB before displaying it on
|
|
|
|
the screen. This option enables linear light scaling. It also forces
|
|
|
|
the options ``indirect`` and ``gamma``.
|
2013-07-08 16:02:14 +00:00
|
|
|
|
vo_opengl: Simplify and clarify color correction code
This commit:
- Changes some of the #define and variable names for clarification and
adds comments where appropriate.
- Unifies :srgb and :icc-profile, making them fit into the same step of
the decoding process and removing the weird interactions between both
of them.
- Makes :icc-profile take precedence over :srgb (to significantly reduce
the number of confusing and useless special cases)
- Moves BT709 decompanding (approximate or actual) to the shader in all
cases, making it happen before upscaling (instead of the old 0.45
gamma function). This is the simpler and more proper way to do it.
- Enables the approx gamma function to work with :srgb as well due to
this (since they now share the gamma expansion code).
- Renames :icc-approx-gamma to :approx-gamma since it is no longer tied
to the ICC options or LittleCMS.
- Uses gamma 2.4 as input space for the actual 3DLUT, this is now a
pretty arbitrary factor but I picked 2.4 mainly because a higher pure
power value here seems to produce visually better results with wide
gamut profiles, rather then the previous 1.95 or BT.709.
- Adds the input gamma space to the 3dlut cache header in case we change
it more in the future, or even make it user customizable (though I
don't see why the latter would really be necessary).
- Fixes the OSD's gamma when using :srgb, which was previously still
using the old (0.45) approximation in all cases.
- Updates documentation on :srgb, it was still mentioning the old
behavior from circa a year ago.
This commit should serve to both open up and make the CMS/shader code much
more accessible and less confusing/error-prone and simultaneously also
improve the performance of 3DLUTs with wide gamut color spaces.
I would liked to have made it more modular but almost all of these
changes are interdependent, save for the documentation updates.
Note: Right now, the "3DLUT takes precedence over SRGB" logic is just
coded into gl_lcms.c's compile_shaders function. Ideally, this should be
done earlier, when parsing the options (by overriding the actual
opts.srgb flag) and output a warning to the user.
Note: I'm not sure how well this works together with real-world
subtitles that may need to be color corrected as well. I'm not sure
whether :approx-gamma needs to apply to subtitles as well. I'll need to
test this on proper files later.
Note: As of now, linear light scaling is still intrinsically tied to
either :srgb or :icc-profile. It would be thinkable to have this as an
extra option, :linear-scaling or similar, that could be used with or
without the two color management options.
2014-03-05 02:56:30 +00:00
|
|
|
This option is equivalent to using ``icc-profile`` with an sRGB ICC
|
|
|
|
profile, but it is implemented without a 3DLUT and does not require
|
|
|
|
LittleCMS 2. If both ``srgb`` and ``icc-profile`` are present, the
|
|
|
|
latter takes precedence, as they are somewhat redundant.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2014-03-26 00:46:38 +00:00
|
|
|
Note: When playing back BT.2020 content with this option enabled, out
|
|
|
|
of gamut colors will be numerically clipped, which can potentially
|
|
|
|
change the hue and/or luminance. If this is not desired, it is
|
|
|
|
recommended to use ``icc-profile`` with an sRGB ICC profile instead,
|
|
|
|
when playing back wide-gamut BT.2020 content.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``pbo``
|
2013-10-23 15:50:49 +00:00
|
|
|
Enable use of PBOs. This is slightly faster, but can sometimes lead to
|
|
|
|
sporadic and temporary image corruption (in theory, because reupload
|
|
|
|
is not retried when it fails), and perhaps actually triggers slower
|
|
|
|
paths with drivers that don't support PBOs properly.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``dither-depth=<N|no|auto>``
|
2013-04-18 21:41:32 +00:00
|
|
|
Set dither target depth to N. Default: no.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-03-28 20:39:17 +00:00
|
|
|
no
|
2012-10-11 00:04:08 +00:00
|
|
|
Disable any dithering done by mpv.
|
2013-03-28 20:39:17 +00:00
|
|
|
auto
|
2013-07-08 16:02:14 +00:00
|
|
|
Automatic selection. If output bit depth cannot be detected,
|
2012-08-07 21:53:14 +00:00
|
|
|
8 bits per component are assumed.
|
|
|
|
8
|
|
|
|
Dither to 8 bit output.
|
|
|
|
|
|
|
|
Note that the depth of the connected video display device can not be
|
|
|
|
detected. Often, LCD panels will do dithering on their own, which
|
2013-07-08 16:02:14 +00:00
|
|
|
conflicts with ``opengl``'s dithering and leads to ugly output.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``dither-size-fruit=<2-8>``
|
2013-05-25 23:48:39 +00:00
|
|
|
Set the size of the dither matrix (default: 6). The actual size of
|
2013-05-27 21:41:37 +00:00
|
|
|
the matrix is ``(2^N) x (2^N)`` for an option value of ``N``, so a
|
2013-05-25 23:48:39 +00:00
|
|
|
value of 6 gives a size of 64x64. The matrix is generated at startup
|
|
|
|
time, and a large matrix can take rather long to compute (seconds).
|
|
|
|
|
2013-05-26 17:37:59 +00:00
|
|
|
Used in ``dither=fruit`` mode only.
|
2013-05-25 23:48:39 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``dither=<fruit|ordered|no>``
|
2013-05-25 23:48:39 +00:00
|
|
|
Select dithering algorithm (default: fruit).
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``temporal-dither``
|
2013-05-25 23:48:39 +00:00
|
|
|
Enable temporal dithering. (Only active if dithering is enabled in
|
|
|
|
general.) This changes between 8 different dithering pattern on each
|
|
|
|
frame by changing the orientation of the tiled dithering matrix.
|
|
|
|
Unfortunately, this can lead to flicker on LCD displays, since these
|
|
|
|
have a high reaction time.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``debug``
|
|
|
|
Check for OpenGL errors, i.e. call ``glGetError()``. Also request a
|
2012-08-07 21:53:14 +00:00
|
|
|
debug OpenGL context (which does nothing with current graphics drivers
|
|
|
|
as of this writing).
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``swapinterval=<n>``
|
2012-08-22 13:45:34 +00:00
|
|
|
Interval in displayed frames between two buffer swaps.
|
2012-08-07 21:53:14 +00:00
|
|
|
1 is equivalent to enable VSYNC, 0 to disable VSYNC.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``no-scale-sep``
|
2012-08-07 21:53:14 +00:00
|
|
|
When using a separable scale filter for luma, usually two filter
|
|
|
|
passes are done. This is often faster. However, it forces
|
|
|
|
conversion to RGB in an extra pass, so it can actually be slower
|
|
|
|
if used with fast filters on small screen resolutions. Using
|
|
|
|
this options will make rendering a single operation.
|
|
|
|
Note that chroma scalers are always done as 1-pass filters.
|
|
|
|
|
2014-11-14 14:22:37 +00:00
|
|
|
``cscale=<filter>``
|
2013-07-08 16:02:14 +00:00
|
|
|
As ``lscale``, but for chroma (2x slower with little visible effect).
|
2012-08-07 21:53:14 +00:00
|
|
|
Note that with some scaling filters, upscaling is always done in
|
|
|
|
RGB. If chroma is not subsampled, this option is ignored, and the
|
|
|
|
luma scaler is used instead. Setting this option is often useless.
|
|
|
|
|
2014-11-14 14:22:37 +00:00
|
|
|
``lscale-down=<filter>``, ``cscale-down=<filter>``
|
|
|
|
Like ``lscale`` and ``cscale``, but apply these filters on downscaling
|
|
|
|
instead. If these options are unset, the filter implied by ``lscale``
|
|
|
|
(and ``cscale``, respectively) will be applied.
|
|
|
|
|
2014-08-25 22:41:30 +00:00
|
|
|
``cparam1``, ``cparam2``, ``cradius``
|
|
|
|
Set filter parameters and radius for ``cscale``.
|
2014-08-25 20:36:48 +00:00
|
|
|
|
2014-08-25 22:41:30 +00:00
|
|
|
See ``lparam1``, ``lparam2`` and ``lradius``.
|
2014-08-25 20:36:48 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``fancy-downscaling``
|
2012-09-29 16:36:05 +00:00
|
|
|
When using convolution based filters, extend the filter size
|
|
|
|
when downscaling. Trades quality for reduced downscaling performance.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``no-npot``
|
2012-08-07 21:53:14 +00:00
|
|
|
Force use of power-of-2 texture sizes. For debugging only.
|
|
|
|
Borders will be distorted due to filtering.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``glfinish``
|
2014-08-15 21:36:02 +00:00
|
|
|
Call ``glFinish()`` before and after swapping buffers (default: disabled).
|
|
|
|
Slower, but might help getting better results when doing framedropping.
|
|
|
|
The details depend entirely on the OpenGL driver.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2014-08-15 21:36:13 +00:00
|
|
|
``waitvsync``
|
|
|
|
Call ``glXWaitVideoSyncSGI`` after each buffer swap (default: disabled).
|
|
|
|
This may or may not help with video timing accuracy and frame drop. It's
|
|
|
|
possible that this makes video output slower, or has no effect at all.
|
|
|
|
|
|
|
|
X11 only.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sw``
|
2012-10-02 23:54:13 +00:00
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``backend=<sys>``
|
2013-07-22 00:14:15 +00:00
|
|
|
The value ``auto`` (the default) selects the windowing backend. You
|
|
|
|
can also pass ``help`` to get a complete list of compiled in backends
|
|
|
|
(sorted by autoprobe order).
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
auto
|
|
|
|
auto-select (default)
|
|
|
|
cocoa
|
2014-09-01 02:25:57 +00:00
|
|
|
Cocoa/OS X
|
2012-08-07 21:53:14 +00:00
|
|
|
win
|
|
|
|
Win32/WGL
|
|
|
|
x11
|
|
|
|
X11/GLX
|
2013-02-28 18:55:02 +00:00
|
|
|
wayland
|
|
|
|
Wayland/EGL
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``indirect``
|
|
|
|
Do YUV conversion and scaling as separate passes. This will first render
|
|
|
|
the video into a video-sized RGB texture, and draw the result on screen.
|
|
|
|
The luma scaler is used to scale the RGB image when rendering to screen.
|
|
|
|
The chroma scaler is used only on YUV conversion, and only if the video
|
|
|
|
is chroma-subsampled (usually the case).
|
2012-08-07 21:53:14 +00:00
|
|
|
This mechanism is disabled on RGB input.
|
2012-10-14 21:58:49 +00:00
|
|
|
Specifying this option directly is generally useful for debugging only.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``fbo-format=<fmt>``
|
2012-10-14 21:58:49 +00:00
|
|
|
Selects the internal format of textures used for FBOs. The format can
|
|
|
|
influence performance and quality of the video output. (FBOs are not
|
|
|
|
always used, and typically only when using extended scalers.)
|
2013-10-23 15:46:57 +00:00
|
|
|
``fmt`` can be one of: rgb, rgba, rgb8, rgb10, rgb10_a2, rgb16, rgb16f,
|
|
|
|
rgb32f, rgba12, rgba16, rgba16f, rgba32f.
|
2012-09-30 10:12:01 +00:00
|
|
|
Default: rgb.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2014-02-26 23:53:41 +00:00
|
|
|
``gamma=<0.0..10.0>``
|
|
|
|
Set a gamma value. If gamma is adjusted in other ways (like with
|
2014-09-01 02:25:57 +00:00
|
|
|
the ``--gamma`` option or key bindings and the ``gamma`` property), the
|
2014-02-26 23:53:41 +00:00
|
|
|
value is multiplied with the other gamma value.
|
|
|
|
|
|
|
|
Setting this value to 1.0 can be used to always enable gamma control.
|
|
|
|
(Disables delayed enabling.)
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``icc-profile=<file>``
|
|
|
|
Load an ICC profile and use it to transform linear RGB to screen output.
|
2014-09-01 02:25:57 +00:00
|
|
|
Needs LittleCMS 2 support compiled in. This option overrides the ``srgb``
|
vo_opengl: Simplify and clarify color correction code
This commit:
- Changes some of the #define and variable names for clarification and
adds comments where appropriate.
- Unifies :srgb and :icc-profile, making them fit into the same step of
the decoding process and removing the weird interactions between both
of them.
- Makes :icc-profile take precedence over :srgb (to significantly reduce
the number of confusing and useless special cases)
- Moves BT709 decompanding (approximate or actual) to the shader in all
cases, making it happen before upscaling (instead of the old 0.45
gamma function). This is the simpler and more proper way to do it.
- Enables the approx gamma function to work with :srgb as well due to
this (since they now share the gamma expansion code).
- Renames :icc-approx-gamma to :approx-gamma since it is no longer tied
to the ICC options or LittleCMS.
- Uses gamma 2.4 as input space for the actual 3DLUT, this is now a
pretty arbitrary factor but I picked 2.4 mainly because a higher pure
power value here seems to produce visually better results with wide
gamut profiles, rather then the previous 1.95 or BT.709.
- Adds the input gamma space to the 3dlut cache header in case we change
it more in the future, or even make it user customizable (though I
don't see why the latter would really be necessary).
- Fixes the OSD's gamma when using :srgb, which was previously still
using the old (0.45) approximation in all cases.
- Updates documentation on :srgb, it was still mentioning the old
behavior from circa a year ago.
This commit should serve to both open up and make the CMS/shader code much
more accessible and less confusing/error-prone and simultaneously also
improve the performance of 3DLUTs with wide gamut color spaces.
I would liked to have made it more modular but almost all of these
changes are interdependent, save for the documentation updates.
Note: Right now, the "3DLUT takes precedence over SRGB" logic is just
coded into gl_lcms.c's compile_shaders function. Ideally, this should be
done earlier, when parsing the options (by overriding the actual
opts.srgb flag) and output a warning to the user.
Note: I'm not sure how well this works together with real-world
subtitles that may need to be color corrected as well. I'm not sure
whether :approx-gamma needs to apply to subtitles as well. I'll need to
test this on proper files later.
Note: As of now, linear light scaling is still intrinsically tied to
either :srgb or :icc-profile. It would be thinkable to have this as an
extra option, :linear-scaling or similar, that could be used with or
without the two color management options.
2014-03-05 02:56:30 +00:00
|
|
|
property, as using both is somewhat redundant. It also enables linear
|
|
|
|
light scaling.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2014-02-24 23:04:30 +00:00
|
|
|
|
|
|
|
``icc-profile-auto``
|
|
|
|
Automatically select the ICC display profile currently specified by
|
|
|
|
the display settings of the operating system.
|
|
|
|
|
|
|
|
NOTE: Only implemented on OS X with Cocoa.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``icc-cache=<file>``
|
|
|
|
Store and load the 3D LUT created from the ICC profile in this file.
|
2014-09-01 02:25:57 +00:00
|
|
|
This can be used to speed up loading, since LittleCMS 2 can take a while
|
2013-07-08 16:02:14 +00:00
|
|
|
to create the 3D LUT. Note that this file contains an uncompressed LUT.
|
|
|
|
Its size depends on the ``3dlut-size``, and can be very big.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``icc-intent=<value>``
|
2014-09-01 02:25:57 +00:00
|
|
|
Specifies the ICC Intent used for transformations between color spaces.
|
2014-03-31 22:17:07 +00:00
|
|
|
This affects the rendering when using ``icc-profile`` or ``srgb`` and
|
|
|
|
also affects the way DCP XYZ content gets converted to RGB.
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
0
|
|
|
|
perceptual
|
|
|
|
1
|
2014-02-26 21:58:48 +00:00
|
|
|
relative colorimetric (default)
|
2012-08-07 21:53:14 +00:00
|
|
|
2
|
|
|
|
saturation
|
|
|
|
3
|
2014-02-26 21:58:48 +00:00
|
|
|
absolute colorimetric
|
2012-08-07 21:53:14 +00:00
|
|
|
|
vo_opengl: Simplify and clarify color correction code
This commit:
- Changes some of the #define and variable names for clarification and
adds comments where appropriate.
- Unifies :srgb and :icc-profile, making them fit into the same step of
the decoding process and removing the weird interactions between both
of them.
- Makes :icc-profile take precedence over :srgb (to significantly reduce
the number of confusing and useless special cases)
- Moves BT709 decompanding (approximate or actual) to the shader in all
cases, making it happen before upscaling (instead of the old 0.45
gamma function). This is the simpler and more proper way to do it.
- Enables the approx gamma function to work with :srgb as well due to
this (since they now share the gamma expansion code).
- Renames :icc-approx-gamma to :approx-gamma since it is no longer tied
to the ICC options or LittleCMS.
- Uses gamma 2.4 as input space for the actual 3DLUT, this is now a
pretty arbitrary factor but I picked 2.4 mainly because a higher pure
power value here seems to produce visually better results with wide
gamut profiles, rather then the previous 1.95 or BT.709.
- Adds the input gamma space to the 3dlut cache header in case we change
it more in the future, or even make it user customizable (though I
don't see why the latter would really be necessary).
- Fixes the OSD's gamma when using :srgb, which was previously still
using the old (0.45) approximation in all cases.
- Updates documentation on :srgb, it was still mentioning the old
behavior from circa a year ago.
This commit should serve to both open up and make the CMS/shader code much
more accessible and less confusing/error-prone and simultaneously also
improve the performance of 3DLUTs with wide gamut color spaces.
I would liked to have made it more modular but almost all of these
changes are interdependent, save for the documentation updates.
Note: Right now, the "3DLUT takes precedence over SRGB" logic is just
coded into gl_lcms.c's compile_shaders function. Ideally, this should be
done earlier, when parsing the options (by overriding the actual
opts.srgb flag) and output a warning to the user.
Note: I'm not sure how well this works together with real-world
subtitles that may need to be color corrected as well. I'm not sure
whether :approx-gamma needs to apply to subtitles as well. I'll need to
test this on proper files later.
Note: As of now, linear light scaling is still intrinsically tied to
either :srgb or :icc-profile. It would be thinkable to have this as an
extra option, :linear-scaling or similar, that could be used with or
without the two color management options.
2014-03-05 02:56:30 +00:00
|
|
|
``approx-gamma``
|
2014-03-25 17:45:08 +00:00
|
|
|
Approximate the actual gamma function as a pure power curve of
|
2014-02-25 12:51:25 +00:00
|
|
|
1.95. A number of video editing programs and studios apparently use this
|
|
|
|
for mastering instead of the true curve. Most notably, anything in the
|
|
|
|
Apple ecosystem uses this approximation - including all programs
|
|
|
|
compatible with it. It's a sound idea to try enabling this flag first
|
2014-07-26 20:38:48 +00:00
|
|
|
when watching videos and shows to see if things look better that way.
|
2014-02-24 12:39:39 +00:00
|
|
|
|
2014-03-25 17:45:08 +00:00
|
|
|
This only affects the output when using either ``icc-profile`` or ``srgb``.
|
vo_opengl: Simplify and clarify color correction code
This commit:
- Changes some of the #define and variable names for clarification and
adds comments where appropriate.
- Unifies :srgb and :icc-profile, making them fit into the same step of
the decoding process and removing the weird interactions between both
of them.
- Makes :icc-profile take precedence over :srgb (to significantly reduce
the number of confusing and useless special cases)
- Moves BT709 decompanding (approximate or actual) to the shader in all
cases, making it happen before upscaling (instead of the old 0.45
gamma function). This is the simpler and more proper way to do it.
- Enables the approx gamma function to work with :srgb as well due to
this (since they now share the gamma expansion code).
- Renames :icc-approx-gamma to :approx-gamma since it is no longer tied
to the ICC options or LittleCMS.
- Uses gamma 2.4 as input space for the actual 3DLUT, this is now a
pretty arbitrary factor but I picked 2.4 mainly because a higher pure
power value here seems to produce visually better results with wide
gamut profiles, rather then the previous 1.95 or BT.709.
- Adds the input gamma space to the 3dlut cache header in case we change
it more in the future, or even make it user customizable (though I
don't see why the latter would really be necessary).
- Fixes the OSD's gamma when using :srgb, which was previously still
using the old (0.45) approximation in all cases.
- Updates documentation on :srgb, it was still mentioning the old
behavior from circa a year ago.
This commit should serve to both open up and make the CMS/shader code much
more accessible and less confusing/error-prone and simultaneously also
improve the performance of 3DLUTs with wide gamut color spaces.
I would liked to have made it more modular but almost all of these
changes are interdependent, save for the documentation updates.
Note: Right now, the "3DLUT takes precedence over SRGB" logic is just
coded into gl_lcms.c's compile_shaders function. Ideally, this should be
done earlier, when parsing the options (by overriding the actual
opts.srgb flag) and output a warning to the user.
Note: I'm not sure how well this works together with real-world
subtitles that may need to be color corrected as well. I'm not sure
whether :approx-gamma needs to apply to subtitles as well. I'll need to
test this on proper files later.
Note: As of now, linear light scaling is still intrinsically tied to
either :srgb or :icc-profile. It would be thinkable to have this as an
extra option, :linear-scaling or similar, that could be used with or
without the two color management options.
2014-03-05 02:56:30 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``3dlut-size=<r>x<g>x<b>``
|
|
|
|
Size of the 3D LUT generated from the ICC profile in each dimension.
|
|
|
|
Default is 128x256x64.
|
2014-03-26 00:46:38 +00:00
|
|
|
Sizes must be a power of two, and 512 at most.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-09-19 14:55:56 +00:00
|
|
|
``alpha=<blend|yes|no>``
|
|
|
|
Decides what to do if the input has an alpha component (default: blend).
|
|
|
|
|
|
|
|
blend
|
|
|
|
Blend the frame against a black background.
|
|
|
|
yes
|
|
|
|
Try to create a framebuffer with alpha component. This only makes sense
|
|
|
|
if the video contains alpha information (which is extremely rare). May
|
|
|
|
not be supported on all platforms. If alpha framebuffers are
|
|
|
|
unavailable, it silently falls back on a normal framebuffer. Note
|
|
|
|
that when using FBO indirections (such as with ``opengl-hq``), an FBO
|
|
|
|
format with alpha must be specified with the ``fbo-format`` option.
|
|
|
|
no
|
|
|
|
Ignore alpha component.
|
2013-03-28 20:44:27 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``chroma-location=<auto|center|left>``
|
vo_opengl: handle chroma location
Use the video decoder chroma location flags and render chroma locations
other than centered. Until now, we've always used the intuitive and
obvious centered chroma location, but H.264 uses something else.
FFmpeg provides a small overview in libavcodec/avcodec.h:
-----------
/**
* X X 3 4 X X are luma samples,
* 1 2 1-6 are possible chroma positions
* X X 5 6 X 0 is undefined/unknown position
*/
enum AVChromaLocation{
AVCHROMA_LOC_UNSPECIFIED = 0,
AVCHROMA_LOC_LEFT = 1, ///< mpeg2/4, h264 default
AVCHROMA_LOC_CENTER = 2, ///< mpeg1, jpeg, h263
AVCHROMA_LOC_TOPLEFT = 3, ///< DV
AVCHROMA_LOC_TOP = 4,
AVCHROMA_LOC_BOTTOMLEFT = 5,
AVCHROMA_LOC_BOTTOM = 6,
AVCHROMA_LOC_NB , ///< Not part of ABI
};
-----------
The visual difference is literally minimal, but since videophiles
apparently consider this detail as quality mark of a video renderer,
support it anyway. We don't bother with chroma locations other than
centered and left, though.
Not sure about correctness, but it's probably ok.
2013-06-08 00:15:24 +00:00
|
|
|
Set the YUV chroma sample location. auto means use the bitstream
|
|
|
|
flags (default: auto).
|
|
|
|
|
2013-12-01 22:39:13 +00:00
|
|
|
``rectangle-textures``
|
|
|
|
Force use of rectangle textures (default: no). Normally this shouldn't
|
|
|
|
have any advantages over normal textures. Note that hardware decoding
|
|
|
|
overrides this flag.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``opengl-hq``
|
2012-09-29 16:36:05 +00:00
|
|
|
Same as ``opengl``, but with default settings for high quality rendering.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
This is equivalent to::
|
2012-09-29 16:36:05 +00:00
|
|
|
|
2014-08-18 00:05:06 +00:00
|
|
|
--vo=opengl:lscale=spline36:dither-depth=auto:fbo-format=rgba16
|
2012-09-29 16:36:05 +00:00
|
|
|
|
|
|
|
Note that some cheaper LCDs do dithering that gravely interferes with
|
2013-07-08 16:02:14 +00:00
|
|
|
``opengl``'s dithering. Disabling dithering with ``dither-depth=no`` helps.
|
2012-09-29 16:36:05 +00:00
|
|
|
|
2012-10-14 21:58:49 +00:00
|
|
|
Unlike ``opengl``, ``opengl-hq`` makes use of FBOs by default. Sometimes you
|
2013-07-08 16:02:14 +00:00
|
|
|
can achieve better quality or performance by changing the ``fbo-format``
|
|
|
|
suboption to ``rgb16f``, ``rgb32f`` or ``rgb``. Known problems include
|
2012-10-14 21:58:49 +00:00
|
|
|
Mesa/Intel not accepting ``rgb16``, Mesa sometimes not being compiled with
|
2014-09-01 02:25:57 +00:00
|
|
|
float texture support, and some OS X setups being very slow with ``rgb16``
|
2013-07-08 16:02:14 +00:00
|
|
|
but fast with ``rgb32f``.
|
2012-09-29 16:36:05 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``opengl-old``
|
2012-09-23 14:10:00 +00:00
|
|
|
OpenGL video output driver, old version. Video size must be smaller
|
|
|
|
than the maximum texture size of your OpenGL implementation. Intended to
|
|
|
|
work even with the most basic OpenGL implementations, but also makes use
|
2013-07-08 16:02:14 +00:00
|
|
|
of newer extensions which allow support for more color spaces.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
|
|
|
The code performs very few checks, so if a feature does not work, this
|
2013-07-08 16:02:14 +00:00
|
|
|
might be because it is not supported by your card and/or OpenGL
|
|
|
|
implementation, even if you do not get any error message. Use ``glxinfo``
|
|
|
|
or a similar tool to display the supported OpenGL extensions.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with old systems.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)ati-hack``
|
2012-09-23 14:10:00 +00:00
|
|
|
ATI drivers may give a corrupted image when PBOs are used (when using
|
2013-07-08 16:02:14 +00:00
|
|
|
``force-pbo``). This option fixes this, at the expense of using a bit
|
|
|
|
more memory.
|
|
|
|
``(no-)force-pbo``
|
2012-09-23 14:10:00 +00:00
|
|
|
Always uses PBOs to transfer textures even if this involves an extra
|
2013-07-08 16:02:14 +00:00
|
|
|
copy. Currently this gives a little extra speed with NVIDIA drivers
|
|
|
|
and a lot more speed with ATI drivers. May need the ``ati-hack``
|
|
|
|
suboption to work correctly.
|
|
|
|
``(no-)scaled-osd``
|
|
|
|
Scales the OSD and subtitles instead of rendering them at display size
|
|
|
|
(default: disabled).
|
|
|
|
``rectangle=<0,1,2>``
|
|
|
|
Select usage of rectangular textures, which saves video RAM, but often
|
2012-09-23 14:10:00 +00:00
|
|
|
is slower (default: 0).
|
|
|
|
|
|
|
|
0
|
|
|
|
Use power-of-two textures (default).
|
|
|
|
1
|
|
|
|
Use the ``GL_ARB_texture_rectangle`` extension.
|
|
|
|
2
|
|
|
|
Use the ``GL_ARB_texture_non_power_of_two`` extension. In some
|
|
|
|
cases only supported in software and thus very slow.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``swapinterval=<n>``
|
2012-09-23 14:10:00 +00:00
|
|
|
Minimum interval between two buffer swaps, counted in displayed frames
|
|
|
|
(default: 1). 1 is equivalent to enabling VSYNC, 0 to disabling VSYNC.
|
|
|
|
Values below 0 will leave it at the system default. This limits the
|
|
|
|
framerate to (horizontal refresh rate / n). Requires
|
|
|
|
``GLX_SGI_swap_control`` support to work. With some (most/all?)
|
|
|
|
implementations this only works in fullscreen mode.
|
2013-07-08 16:02:14 +00:00
|
|
|
``ycbcr``
|
2012-09-23 14:10:00 +00:00
|
|
|
Use the ``GL_MESA_ycbcr_texture`` extension to convert YUV to RGB. In
|
|
|
|
most cases this is probably slower than doing software conversion to
|
|
|
|
RGB.
|
2013-07-08 16:02:14 +00:00
|
|
|
``yuv=<n>``
|
2012-09-23 14:10:00 +00:00
|
|
|
Select the type of YUV to RGB conversion. The default is
|
|
|
|
auto-detection deciding between values 0 and 2.
|
|
|
|
|
|
|
|
0
|
|
|
|
Use software conversion. Compatible with all OpenGL versions.
|
|
|
|
Provides brightness, contrast and saturation control.
|
|
|
|
1
|
2013-07-08 16:02:14 +00:00
|
|
|
Same as 2. This used to use NVIDIA-specific extensions, which
|
|
|
|
did not provide any advantages over using fragment programs, except
|
|
|
|
possibly on very ancient graphics cards. It produced a gray-ish
|
2012-09-23 14:10:00 +00:00
|
|
|
output, which is why it has been removed.
|
|
|
|
2
|
|
|
|
Use a fragment program. Needs the ``GL_ARB_fragment_program``
|
|
|
|
extension and at least three texture units. Provides brightness,
|
|
|
|
contrast, saturation and hue control.
|
|
|
|
3
|
2013-07-08 16:02:14 +00:00
|
|
|
Use a fragment program using the ``POW`` instruction. Needs the
|
2012-09-23 14:10:00 +00:00
|
|
|
``GL_ARB_fragment_program`` extension and at least three texture
|
|
|
|
units. Provides brightness, contrast, saturation, hue and gamma
|
|
|
|
control. Gamma can also be set independently for red, green and
|
|
|
|
blue. Method 4 is usually faster.
|
|
|
|
4
|
|
|
|
Use a fragment program with additional lookup. Needs the
|
|
|
|
``GL_ARB_fragment_program`` extension and at least four texture
|
|
|
|
units. Provides brightness, contrast, saturation, hue and gamma
|
|
|
|
control. Gamma can also be set independently for red, green and
|
|
|
|
blue.
|
|
|
|
5
|
|
|
|
Use ATI-specific method (for older cards). This uses an
|
|
|
|
ATI-specific extension (``GL_ATI_fragment_shader`` - not
|
|
|
|
``GL_ARB_fragment_shader``!). At least three texture units are
|
|
|
|
needed. Provides saturation and hue control. This method is fast
|
|
|
|
but inexact.
|
|
|
|
6
|
|
|
|
Use a 3D texture to do conversion via lookup. Needs the
|
|
|
|
``GL_ARB_fragment_program extension`` and at least four texture
|
|
|
|
units. Extremely slow (software emulation) on some (all?) ATI
|
|
|
|
cards since it uses a texture with border pixels. Provides
|
|
|
|
brightness, contrast, saturation, hue and gamma control. Gamma can
|
|
|
|
also be set independently for red, green and blue. Speed depends
|
|
|
|
more on GPU memory bandwidth than other methods.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``lscale=<n>``
|
2012-09-23 14:10:00 +00:00
|
|
|
Select the scaling function to use for luminance scaling. Only valid
|
|
|
|
for yuv modes 2, 3, 4 and 6.
|
|
|
|
|
|
|
|
0
|
|
|
|
Use simple linear filtering (default).
|
|
|
|
1
|
|
|
|
Use bicubic B-spline filtering (better quality). Needs one
|
|
|
|
additional texture unit. Older cards will not be able to handle
|
|
|
|
this for chroma at least in fullscreen mode.
|
|
|
|
2
|
|
|
|
Use cubic filtering in horizontal, linear filtering in vertical
|
|
|
|
direction. Works on a few more cards than method 1.
|
|
|
|
3
|
|
|
|
Same as 1 but does not use a lookup texture. Might be faster on
|
|
|
|
some cards.
|
|
|
|
4
|
|
|
|
Use experimental unsharp masking with 3x3 support and a default
|
2013-07-08 16:02:14 +00:00
|
|
|
strength of 0.5 (see ``filter-strength``).
|
2012-09-23 14:10:00 +00:00
|
|
|
5
|
|
|
|
Use experimental unsharp masking with 5x5 support and a default
|
2013-07-08 16:02:14 +00:00
|
|
|
strength of 0.5 (see ``filter-strength``).
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``cscale=<n>``
|
2012-09-23 14:10:00 +00:00
|
|
|
Select the scaling function to use for chrominance scaling. For
|
2013-07-08 16:02:14 +00:00
|
|
|
details see ``lscale``.
|
|
|
|
``filter-strength=<value>``
|
|
|
|
Set the effect strength for the ``lscale``/``cscale`` filters that
|
|
|
|
support it.
|
|
|
|
``stereo=<value>``
|
2014-04-24 16:10:20 +00:00
|
|
|
Select a method for stereo display. You may have to use
|
|
|
|
``--video-aspect`` to fix the aspect value. Experimental, do not expect
|
|
|
|
too much from it.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
|
|
|
0
|
|
|
|
Normal 2D display
|
|
|
|
1
|
|
|
|
Convert side by side input to full-color red-cyan stereo.
|
|
|
|
2
|
|
|
|
Convert side by side input to full-color green-magenta stereo.
|
|
|
|
3
|
2014-09-01 02:25:57 +00:00
|
|
|
Convert side by side input to quad buffered stereo. Only supported
|
2012-09-23 14:10:00 +00:00
|
|
|
by very few OpenGL cards.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
The following options are only useful if writing your own fragment programs.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``customprog=<filename>``
|
2013-09-08 10:02:30 +00:00
|
|
|
Load a custom fragment program from ``<filename>``.
|
2013-07-08 16:02:14 +00:00
|
|
|
``customtex=<filename>``
|
|
|
|
Load a custom "gamma ramp" texture from ``<filename>``. This can be used
|
|
|
|
in combination with ``yuv=4`` or with the ``customprog`` option.
|
|
|
|
``(no-)customtlin``
|
2012-09-23 14:10:00 +00:00
|
|
|
If enabled (default) use ``GL_LINEAR`` interpolation, otherwise use
|
|
|
|
``GL_NEAREST`` for customtex texture.
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)customtrect``
|
|
|
|
If enabled, use ``texture_rectangle`` for the ``customtex`` texture.
|
|
|
|
Default is disabled.
|
|
|
|
``(no-)mipmapgen``
|
2012-09-23 14:10:00 +00:00
|
|
|
If enabled, mipmaps for the video are automatically generated. This
|
2013-07-08 16:02:14 +00:00
|
|
|
should be useful together with the ``customprog`` and the ``TXB``
|
|
|
|
instruction to implement blur filters with a large radius. For most
|
|
|
|
OpenGL implementations, this is very slow for any non-RGB formats.
|
|
|
|
Default is disabled.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
Normally there is no reason to use the following options; they mostly
|
2012-09-23 14:10:00 +00:00
|
|
|
exist for testing purposes.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)glfinish``
|
2012-09-23 14:10:00 +00:00
|
|
|
Call ``glFinish()`` before swapping buffers. Slower but in some cases
|
|
|
|
more correct output (default: disabled).
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)manyfmts``
|
|
|
|
Enables support for more (RGB and BGR) color formats (default: enabled).
|
|
|
|
Needs OpenGL version >= 1.2.
|
|
|
|
``slice-height=<0-...>``
|
2012-09-23 14:10:00 +00:00
|
|
|
Number of lines copied to texture in one piece (default: 0). 0 for
|
|
|
|
whole image.
|
2013-07-08 16:02:14 +00:00
|
|
|
``sw``
|
2012-09-23 14:10:00 +00:00
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``backend=<sys>``
|
2012-09-23 14:10:00 +00:00
|
|
|
auto
|
|
|
|
auto-select (default)
|
|
|
|
cocoa
|
2014-09-01 02:25:57 +00:00
|
|
|
Cocoa/OS X
|
2012-09-23 14:10:00 +00:00
|
|
|
win
|
|
|
|
Win32/WGL
|
|
|
|
x11
|
|
|
|
X11/GLX
|
2013-03-02 11:11:12 +00:00
|
|
|
wayland
|
2013-02-28 18:55:02 +00:00
|
|
|
Wayland/EGL
|
2012-09-23 14:10:00 +00:00
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sdl``
|
2012-12-28 07:07:14 +00:00
|
|
|
SDL 2.0+ Render video output driver, depending on system with or without
|
2013-07-08 16:02:14 +00:00
|
|
|
hardware acceleration. Should work on all platforms supported by SDL 2.0.
|
|
|
|
For tuning, refer to your copy of the file ``SDL_hints.h``.
|
2012-12-28 07:07:14 +00:00
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with systems that don't provide
|
|
|
|
proper graphics drivers, or which support GLES only.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``sw``
|
2013-01-04 16:43:37 +00:00
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``switch-mode``
|
2013-02-24 22:36:40 +00:00
|
|
|
Instruct SDL to switch the monitor video mode when going fullscreen.
|
|
|
|
|
video: add vaapi decode and output support
This is based on the MPlayer VA API patches. To be exact it's based on
a very stripped down version of commit f1ad459a263f8537f6c from
git://gitorious.org/vaapi/mplayer.git.
This doesn't contain useless things like benchmarking hacks and the
demo code for GLX interop. Also, unlike in the original patch, decoding
and video output are split into separate source files (the separation
between decoding and display also makes pixel format hacks unnecessary).
On the other hand, some features not present in the original patch were
added, like screenshot support.
VA API is rather bad for actual video output. Dealing with older libva
versions or the completely broken vdpau backend doesn't help. OSD is
low quality and should be rather slow. In some cases, only either OSD
or subtitles can be shown at the same time (because OSD is drawn first,
OSD is prefered).
Also, libva can't decide whether it accepts straight or premultiplied
alpha for OSD sub-pictures: the vdpau backend seems to assume
premultiplied, while a native vaapi driver uses straight. So I picked
straight alpha. It doesn't matter much, because the blending code for
straight alpha I added to img_convert.c is probably buggy, and ASS
subtitles might be blended incorrectly.
Really good video output with VA API would probably use OpenGL and the
GL interop features, but at this point you might just use vo_opengl.
(Patches for making HW decoding with vo_opengl have a chance of being
accepted.)
Despite these issues, decoding seems to work ok. I still got tearing
on the Intel system I tested (Intel(R) Core(TM) i3-2350M). It was also
tested with the vdpau vaapi wrapper on a nvidia system; however this
was rather broken. (Fortunately, there is no reason to use mpv's VAAPI
support over native VDPAU.)
2013-08-09 12:01:30 +00:00
|
|
|
``vaapi``
|
|
|
|
Intel VA API video output driver with support for hardware decoding. Note
|
|
|
|
that there is absolutely no reason to use this, other than wanting to use
|
|
|
|
hardware decoding to save power on laptops, or possibly preventing video
|
|
|
|
tearing with some setups.
|
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with crappy systems. You can
|
|
|
|
use vaapi hardware decoding with ``--vo=opengl`` too.
|
|
|
|
|
video: add vaapi decode and output support
This is based on the MPlayer VA API patches. To be exact it's based on
a very stripped down version of commit f1ad459a263f8537f6c from
git://gitorious.org/vaapi/mplayer.git.
This doesn't contain useless things like benchmarking hacks and the
demo code for GLX interop. Also, unlike in the original patch, decoding
and video output are split into separate source files (the separation
between decoding and display also makes pixel format hacks unnecessary).
On the other hand, some features not present in the original patch were
added, like screenshot support.
VA API is rather bad for actual video output. Dealing with older libva
versions or the completely broken vdpau backend doesn't help. OSD is
low quality and should be rather slow. In some cases, only either OSD
or subtitles can be shown at the same time (because OSD is drawn first,
OSD is prefered).
Also, libva can't decide whether it accepts straight or premultiplied
alpha for OSD sub-pictures: the vdpau backend seems to assume
premultiplied, while a native vaapi driver uses straight. So I picked
straight alpha. It doesn't matter much, because the blending code for
straight alpha I added to img_convert.c is probably buggy, and ASS
subtitles might be blended incorrectly.
Really good video output with VA API would probably use OpenGL and the
GL interop features, but at this point you might just use vo_opengl.
(Patches for making HW decoding with vo_opengl have a chance of being
accepted.)
Despite these issues, decoding seems to work ok. I still got tearing
on the Intel system I tested (Intel(R) Core(TM) i3-2350M). It was also
tested with the vdpau vaapi wrapper on a nvidia system; however this
was rather broken. (Fortunately, there is no reason to use mpv's VAAPI
support over native VDPAU.)
2013-08-09 12:01:30 +00:00
|
|
|
``scaling=<algorithm>``
|
|
|
|
default
|
|
|
|
Driver default (mpv default as well).
|
|
|
|
fast
|
|
|
|
Fast, but low quality.
|
|
|
|
hq
|
|
|
|
Unspecified driver dependent high-quality scaling, slow.
|
|
|
|
nla
|
|
|
|
``non-linear anamorphic scaling``
|
|
|
|
|
|
|
|
``deint-mode=<mode>``
|
|
|
|
Select deinterlacing algorithm. Note that by default deinterlacing is
|
|
|
|
initially always off, and needs to be enabled with the ``D`` key
|
|
|
|
(default key binding for ``cycle deinterlace``).
|
|
|
|
|
2013-09-20 13:55:13 +00:00
|
|
|
This option doesn't apply if libva supports video post processing (vpp).
|
|
|
|
In this case, the default for ``deint-mode`` is ``no``, and enabling
|
|
|
|
deinterlacing via user interaction using the methods mentioned above
|
|
|
|
actually inserts the ``vavpp`` video filter. If vpp is not actually
|
|
|
|
supported with the libva backend in use, you can use this option to
|
|
|
|
forcibly enable VO based deinterlacing.
|
|
|
|
|
video: add vaapi decode and output support
This is based on the MPlayer VA API patches. To be exact it's based on
a very stripped down version of commit f1ad459a263f8537f6c from
git://gitorious.org/vaapi/mplayer.git.
This doesn't contain useless things like benchmarking hacks and the
demo code for GLX interop. Also, unlike in the original patch, decoding
and video output are split into separate source files (the separation
between decoding and display also makes pixel format hacks unnecessary).
On the other hand, some features not present in the original patch were
added, like screenshot support.
VA API is rather bad for actual video output. Dealing with older libva
versions or the completely broken vdpau backend doesn't help. OSD is
low quality and should be rather slow. In some cases, only either OSD
or subtitles can be shown at the same time (because OSD is drawn first,
OSD is prefered).
Also, libva can't decide whether it accepts straight or premultiplied
alpha for OSD sub-pictures: the vdpau backend seems to assume
premultiplied, while a native vaapi driver uses straight. So I picked
straight alpha. It doesn't matter much, because the blending code for
straight alpha I added to img_convert.c is probably buggy, and ASS
subtitles might be blended incorrectly.
Really good video output with VA API would probably use OpenGL and the
GL interop features, but at this point you might just use vo_opengl.
(Patches for making HW decoding with vo_opengl have a chance of being
accepted.)
Despite these issues, decoding seems to work ok. I still got tearing
on the Intel system I tested (Intel(R) Core(TM) i3-2350M). It was also
tested with the vdpau vaapi wrapper on a nvidia system; however this
was rather broken. (Fortunately, there is no reason to use mpv's VAAPI
support over native VDPAU.)
2013-08-09 12:01:30 +00:00
|
|
|
no
|
2013-09-20 13:55:13 +00:00
|
|
|
Don't allow deinterlacing (default for newer libva).
|
video: add vaapi decode and output support
This is based on the MPlayer VA API patches. To be exact it's based on
a very stripped down version of commit f1ad459a263f8537f6c from
git://gitorious.org/vaapi/mplayer.git.
This doesn't contain useless things like benchmarking hacks and the
demo code for GLX interop. Also, unlike in the original patch, decoding
and video output are split into separate source files (the separation
between decoding and display also makes pixel format hacks unnecessary).
On the other hand, some features not present in the original patch were
added, like screenshot support.
VA API is rather bad for actual video output. Dealing with older libva
versions or the completely broken vdpau backend doesn't help. OSD is
low quality and should be rather slow. In some cases, only either OSD
or subtitles can be shown at the same time (because OSD is drawn first,
OSD is prefered).
Also, libva can't decide whether it accepts straight or premultiplied
alpha for OSD sub-pictures: the vdpau backend seems to assume
premultiplied, while a native vaapi driver uses straight. So I picked
straight alpha. It doesn't matter much, because the blending code for
straight alpha I added to img_convert.c is probably buggy, and ASS
subtitles might be blended incorrectly.
Really good video output with VA API would probably use OpenGL and the
GL interop features, but at this point you might just use vo_opengl.
(Patches for making HW decoding with vo_opengl have a chance of being
accepted.)
Despite these issues, decoding seems to work ok. I still got tearing
on the Intel system I tested (Intel(R) Core(TM) i3-2350M). It was also
tested with the vdpau vaapi wrapper on a nvidia system; however this
was rather broken. (Fortunately, there is no reason to use mpv's VAAPI
support over native VDPAU.)
2013-08-09 12:01:30 +00:00
|
|
|
first-field
|
|
|
|
Show only first field (going by ``--field-dominance``).
|
|
|
|
bob
|
2013-09-20 13:55:13 +00:00
|
|
|
bob deinterlacing (default for older libva).
|
video: add vaapi decode and output support
This is based on the MPlayer VA API patches. To be exact it's based on
a very stripped down version of commit f1ad459a263f8537f6c from
git://gitorious.org/vaapi/mplayer.git.
This doesn't contain useless things like benchmarking hacks and the
demo code for GLX interop. Also, unlike in the original patch, decoding
and video output are split into separate source files (the separation
between decoding and display also makes pixel format hacks unnecessary).
On the other hand, some features not present in the original patch were
added, like screenshot support.
VA API is rather bad for actual video output. Dealing with older libva
versions or the completely broken vdpau backend doesn't help. OSD is
low quality and should be rather slow. In some cases, only either OSD
or subtitles can be shown at the same time (because OSD is drawn first,
OSD is prefered).
Also, libva can't decide whether it accepts straight or premultiplied
alpha for OSD sub-pictures: the vdpau backend seems to assume
premultiplied, while a native vaapi driver uses straight. So I picked
straight alpha. It doesn't matter much, because the blending code for
straight alpha I added to img_convert.c is probably buggy, and ASS
subtitles might be blended incorrectly.
Really good video output with VA API would probably use OpenGL and the
GL interop features, but at this point you might just use vo_opengl.
(Patches for making HW decoding with vo_opengl have a chance of being
accepted.)
Despite these issues, decoding seems to work ok. I still got tearing
on the Intel system I tested (Intel(R) Core(TM) i3-2350M). It was also
tested with the vdpau vaapi wrapper on a nvidia system; however this
was rather broken. (Fortunately, there is no reason to use mpv's VAAPI
support over native VDPAU.)
2013-08-09 12:01:30 +00:00
|
|
|
|
|
|
|
``scaled-osd=<yes|no>``
|
|
|
|
If enabled, then the OSD is rendered at video resolution and scaled to
|
|
|
|
display resolution. By default, this is disabled, and the OSD is
|
|
|
|
rendered at display resolution if the driver supports it.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``null``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Produces no video output. Useful for benchmarking.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``caca``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
Color ASCII art video output driver that works on a text console.
|
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is a joke.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``image``
|
2012-08-06 17:15:04 +00:00
|
|
|
Output each frame into an image file in the current directory. Each file
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
takes the frame number padded with leading zeros as name.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``format=<format>``
|
2012-08-06 17:15:04 +00:00
|
|
|
Select the image file format.
|
|
|
|
|
|
|
|
jpg
|
2012-11-15 13:25:20 +00:00
|
|
|
JPEG files, extension .jpg. (Default.)
|
2012-08-06 17:15:04 +00:00
|
|
|
jpeg
|
|
|
|
JPEG files, extension .jpeg.
|
|
|
|
png
|
|
|
|
PNG files.
|
|
|
|
ppm
|
|
|
|
Portable bitmap format.
|
|
|
|
pgm
|
|
|
|
Portable graymap format.
|
|
|
|
pgmyuv
|
|
|
|
Portable graymap format, using the YV12 pixel format.
|
|
|
|
tga
|
|
|
|
Truevision TGA.
|
|
|
|
|
2013-07-08 16:02:14 +00:00
|
|
|
``png-compression=<0-9>``
|
2012-08-06 17:15:04 +00:00
|
|
|
PNG compression factor (speed vs. file size tradeoff) (default: 7)
|
2013-07-08 16:02:14 +00:00
|
|
|
``png-filter=<0-5>``
|
2013-06-15 13:14:06 +00:00
|
|
|
Filter applied prior to PNG compression (0 = none; 1 = sub; 2 = up;
|
|
|
|
3 = average; 4 = Paeth; 5 = mixed) (default: 5)
|
2013-07-08 16:02:14 +00:00
|
|
|
``jpeg-quality=<0-100>``
|
2012-08-23 12:12:30 +00:00
|
|
|
JPEG quality factor (default: 90)
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)jpeg-progressive``
|
2012-11-15 13:25:20 +00:00
|
|
|
Specify standard or progressive JPEG (default: no).
|
2013-07-08 16:02:14 +00:00
|
|
|
``(no-)jpeg-baseline``
|
2012-11-15 13:25:20 +00:00
|
|
|
Specify use of JPEG baseline or not (default: yes).
|
2013-07-08 16:02:14 +00:00
|
|
|
``jpeg-optimize=<0-100>``
|
2012-08-22 13:45:34 +00:00
|
|
|
JPEG optimization factor (default: 100)
|
2013-07-08 16:02:14 +00:00
|
|
|
``jpeg-smooth=<0-100>``
|
manpage: merge new manpage
About a year ago, ubitux converted most of the old manpage from the
hard to maintain nroff format to reStructuredText. This was not merged
back into the master repository immediately. The argument was that the
new manpage still required work to be done. However, progress was very
slow. Even worse: the old manpage wasn't updated, because it was
scheduled for deletion, and updating it would have meant useless work.
Now the situation is that the new manpage still isn't finished, and the
old manpage is grossly out of sync with the player. This is not helpful
for users. Additionally, keeping the new manpage in a separate branch,
while the normal development repository for code had the old manpage,
was very inconvenient, because you couldn't just update the
documentation in the same commit as the code.
Even though the new manpage isn't finished yet, merging it now seems to
be the best course of action. Squash-merge the manpage development
branch [1], revision e89f5dd3f2, which branches from the mplayer2
master branch after revision 159102e0cb.
Committers:
* Clément Bœsch <ubitux@gmail.com> (Initial conversion to RST.)
* Uoti Urpala <uau@mplayer2.org> (Many updates.)
* Myself (Minor edits.)
Most text of the manpage has been directly taken from the old manpage,
because this is a conversion, not a complete rewrite.
[1] http://git.mplayer2.org/uau/mplayer2.git/log/?h=man
2012-08-02 19:37:33 +00:00
|
|
|
smooth factor (default: 0)
|
2013-07-08 16:02:14 +00:00
|
|
|
``jpeg-dpi=<1->``
|
2012-08-06 17:15:04 +00:00
|
|
|
JPEG DPI (default: 72)
|
2013-07-08 16:02:14 +00:00
|
|
|
``outdir=<dirname>``
|
2012-08-06 17:15:04 +00:00
|
|
|
Specify the directory to save the image files to (default: ``./``).
|
2013-04-15 20:37:02 +00:00
|
|
|
|
|
|
|
``wayland`` (Wayland only)
|
|
|
|
Wayland shared memory video output as fallback for ``opengl``.
|
|
|
|
|
2014-04-19 13:29:05 +00:00
|
|
|
.. note:: This driver is for compatibility with systems that don't provide
|
|
|
|
working OpenGL drivers.
|
|
|
|
|
2013-04-15 20:37:02 +00:00
|
|
|
``alpha``
|
|
|
|
Use a buffer format that supports videos and images with alpha
|
2013-10-16 10:36:34 +00:00
|
|
|
information
|
2014-02-11 17:55:25 +00:00
|
|
|
``rgb565``
|
|
|
|
Use RGB565 as buffer format. This format is implemented on most
|
|
|
|
platforms, especially on embedded where it is far more efficient then
|
|
|
|
RGB8888.
|
|
|
|
``triple-buffering``
|
|
|
|
Use 3 buffers instead of 2. This can lead to more fluid playback, but
|
|
|
|
uses more memory.
|
|
|
|
|