diff options
author | wm4 <wm4@nowhere> | 2020-04-24 14:41:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-24 14:41:50 +0200 |
commit | 71295fb872ba6593c8591cff7398498e05afb298 (patch) | |
tree | d205cb839328edbc2ce87609ca8fa7f244c8d3b9 /DOCS/man/vf.rst | |
parent | 8909bf3317b26f35265efa7dae534f430c636bb3 (diff) | |
download | mpv-71295fb872ba6593c8591cff7398498e05afb298.tar.bz2 mpv-71295fb872ba6593c8591cff7398498e05afb298.tar.xz |
video: add alpha type metadata
This is mostly for testing. It adds passing through the metadata through
the video chain. The metadata can be manipulated with vf_format. Support
for zimg alpha conversion (if built with zimg after it gained alpha
support) is implemented. Support premultiplied input in vo_gpu.
Some things still seem to be buggy.
Diffstat (limited to 'DOCS/man/vf.rst')
-rw-r--r-- | DOCS/man/vf.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index 4f9268256c..3797ad26bd 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -339,6 +339,14 @@ Available mpv-only filters are: Force a specific scaler backend, if applicable. This is a debug option and could go away any time. + ``<alpha=auto|straight|premul>`` + Set the kind of alpha the video uses. Undefined effect if the image + format has no alpha channel (could be ignored or cause an error, + depending on how mpv internals evolve). Setting this may or may not + cause downstream image processing to treat alpha differently, depending + on support. With ``convert`` and zimg used, this will convert the alpha. + libswscale and other FFmpeg components completely ignore this. + ``lavfi=graph[:sws-flags[:o=opts]]`` Filter video using FFmpeg's libavfilter. |