From d977c30e1e32e0b35c5e2d8d3d382cdfcdf66b09 Mon Sep 17 00:00:00 2001
From: Ramiro Polla <ramiro.polla@gmail.com>
Date: Wed, 8 Jan 2014 02:48:24 -0200
Subject: [PATCH] doc/muxers/image2: add strftime option

---
 doc/muxers.texi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 8a2bed0..2911575 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -314,6 +314,13 @@ Note also that the pattern must not necessarily contain "%d" or
 ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
 @end example
 
+The @option{strftime} option allows you to expand the filename with date
+and time information. Check the documentation of @command{strftime()} for the
+syntax.
+@example
+ffmpeg -f v4l2 -r 1 -i /dev/video0 -f image2 -strftime 1 "%Y-%m-%d_%H-%M-%S.jpg"
+@end example
+
 @table @option
 @item start_number @var{number}
 Start the sequence from @var{number}. Default value is 1. Must be a
@@ -324,6 +331,10 @@ If @var{number} is nonzero, the filename will always be interpreted as just a
 filename, not a pattern, and this file will be continuously overwritten with new
 images.
 
+@item strftime @var{number}
+If @var{number} is nonzero, the filename will be expanded with date and time
+information from @command{strftime()}. Default value is 0.
+
 @end table
 
 The image muxer supports the .Y.U.V image file format. This format is
-- 
1.7.9.5

