Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
5fbceb2c
Commit
5fbceb2c
authored
12 years ago
by
Luca Barbato
Browse files
Options
Downloads
Patches
Plain Diff
hls: add start_number option
parent
ddd7559a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/muxers.texi
+1
-0
1 addition, 0 deletions
doc/muxers.texi
libavformat/hlsenc.c
+1
-0
1 addition, 0 deletions
libavformat/hlsenc.c
with
2 additions
and
0 deletions
doc/muxers.texi
+
1
−
0
View file @
5fbceb2c
...
@@ -109,6 +109,7 @@ avconv -i in.nut out.m3u8
...
@@ -109,6 +109,7 @@ avconv -i in.nut out.m3u8
@item -hls_time segment length in seconds
@item -hls_time segment length in seconds
@item -hls_list_size maximum number of playlist entries
@item -hls_list_size maximum number of playlist entries
@item -hls_wrap number after which index wraps
@item -hls_wrap number after which index wraps
@item -start_number first number in the sequence
@end table
@end table
@anchor{image2}
@anchor{image2}
...
...
This diff is collapsed.
Click to expand it.
libavformat/hlsenc.c
+
1
−
0
View file @
5fbceb2c
...
@@ -295,6 +295,7 @@ static int hls_write_trailer(struct AVFormatContext *s)
...
@@ -295,6 +295,7 @@ static int hls_write_trailer(struct AVFormatContext *s)
#define OFFSET(x) offsetof(HLSContext, x)
#define OFFSET(x) offsetof(HLSContext, x)
#define E AV_OPT_FLAG_ENCODING_PARAM
#define E AV_OPT_FLAG_ENCODING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
options
[]
=
{
{
"start_number"
,
"first number in the sequence"
,
OFFSET
(
number
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
E
},
{
"hls_time"
,
"segment length in seconds"
,
OFFSET
(
time
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
2
},
0
,
FLT_MAX
,
E
},
{
"hls_time"
,
"segment length in seconds"
,
OFFSET
(
time
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
2
},
0
,
FLT_MAX
,
E
},
{
"hls_list_size"
,
"maximum number of playlist entries"
,
OFFSET
(
size
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
0
,
INT_MAX
,
E
},
{
"hls_list_size"
,
"maximum number of playlist entries"
,
OFFSET
(
size
),
AV_OPT_TYPE_INT
,
{.
i64
=
5
},
0
,
INT_MAX
,
E
},
{
"hls_wrap"
,
"number after which the index wraps"
,
OFFSET
(
wrap
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
E
},
{
"hls_wrap"
,
"number after which the index wraps"
,
OFFSET
(
wrap
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
E
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment