Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6a99ecb8
Commit
6a99ecb8
authored
Jan 08, 2014
by
Ramiro Polla
Committed by
Stefano Sabatini
Jan 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/muxers/image2: document strftime option
Signed-off-by:
Stefano Sabatini
<
stefasab@gmail.com
>
parent
db70f2d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
muxers.texi
doc/muxers.texi
+14
-0
No files found.
doc/muxers.texi
View file @
6a99ecb8
...
@@ -314,6 +314,17 @@ Note also that the pattern must not necessarily contain "%d" or
...
@@ -314,6 +314,17 @@ Note also that the pattern must not necessarily contain "%d" or
ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
@end example
@end example
The @option{strftime} option allows you to expand the filename with
date and time information. Check the documentation of
the @code{strftime()} function for the syntax.
For example to generate image files from the @code{strftime()}
"%Y-%m-%d_%H-%M-%S" pattern, the following @command{ffmpeg} command
can be used:
@example
ffmpeg -f v4l2 -r 1 -i /dev/video0 -f image2 -strftime 1 "%Y-%m-%d_%H-%M-%S.jpg"
@end example
@table @option
@table @option
@item start_number @var{number}
@item start_number @var{number}
Start the sequence from @var{number}. Default value is 1. Must be a
Start the sequence from @var{number}. Default value is 1. Must be a
...
@@ -324,6 +335,9 @@ If @var{number} is nonzero, the filename will always be interpreted as just a
...
@@ -324,6 +335,9 @@ 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
filename, not a pattern, and this file will be continuously overwritten with new
images.
images.
@item strftime @var{[0|1]}
If set to 1, expand the filename with date and time information from
@code{strftime()}. Default value is 0.
@end table
@end table
The image muxer supports the .Y.U.V image file format. This format is
The image muxer supports the .Y.U.V image file format. This format is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment