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_outputs:
|
|
|
|
|
|
|
|
VIDEO OUTPUT DRIVERS
|
|
|
|
====================
|
|
|
|
|
|
|
|
Video output drivers are interfaces to different video output facilities. The
|
|
|
|
syntax is:
|
|
|
|
|
|
|
|
--vo=<driver1[:suboption1[=value]:...],driver2,...[,]>
|
|
|
|
Specify a priority list of video output drivers to be used.
|
|
|
|
|
2012-10-11 00:04:08 +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.
|
|
|
|
|
|
|
|
*NOTE*: See ``--vo=help`` for a list of compiled-in video output drivers.
|
|
|
|
|
|
|
|
*EXAMPLE*:
|
|
|
|
|
2012-09-23 14:10:00 +00:00
|
|
|
``--vo=opengl,xv,``
|
|
|
|
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:
|
|
|
|
|
|
|
|
xv (X11 only)
|
2012-08-07 21:53:14 +00:00
|
|
|
Uses the XVideo extension to enable hardware accelerated playback. This is
|
|
|
|
the most compatible VO on X, but may be low quality, and has issues with
|
|
|
|
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
|
|
|
For information about what colorkey is used and how it is drawn run
|
2012-10-11 00:04:08 +00:00
|
|
|
mpv with ``-v`` option and look out for the lines tagged with ``[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
|
|
|
common]`` at the beginning.
|
|
|
|
|
|
|
|
adaptor=<number>
|
|
|
|
Select a specific XVideo adaptor (check xvinfo results).
|
|
|
|
port=<number>
|
|
|
|
Select a specific XVideo port.
|
|
|
|
ck=<cur|use|set>
|
|
|
|
Select the source from which the colorkey is taken (default: cur).
|
|
|
|
|
|
|
|
cur
|
|
|
|
The default takes the colorkey currently set in Xv.
|
|
|
|
use
|
2012-10-11 00:04:08 +00:00
|
|
|
Use but do not set the colorkey 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
|
|
|
|
Same as use but also sets the supplied colorkey.
|
|
|
|
|
|
|
|
ck-method=<man|bg|auto>
|
|
|
|
Sets the colorkey drawing method (default: man).
|
|
|
|
|
|
|
|
man
|
|
|
|
Draw the colorkey manually (reduces flicker in some cases).
|
|
|
|
bg
|
|
|
|
Set the colorkey as window background.
|
|
|
|
auto
|
|
|
|
Let Xv draw the colorkey.
|
|
|
|
|
|
|
|
x11 (X11 only)
|
|
|
|
Shared memory video output driver without hardware acceleration that works
|
|
|
|
whenever X11 is present.
|
|
|
|
|
2012-10-23 23:06:00 +00:00
|
|
|
*NOTE*: this is a fallback only, and shouldn't be normally used.
|
|
|
|
|
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
|
|
|
vdpau (X11 only)
|
|
|
|
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
|
|
|
|
|
|
|
sharpen=<-1-1>
|
|
|
|
For positive values, apply a sharpening algorithm to the video, for
|
|
|
|
negative values a blurring algorithm (default: 0).
|
|
|
|
denoise=<0-1>
|
|
|
|
Apply a noise reduction algorithm to the video (default: 0, no noise
|
|
|
|
reduction).
|
|
|
|
deint=<-4-4>
|
|
|
|
Select deinterlacing mode (default: -3). Positive values choose mode
|
|
|
|
and enable deinterlacing. Corresponding negative values select the
|
|
|
|
same deinterlacing mode, but do not enable deinterlacing on startup
|
|
|
|
(useful in configuration files to specify what mode will be enabled by
|
|
|
|
the "D" key). All modes respect ``--field-dominance``.
|
|
|
|
|
|
|
|
0
|
|
|
|
same as -3
|
|
|
|
1
|
|
|
|
Show only first field, similar to ``--vf=field``.
|
|
|
|
2
|
|
|
|
Bob deinterlacing, similar to ``--vf=tfields=1``.
|
|
|
|
3
|
|
|
|
motion adaptive temporal deinterlacing. May lead to A/V desync
|
|
|
|
with slow video hardware and/or high resolution.
|
|
|
|
4
|
|
|
|
motion adaptive temporal deinterlacing with edge-guided spatial
|
|
|
|
interpolation. Needs fast video hardware.
|
|
|
|
chroma-deint
|
|
|
|
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.
|
|
|
|
pullup
|
|
|
|
Try to apply inverse telecine, needs motion adaptive temporal
|
|
|
|
deinterlacing.
|
|
|
|
hqscaling=<0-9>
|
|
|
|
0
|
|
|
|
Use default VDPAU scaling (default).
|
|
|
|
1-9
|
|
|
|
Apply high quality VDPAU scaling (needs capable hardware).
|
|
|
|
fps=<number>
|
|
|
|
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.
|
|
|
|
composite-detect
|
|
|
|
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
|
|
|
|
specified fps=-1 (as they would be based on incorrect input). This
|
|
|
|
means timing is somewhat less accurate than without compositing, but
|
|
|
|
with the composited mode behavior of the NVIDIA driver there is no
|
|
|
|
hard playback speed limit even without the disabled logic. Enabled by
|
|
|
|
default, use no-composite-detect to disable.
|
|
|
|
queuetime_windowed=<number> and queuetime_fs=<number>
|
|
|
|
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.
|
|
|
|
output_surfaces=<2-15>
|
|
|
|
Allocate this many output surfaces to display video frames (default:
|
|
|
|
3). See below for additional information.
|
|
|
|
|
|
|
|
Using the VDPAU frame queueing functionality controlled by the queuetime
|
2012-10-11 00:04:08 +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
|
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
|
|
|
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 less
|
|
|
|
reason to disable this for fullscreen mode (as the driver issue shouldn't
|
|
|
|
affect the video itself).
|
|
|
|
|
|
|
|
You can queue more frames ahead by increasing the queuetime values and the
|
|
|
|
output_surfaces count (to ensure enough surfaces to buffer video for a
|
|
|
|
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.
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
direct3d_shaders (Windows only)
|
|
|
|
Video output driver that uses the Direct3D interface.
|
|
|
|
|
|
|
|
prefer-stretchrect
|
|
|
|
Use IDirect3DDevice9::StretchRect over other methods if possible.
|
|
|
|
|
|
|
|
disable-stretchrect
|
|
|
|
Never render the video using IDirect3DDevice9::StretchRect.
|
|
|
|
|
|
|
|
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.)
|
|
|
|
|
|
|
|
disable-shaders
|
|
|
|
Never use shaders when rendering video.
|
|
|
|
|
|
|
|
only-8bit
|
|
|
|
Never render YUV video with more than 8 bits per component.
|
|
|
|
(Using this flag will force software conversion to 8 bit.)
|
|
|
|
|
|
|
|
disable-texture-align
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
force-power-of-2
|
|
|
|
Always force textures to power of 2, even if the device reports
|
|
|
|
non-power-of-2 texture sizes as supported.
|
|
|
|
|
|
|
|
texture-memory=N
|
|
|
|
Only affects operation with shaders/texturing enabled, and (E)OSD.
|
|
|
|
Values for N:
|
2012-11-29 16:03:48 +00:00
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
0
|
|
|
|
default, will often use an additional shadow texture + copy
|
|
|
|
1
|
|
|
|
use D3DPOOL_MANAGED
|
|
|
|
2
|
|
|
|
use D3DPOOL_DEFAULT
|
|
|
|
3
|
|
|
|
use D3DPOOL_SYSTEMMEM, but without shadow texture
|
|
|
|
|
|
|
|
swap-discard
|
|
|
|
Use D3DSWAPEFFECT_DISCARD, which might be faster.
|
|
|
|
Might be slower too, as it must (?) clear every frame.
|
|
|
|
|
|
|
|
exact-backbuffer
|
|
|
|
Always resize the backbuffer to window size.
|
|
|
|
|
|
|
|
direct3d (Windows only)
|
|
|
|
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
|
|
|
|
2012-07-25 20:52:38 +00:00
|
|
|
corevideo (Mac OS X 10.6 and later)
|
|
|
|
Mac OS X CoreVideo video output driver. Uses the CoreVideo APIs to fill
|
|
|
|
PixelBuffers and generate OpenGL textures from them (useful as a fallback
|
2012-09-23 14:10:00 +00:00
|
|
|
for vo_opengl_).
|
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:
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2012-09-29 16:36:05 +00:00
|
|
|
opengl
|
|
|
|
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
|
|
|
|
|
|
|
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
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
lscale=<filter>
|
|
|
|
Set the scaling filter. Possible choices:
|
|
|
|
bilinear
|
|
|
|
bicubic_fast
|
|
|
|
sharpen3
|
|
|
|
sharpen5
|
|
|
|
hanning
|
|
|
|
hamming
|
|
|
|
hermite
|
|
|
|
quadric
|
|
|
|
bicubic
|
|
|
|
kaiser
|
|
|
|
catmull_rom
|
|
|
|
mitchell
|
|
|
|
spline16
|
|
|
|
spline36
|
|
|
|
gaussian
|
|
|
|
sinc2
|
|
|
|
sinc3
|
|
|
|
sinc4
|
|
|
|
lanczos2
|
|
|
|
lanczos3
|
|
|
|
lanczos4
|
|
|
|
blackman2
|
|
|
|
blackman3
|
|
|
|
blackman4
|
|
|
|
|
|
|
|
bilinear
|
|
|
|
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
|
|
|
|
|
|
|
lanczos2
|
2012-10-14 21:58:49 +00:00
|
|
|
Lanczos scaling with radius=2. Provides good quality and speed.
|
|
|
|
This is the default when using ``opengl-hq``.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
|
|
|
lanczos3
|
|
|
|
Lanczos with radius=3.
|
|
|
|
|
|
|
|
bicubic_fast
|
|
|
|
Bicubic filter. Has a blurring effect on the image, even if no
|
|
|
|
scaling is done.
|
|
|
|
|
|
|
|
sharpen3
|
|
|
|
Unsharp masking (sharpening) with radius=3 and a default strength
|
|
|
|
of 0.5 (see ``lparam1``).
|
|
|
|
|
|
|
|
sharpen5
|
|
|
|
Unsharp masking (sharpening) with radius=5 and a default strength
|
|
|
|
of 0.5 (see ``lparam1``).
|
|
|
|
|
|
|
|
mitchell
|
|
|
|
Mitchell-Netravali. The ``b`` and ``c`` parameters can be set with
|
|
|
|
``lparam1`` and ``lparam2``. Both are set to 1/3 by default.
|
|
|
|
|
|
|
|
lparam1=<value>
|
|
|
|
Set filter parameters. Ignored if the filter is not tunable. These are
|
|
|
|
unset by default, and use the filter specific default if applicable.
|
|
|
|
|
|
|
|
lparam2=<value>
|
|
|
|
See ``lparam1``.
|
|
|
|
|
2013-05-25 21:47:55 +00:00
|
|
|
scaler-resizes-only
|
|
|
|
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.
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
stereo=<value>
|
|
|
|
Select a method for stereo display. You may have to use ``--aspect`` to
|
|
|
|
fix the aspect value. Experimental, do not expect too much from it.
|
|
|
|
|
|
|
|
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
|
|
|
|
Convert side by side input to quadbuffered stereo. Only supported
|
|
|
|
by very few OpenGL cards.
|
|
|
|
|
|
|
|
srgb
|
|
|
|
Enable gamma-correct scaling by working in linear light. This
|
|
|
|
makes use of sRGB textures and framebuffers.
|
|
|
|
This option forces the options 'indirect' and 'gamma'.
|
2012-12-23 18:49:19 +00:00
|
|
|
NOTE: for YUV colorspaces, gamma 1/0.45 (2.222) is assumed. RGB input
|
|
|
|
is always assumed to be in sRGB.
|
2012-10-14 21:58:49 +00:00
|
|
|
This option is not really useful, as gamma-correct scaling has not much
|
2012-11-11 16:49:39 +00:00
|
|
|
influence on typical video playback. Most visible effect comes from
|
|
|
|
slightly different gamma.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
|
|
|
pbo
|
|
|
|
Enable use of PBOs. This is faster, but can sometimes lead to
|
2012-08-22 13:45:34 +00:00
|
|
|
sporadic and temporary image corruption.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-03-28 20:39:17 +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
|
2012-08-07 21:53:14 +00:00
|
|
|
Automatic selection. If output bit depth can't be detected,
|
|
|
|
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
|
2012-09-23 14:10:00 +00:00
|
|
|
conflicts with vo_opengl's dithering, and leads to ugly output.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
2013-05-26 17:37:59 +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
|
|
|
|
|
|
|
dither=<fruit|ordered|no>
|
|
|
|
Select dithering algorithm (default: fruit).
|
|
|
|
|
|
|
|
temporal-dither
|
|
|
|
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.
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
debug
|
|
|
|
Check for OpenGL errors, i.e. call glGetError(). Also request a
|
|
|
|
debug OpenGL context (which does nothing with current graphics drivers
|
|
|
|
as of this writing).
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
no-scale-sep
|
|
|
|
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.
|
|
|
|
|
|
|
|
cscale=<n>
|
|
|
|
As lscale but for chroma (2x slower with little visible effect).
|
|
|
|
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.
|
|
|
|
|
2012-09-29 16:36:05 +00:00
|
|
|
fancy-downscaling
|
|
|
|
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
|
|
|
|
|
|
|
no-npot
|
|
|
|
Force use of power-of-2 texture sizes. For debugging only.
|
|
|
|
Borders will be distorted due to filtering.
|
|
|
|
|
|
|
|
glfinish
|
|
|
|
Call glFinish() before swapping buffers
|
|
|
|
|
2012-10-02 23:54:13 +00:00
|
|
|
sw
|
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
2012-08-07 21:53:14 +00:00
|
|
|
backend=<sys>
|
|
|
|
auto
|
|
|
|
auto-select (default)
|
|
|
|
cocoa
|
|
|
|
Cocoa/OSX
|
|
|
|
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
|
|
|
|
|
|
|
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
|
2012-11-15 13:25:20 +00:00
|
|
|
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
|
|
|
|
|
|
|
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-03-28 20:44:33 +00:00
|
|
|
fmt can be one of: rgb, rgba, rgb8, rgb10, 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
|
|
|
|
|
|
|
gamma
|
|
|
|
Always enable gamma control. (Disables delayed enabling.)
|
|
|
|
|
|
|
|
icc-profile=<file>
|
|
|
|
Load an ICC profile and use it to transform linear RGB to
|
|
|
|
screen output. Needs LittleCMS2 support compiled in.
|
|
|
|
|
|
|
|
icc-cache=<file>
|
|
|
|
Store and load the 3D LUT created from the ICC profile in
|
|
|
|
this file. This can be used to speed up loading, since
|
|
|
|
LittleCMS2 can take a while to create the 3D LUT.
|
|
|
|
Note that this file contains an uncompressed LUT. Its size depends on
|
2012-10-14 21:58:49 +00:00
|
|
|
the ``3dlut-size``, and can be very big.
|
2012-08-07 21:53:14 +00:00
|
|
|
|
|
|
|
icc-intent=<value>
|
|
|
|
0
|
|
|
|
perceptual
|
|
|
|
1
|
|
|
|
relative colorimetric
|
|
|
|
2
|
|
|
|
saturation
|
|
|
|
3
|
|
|
|
absolute colorimetric (default)
|
|
|
|
|
|
|
|
3dlut-size=<r>x<g>x<b>
|
|
|
|
Size of the 3D LUT generated from the ICC profile in each
|
|
|
|
dimension. Default is 128x256x64.
|
|
|
|
Sizes must be a power of two, and 256 at most.
|
|
|
|
|
2013-03-28 20:44:27 +00:00
|
|
|
alpha
|
|
|
|
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 to a normal framebuffer. Note
|
|
|
|
that when using FBO indirections (such as with ``opengl-hq``), a FBO
|
|
|
|
format with alpha must be specified with the ``fbo-format`` option.
|
|
|
|
|
2012-09-29 16:36:05 +00:00
|
|
|
opengl-hq
|
|
|
|
Same as ``opengl``, but with default settings for high quality rendering.
|
|
|
|
|
|
|
|
This is equivalent to:
|
|
|
|
|
2013-03-28 20:39:17 +00:00
|
|
|
| --vo=opengl:lscale=lanczos2:dither-depth=auto:pbo:fbo-format=rgb16
|
2012-09-29 16:36:05 +00:00
|
|
|
|
|
|
|
Note that some cheaper LCDs do dithering that gravely interferes with
|
2013-03-28 20:39:17 +00:00
|
|
|
vo_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
|
|
|
|
can achieve better quality or performance by changing the fbo-format
|
|
|
|
sub-option to ``rgb16f``, ``rgb32f`` or ``rgb``. (Known problems include
|
|
|
|
Mesa/Intel not accepting ``rgb16``, Mesa sometimes not being compiled with
|
|
|
|
float texture support, and some OSX setups being very slow with ``rgb16``,
|
|
|
|
but fast with ``rgb32f``.)
|
2012-09-29 16:36:05 +00:00
|
|
|
|
2012-09-23 14:10:00 +00:00
|
|
|
opengl-old
|
|
|
|
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
|
2012-11-15 13:25:20 +00:00
|
|
|
of newer extensions, which allow support for more colorspaces.
|
2012-09-23 14:10:00 +00:00
|
|
|
|
|
|
|
The code performs very few checks, so if a feature does not work, this
|
|
|
|
might be because it is not supported by your card/OpenGL implementation
|
|
|
|
even if you do not get any error message. Use ``glxinfo`` or a similar
|
|
|
|
tool to display the supported OpenGL extensions.
|
|
|
|
|
|
|
|
(no-)ati-hack
|
|
|
|
ATI drivers may give a corrupted image when PBOs are used (when using
|
|
|
|
`force-pbo`). This option fixes this, at the expense of
|
|
|
|
using a bit more memory.
|
|
|
|
(no-)force-pbo
|
|
|
|
Always uses PBOs to transfer textures even if this involves an extra
|
|
|
|
copy. Currently this gives a little extra speed with NVidia drivers
|
2013-04-23 12:16:06 +00:00
|
|
|
and a lot more speed with ATI drivers. May need
|
2012-09-23 14:10:00 +00:00
|
|
|
the ati-hack suboption to work correctly.
|
|
|
|
(no-)scaled-osd
|
|
|
|
Changes the way the OSD behaves when the size of the window changes
|
|
|
|
(default: disabled). When enabled behaves more like the other video
|
|
|
|
output drivers, which is better for fixed-size fonts. Disabled looks
|
|
|
|
much better with FreeType fonts and uses the borders in fullscreen
|
|
|
|
mode. Does not work correctly with ass subtitles (see ``--ass``), you
|
|
|
|
can instead render them without OpenGL support via ``--vf=ass``.
|
|
|
|
rectangle=<0,1,2>
|
|
|
|
Select usage of rectangular textures which saves video RAM, but often
|
|
|
|
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.
|
|
|
|
|
|
|
|
swapinterval=<n>
|
|
|
|
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.
|
|
|
|
ycbcr
|
|
|
|
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.
|
|
|
|
yuv=<n>
|
|
|
|
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
|
|
|
|
Same as 2. This used to use nVidia-specific extensions, which
|
|
|
|
didn't provide any advantages over using fragment programs, except
|
|
|
|
possibly on very ancient graphic cards. It produced a gray-ish
|
|
|
|
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
|
|
|
|
Use a fragment program using the POW instruction. Needs the
|
|
|
|
``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.
|
|
|
|
|
|
|
|
lscale=<n>
|
|
|
|
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
|
|
|
|
strength of 0.5 (see `filter-strength`).
|
|
|
|
5
|
|
|
|
Use experimental unsharp masking with 5x5 support and a default
|
|
|
|
strength of 0.5 (see `filter-strength`).
|
|
|
|
|
|
|
|
cscale=<n>
|
|
|
|
Select the scaling function to use for chrominance scaling. For
|
|
|
|
details see `lscale`.
|
|
|
|
filter-strength=<value>
|
|
|
|
Set the effect strength for the `lscale`/`cscale` filters that support
|
|
|
|
it.
|
|
|
|
stereo=<value>
|
|
|
|
Select a method for stereo display. You may have to use ``--aspect`` to
|
|
|
|
fix the aspect value. Experimental, do not expect too much from it.
|
|
|
|
|
|
|
|
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
|
|
|
|
Convert side by side input to quadbuffered stereo. Only supported
|
|
|
|
by very few OpenGL cards.
|
|
|
|
|
|
|
|
The following options are only useful if writing your own fragment
|
|
|
|
programs.
|
|
|
|
|
|
|
|
customprog=<filename>
|
|
|
|
Load a custom fragment program from <filename>. See
|
|
|
|
``TOOLS/edgedect.fp`` for an example.
|
|
|
|
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
|
|
|
|
If enabled (default) use ``GL_LINEAR`` interpolation, otherwise use
|
|
|
|
``GL_NEAREST`` for customtex texture.
|
|
|
|
(no-)customtrect
|
|
|
|
If enabled, use texture_rectangle for customtex texture. Default is
|
|
|
|
disabled.
|
|
|
|
(no-)mipmapgen
|
|
|
|
If enabled, mipmaps for the video are automatically generated. This
|
|
|
|
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.
|
|
|
|
|
|
|
|
Normally there is no reason to use the following options, they mostly
|
|
|
|
exist for testing purposes.
|
|
|
|
|
|
|
|
(no-)glfinish
|
|
|
|
Call ``glFinish()`` before swapping buffers. Slower but in some cases
|
|
|
|
more correct output (default: disabled).
|
|
|
|
(no-)manyfmts
|
|
|
|
Enables support for more (RGB and BGR) color formats (default:
|
|
|
|
enabled). Needs OpenGL version >= 1.2.
|
|
|
|
slice-height=<0-...>
|
|
|
|
Number of lines copied to texture in one piece (default: 0). 0 for
|
|
|
|
whole image.
|
|
|
|
sw
|
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
|
|
|
backend=<sys>
|
|
|
|
auto
|
|
|
|
auto-select (default)
|
|
|
|
cocoa
|
|
|
|
Cocoa/OSX
|
|
|
|
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
|
|
|
|
2012-12-28 07:07:14 +00:00
|
|
|
sdl
|
|
|
|
SDL 2.0+ Render video output driver, depending on system with or without
|
|
|
|
hardware acceleration. Should work everywhere where SDL 2.0 builds. For
|
|
|
|
tuning, refer to your copy of the file SDL_hints.h.
|
|
|
|
|
2013-01-04 16:43:37 +00:00
|
|
|
sw
|
|
|
|
Continue even if a software renderer is detected.
|
|
|
|
|
2013-02-24 22:36:40 +00:00
|
|
|
switch-mode
|
|
|
|
Instruct SDL to switch the monitor video mode when going fullscreen.
|
|
|
|
|
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
|
|
|
null
|
|
|
|
Produces no video output. Useful for benchmarking.
|
|
|
|
|
|
|
|
caca
|
|
|
|
Color ASCII art video output driver that works on a text console.
|
|
|
|
|
2012-08-06 17:15:04 +00:00
|
|
|
image
|
|
|
|
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.
|
|
|
|
|
2012-08-06 17:15:04 +00:00
|
|
|
format=<format>
|
|
|
|
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.
|
|
|
|
|
|
|
|
png-compression=<0-9>
|
|
|
|
PNG compression factor (speed vs. file size tradeoff) (default: 7)
|
|
|
|
jpeg-quality=<0-100>
|
2012-08-23 12:12:30 +00:00
|
|
|
JPEG quality factor (default: 90)
|
2012-08-06 17:15:04 +00:00
|
|
|
[no-]jpeg-progressive
|
2012-11-15 13:25:20 +00:00
|
|
|
Specify standard or progressive JPEG (default: no).
|
2012-08-06 17:15:04 +00:00
|
|
|
[no-]jpeg-baseline
|
2012-11-15 13:25:20 +00:00
|
|
|
Specify use of JPEG baseline or not (default: yes).
|
2012-08-06 17:15:04 +00:00
|
|
|
jpeg-optimize=<0-100>
|
2012-08-22 13:45:34 +00:00
|
|
|
JPEG optimization factor (default: 100)
|
2012-08-06 17:15:04 +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)
|
2012-08-06 17:15:04 +00:00
|
|
|
jpeg-dpi=<1->
|
|
|
|
JPEG DPI (default: 72)
|
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
|
|
|
outdir=<dirname>
|
2012-08-06 17:15:04 +00:00
|
|
|
Specify the directory to save the image files to (default: ``./``).
|