From f4acb837eb4af74996b678f3f55eaa66c47a66ee Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 31 Jan 2011 15:01:46 +0100 Subject: Document null muxer. Signed-off-by: Janne Grunau --- doc/muxers.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/muxers.texi') 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 -- cgit v1.2.3