[FFmpeg-cvslog] doc/ffmpeg.texi: add a diagram for the loopback decoder example

Anton Khirnov git at videolan.org
Mon Oct 7 11:57:17 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Oct  4 09:44:48 2024 +0200| [a2881814b854edbae88dc6d55f1b242360db6283] | committer: Anton Khirnov

doc/ffmpeg.texi: add a diagram for the loopback decoder example

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2881814b854edbae88dc6d55f1b242360db6283
---

 doc/ffmpeg.texi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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:
+ at 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)  │
+│          │               │  └─────────┘
+└──────────┴───────────────┘
+ at end verbatim
+
+
 @c man end DETAILED DESCRIPTION
 
 @anchor{Stream selection}



More information about the ffmpeg-cvslog mailing list