mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
manpage: fix places that still treat FourCCs and pixel formats equal
The video filter chain traditionally used FourCCs for pixel formats. This was recently changed, but some parts of the manpage were not updated properly. Now there are two rypes of options: some which take a FourCC (as used with raw video formats), and some which take a symbolic format identifier (as used in the video filter chain). I realize that it's harder to specify FourCC for RGB formats now (TV stuff may need RGB). They use non-printable characters as part of the FourCC, and have to be specified as hexadecimal numbers (instead of a symbolic identifier). Because I can't be bothered to find out what these numbers are for the respective formats, just remove the old pseudo-FourCCs from the documentation.
This commit is contained in:
parent
89a49ffd74
commit
a410d82ade
@ -2026,9 +2026,8 @@
|
||||
|
||||
outfmt=<value>
|
||||
Specify the output format of the tuner with a preset value supported
|
||||
by the V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420)
|
||||
or an arbitrary format given as hex value. Try outfmt=help for a list
|
||||
of all available formats.
|
||||
by the V4L driver (YV12, UYVY, YUY2, I420)
|
||||
or an arbitrary format given as hex value.
|
||||
|
||||
width=<value>
|
||||
output window width
|
||||
|
@ -214,36 +214,36 @@ dsize[=aspect|w:h:aspect-method:r]
|
||||
<r>
|
||||
Rounds up to make both width and height divisible by <r> (default: 1).
|
||||
|
||||
format[=fourcc[:outfourcc]]
|
||||
format[=fmt[:outfmt]]
|
||||
Restricts the colorspace for the next filter without doing any conversion.
|
||||
Use together with the scale filter for a real conversion.
|
||||
|
||||
*NOTE*: For a list of available formats see ``format=fmt=help``.
|
||||
|
||||
<fourcc>
|
||||
format name like rgb15, bgr24, yv12, etc (default: yuy2)
|
||||
<outfourcc>
|
||||
<fmt>
|
||||
format name like rgb15, bgr24, 420p, etc (default: yuyv)
|
||||
<outfmt>
|
||||
Format name that should be substituted for the output. If this is not
|
||||
100% compatible with the <fourcc> value it will crash.
|
||||
100% compatible with the <fmt> value it will crash.
|
||||
|
||||
*EXAMPLE*
|
||||
|
||||
====================== =====================
|
||||
Valid Invalid (will crash)
|
||||
====================== =====================
|
||||
``format=rgb24:bgr24`` ``format=rgb24:yv12``
|
||||
``format=yuyv:yuy2``
|
||||
``format=rgb24:bgr24`` ``format=rgb24:420p``
|
||||
``format=yuyv:uyvy``
|
||||
====================== =====================
|
||||
|
||||
noformat[=fourcc]
|
||||
noformat[=fmt]
|
||||
Restricts the colorspace for the next filter without doing any conversion.
|
||||
Unlike the format filter, this will allow any colorspace except the one
|
||||
you specify.
|
||||
|
||||
*NOTE*: For a list of available formats see ``noformat=fmt=help``.
|
||||
|
||||
<fourcc>
|
||||
format name like rgb15, bgr24, yv12, etc (default: yv12)
|
||||
<fmt>
|
||||
format name like rgb15, bgr24, 420p, etc (default: 420p)
|
||||
|
||||
pp[=filter1[:option1[:option2...]]/[-]filter2...]
|
||||
Enables the specified chain of postprocessing subfilters. Subfilters must
|
||||
|
Loading…
Reference in New Issue
Block a user