summaryrefslogtreecommitdiff
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-01-31 15:01:46 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-02-08 13:20:56 +0100
commitf4acb837eb4af74996b678f3f55eaa66c47a66ee (patch)
tree3071e716f5dbfa36ff83e7d715f028043df61826 /doc/muxers.texi
parenta1c1d3c003b0ec16fdb6574913781313fb2c7ab6 (diff)
Document null muxer.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'doc/muxers.texi')
-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