[FFmpeg-devel] [PATCH] doc/demuxers: add docs for rawvideo demuxers

Stefano Sabatini stefasab at gmail.com
Sat Feb 9 00:59:17 CET 2013

 doc/demuxers.texi |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 7a7545c..a84597e 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
+ at 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:
+ at table @option
+ at item framerate
+Set input video frame rate. Default value is 25.
+ at item pixel_format
+Set the input video pixel format. Default value is @code{yuv420p}.
+ at item video_size
+Set the input video size.
+ at end table
+For example to read a rawvideo file @file{input.raw} with
+ at 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:
+ at example
+ffplay -f rawvideo -pixel_format rgb24 -video_size 320x240 -framerate 10 input.raw
+ at end example
 @section sbg
 SBaGen script demuxer.

More information about the ffmpeg-devel mailing list