0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

DOCS/options: update lavfi-complex examples

Show how to stack 3 or more videos, and remove the life filter example
because it should be used with av://lavfi:life.
This commit is contained in:
Guido Cella 2023-09-27 10:42:07 +02:00 committed by Dudemanguy
parent 649409140c
commit 3a2ebd616b

View File

@ -7307,11 +7307,11 @@ Miscellaneous
to fix the size).
To load a video track from another file, you can use
``--external-file=other.mkv``.
- ``--lavfi-complex='[vid1] [vid2] [vid3] hstack=inputs=3 [vo]'``
Use the inputs option to stack more than 2 tracks.
- ``--lavfi-complex='[aid1] asplit [t1] [ao] ; [t1] showvolume [t2] ; [vid1] [t2] overlay [vo]'``
Play audio track 1, and overlay the measured volume for each speaker
over video track 1.
- ``null:// --lavfi-complex='life [vo]'``
A libavfilter source-only filter (Conways' Life Game).
See the FFmpeg libavfilter documentation for details on the available
filters.