Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7af7b45c
Commit
7af7b45c
authored
Aug 22, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/image2: extend start_number range to accept zero
Address trac ticket #2884.
parent
25e4ec6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
muxers.texi
doc/muxers.texi
+1
-1
img2enc.c
libavformat/img2enc.c
+1
-1
version.h
libavformat/version.h
+1
-1
No files found.
doc/muxers.texi
View file @
7af7b45c
...
@@ -260,7 +260,7 @@ ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
...
@@ -260,7 +260,7 @@ ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
@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
posi
tive number.
non-nega
tive number.
@item -update @var{number}
@item -update @var{number}
If @var{number} is nonzero, the filename will always be interpreted as just a
If @var{number} is nonzero, the filename will always be interpreted as just a
...
...
libavformat/img2enc.c
View file @
7af7b45c
...
@@ -142,7 +142,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -142,7 +142,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
static
const
AVOption
muxoptions
[]
=
{
static
const
AVOption
muxoptions
[]
=
{
{
"updatefirst"
,
"continuously overwrite one file"
,
OFFSET
(
update
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"updatefirst"
,
"continuously overwrite one file"
,
OFFSET
(
update
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"update"
,
"continuously overwrite one file"
,
OFFSET
(
update
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"update"
,
"continuously overwrite one file"
,
OFFSET
(
update
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"start_number"
,
"set first number in the sequence"
,
OFFSET
(
img_number
),
AV_OPT_TYPE_INT
,
{
.
i64
=
1
},
1
,
INT_MAX
,
ENC
},
{
"start_number"
,
"set first number in the sequence"
,
OFFSET
(
img_number
),
AV_OPT_TYPE_INT
,
{
.
i64
=
1
},
0
,
INT_MAX
,
ENC
},
{
"strftime"
,
"use strftime for filename"
,
OFFSET
(
use_strftime
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
"strftime"
,
"use strftime for filename"
,
OFFSET
(
use_strftime
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
ENC
},
{
NULL
},
{
NULL
},
};
};
...
...
libavformat/version.h
View file @
7af7b45c
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MINOR 14
#define LIBAVFORMAT_VERSION_MINOR 14
#define LIBAVFORMAT_VERSION_MICRO 10
1
#define LIBAVFORMAT_VERSION_MICRO 10
2
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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