summaryrefslogtreecommitdiff
path: root/doc/ffmpeg.txt
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2011-10-11 16:04:34 +0200
committerClément Bœsch <ubitux@gmail.com>2011-10-12 15:43:52 +0200
commitcdd30e5642d600ac1ffaf80dcf37d0c6cf4aa63a (patch)
tree8092252cb65f26c393938a8152cd7cb94b253e81 /doc/ffmpeg.txt
parent4edcdf5c443b796dcd939d7d2a0cc08578726863 (diff)
downloadffmpeg-cdd30e5642d600ac1ffaf80dcf37d0c6cf4aa63a.tar.gz
doc: small ascii diagram on I/O files and streams in ffmpeg.c
Diffstat (limited to 'doc/ffmpeg.txt')
-rw-r--r--doc/ffmpeg.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/ffmpeg.txt b/doc/ffmpeg.txt
new file mode 100644
index 0000000000..1fa42e78ee
--- /dev/null
+++ b/doc/ffmpeg.txt
@@ -0,0 +1,47 @@
+ :
+ ffmpeg.c : libav*
+ ======== : ======
+ :
+ :
+ --------------------------------:---> AVStream...
+ InputStream input_streams[] / :
+ / :
+ InputFile input_files[] +==========================+ / ^ :
+ ------> 0 | : st ---:-----------:--/ : :
+ ^ +------+-----------+-----+ / +--------------------------+ : :
+ : | :ist_index--:-----:---------/ 1 | : st : | : :
+ : +------+-----------+-----+ +==========================+ : :
+ nb_input_files : | :ist_index--:-----:------------------> 2 | : st : | : :
+ : +------+-----------+-----+ +--------------------------+ : nb_input_streams :
+ : | :ist_index : | 3 | ... | : :
+ v +------+-----------+-----+ +--------------------------+ : :
+ --> 4 | | : :
+ | +--------------------------+ : :
+ | 5 | | : :
+ | +==========================+ v :
+ | :
+ | :
+ | :
+ | :
+ --------- --------------------------------:---> AVStream...
+ \ / :
+ OutputStream output_streams[] / :
+ \ / :
+ +======\======================/======+ ^ :
+ ------> 0 | : source_index : st-:--- | : :
+ OuputFile output_files[] / +------------------------------------+ : :
+ / 1 | : : : | : :
+ ^ +------+------------+-----+ / +------------------------------------+ : :
+ : | : ost_index -:-----:------/ 2 | : : : | : :
+ nb_output_files : +------+------------+-----+ +====================================+ : :
+ : | : ost_index -:-----|-----------------> 3 | : : : | : :
+ : +------+------------+-----+ +------------------------------------+ : nb_output_streams :
+ : | : : | 4 | | : :
+ : +------+------------+-----+ +------------------------------------+ : :
+ : | : : | 5 | | : :
+ v +------+------------+-----+ +------------------------------------+ : :
+ 6 | | : :
+ +------------------------------------+ : :
+ 7 | | : :
+ +====================================+ v :
+ :