summaryrefslogtreecommitdiff
path: root/doc/demuxers.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-02-09 00:58:35 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-02-09 14:57:10 +0100
commitbad82243cd837ed1f330845f7d75fe1eed6c0b81 (patch)
treeafa2df8384334c600dcaadd2c584ff50c6bf843e /doc/demuxers.texi
parent765dbea9fe1f4cd97e44fec5179039f7a6a361fc (diff)
doc/demuxers: add docs for rawvideo demuxer
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r--doc/demuxers.texi29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 7a7545c764..d4a528baf6 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -185,6 +185,35 @@ ffmpeg -pattern_type glob -i "*.png" -r 10 out.mkv
@end example
@end itemize
+@section rawvideo
+
+Raw video demuxer.
+
+This demuxer allows to read raw video data. Since there is no header
+specifying the assumed video parameters, the user must specify them
+in order to be able to decode the data correctly.
+
+This demuxer accepts the following options:
+@table @option
+
+@item framerate
+Set input video frame rate. Default value is 25.
+
+@item pixel_format
+Set the input video pixel format. Default value is @code{yuv420p}.
+
+@item video_size
+Set the input video size. This value must be specified explicitly.
+@end table
+
+For example to read a rawvideo file @file{input.raw} with
+@command{ffplay}, assuming a pixel format of @code{rgb24}, a video
+size of @code{320x240}, and a frame rate of 10 images per second, use
+the command:
+@example
+ffplay -f rawvideo -pixel_format rgb24 -video_size 320x240 -framerate 10 input.raw
+@end example
+
@section sbg
SBaGen script demuxer.