OSDN Git Service

Document null muxer.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 31 Jan 2011 14:01:46 +0000 (15:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Feb 2011 02:31:21 +0000 (03:31 +0100)
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit f4acb837eb4af74996b678f3f55eaa66c47a66ee)

doc/muxers.texi

index d98abef..d661c96 100644 (file)
@@ -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