Browse code

Document null muxer.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>

Stefano Sabatini authored on 2011/01/31 23:01:46
Showing 1 changed files
... ...
@@ -109,4 +109,26 @@ ffmpeg -i file.mpg -acodec copy -vcodec copy \
109 109
      -y out.ts
110 110
 @end example
111 111
 
112
+@section null
113
+
114
+Null muxer.
115
+
116
+This muxer does not generate any output file, it is mainly useful for
117
+testing or benchmarking purposes.
118
+
119
+For example to benchmark decoding with @file{ffmpeg} you can use the
120
+command:
121
+@example
122
+ffmpeg -benchmark -i INPUT -f null out.null
123
+@end example
124
+
125
+Note that the above command does not read or write the @file{out.null}
126
+file, but specifying the output file is required by the @file{ffmpeg}
127
+syntax.
128
+
129
+Alternatively you can write the command as:
130
+@example
131
+ffmpeg -benchmark -i INPUT -f null -
132
+@end example
133
+
112 134
 @c man end MUXERS