aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-01-31 15:01:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-09 03:31:21 +0100
commit7e7afb3d5441d9a0c45b49ada3fc1e9ddea91a8c (patch)
tree46aeaacc6e4c4311a2a40f3806eb02f0f160953c
parentef15d71c1face2837b8afedfdfdd042871bc0e77 (diff)
downloadffmpeg-7e7afb3d5441d9a0c45b49ada3fc1e9ddea91a8c.tar.gz
Document null muxer.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit f4acb837eb4af74996b678f3f55eaa66c47a66ee)
-rw-r--r--doc/muxers.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index d98abefda3..d661c9694d 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -109,4 +109,26 @@ ffmpeg -i file.mpg -acodec copy -vcodec copy \
-y out.ts
@end example
+@section null
+
+Null muxer.
+
+This muxer does not generate any output file, it is mainly useful for
+testing or benchmarking purposes.
+
+For example to benchmark decoding with @file{ffmpeg} you can use the
+command:
+@example
+ffmpeg -benchmark -i INPUT -f null out.null
+@end example
+
+Note that the above command does not read or write the @file{out.null}
+file, but specifying the output file is required by the @file{ffmpeg}
+syntax.
+
+Alternatively you can write the command as:
+@example
+ffmpeg -benchmark -i INPUT -f null -
+@end example
+
@c man end MUXERS