aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-10-04 09:44:48 +0200
committerAnton Khirnov <anton@khirnov.net>2024-10-07 10:45:10 +0200
commita2881814b854edbae88dc6d55f1b242360db6283 (patch)
tree5150f1ba5679f7e85f21df86431a2fdec06c672c
parent794308c61b386b613f7e68b317dfa7debddf2f07 (diff)
downloadffmpeg-a2881814b854edbae88dc6d55f1b242360db6283.tar.gz
doc/ffmpeg.texi: add a diagram for the loopback decoder example
-rw-r--r--doc/ffmpeg.texi32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 1bb322634d..d11fe7c8f4 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -526,6 +526,38 @@ reads an input video and
@end itemize
+Such a transcoding pipeline can be represented with the following diagram:
+@verbatim
+┌──────────┬───────────────┐
+│ demuxer │ │ ┌─────────┐ ┌─────────┐ ┌────────────────────┐
+╞══════════╡ video stream │ │ video │ │ video │ │ null muxer │
+│ INPUT │ ├──⮞│ decoder ├──┬────────⮞│ encoder ├─┬─⮞│(discards its input)│
+│ │ │ └─────────┘ │ │(libx264)│ │ └────────────────────┘
+└──────────┴───────────────┘ │ └─────────┘ │
+ ╭───────⮜──╯ ┌─────────┐ │
+ │ │loopback │ │
+ │ ╭─────⮜──────┤ decoder ├────⮜──╯
+ │ │ └─────────┘
+ │ │
+ │ │
+ │ │ ┌───────────────────┐
+ │ │ │complex filtergraph│
+ │ │ ╞═══════════════════╡
+ │ │ │ ┌─────────────┐ │
+ ╰─╫─⮞├─⮞│ hstack ├─⮞├╮
+ ╰─⮞├─⮞│ │ ││
+ │ └─────────────┘ ││
+ └───────────────────┘│
+ │
+┌──────────┬───────────────┐ ┌─────────┐ │
+│ muxer │ │ │ video │ │
+╞══════════╡ video stream │⮜─┤ encoder ├───────⮜──────────╯
+│ OUTPUT │ │ │ (ffv1) │
+│ │ │ └─────────┘
+└──────────┴───────────────┘
+@end verbatim
+
+
@c man end DETAILED DESCRIPTION
@anchor{Stream selection}