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
2e67f751
Commit
2e67f751
authored
Feb 19, 2019
by
Karthick J
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashenc: Added comments
Added comments regarding usage of certain movflags in streaming mode.
parent
ca5ec4cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dashenc.c
libavformat/dashenc.c
+3
-0
No files found.
libavformat/dashenc.c
View file @
2e67f751
...
@@ -1216,6 +1216,9 @@ static int dash_init(AVFormatContext *s)
...
@@ -1216,6 +1216,9 @@ static int dash_init(AVFormatContext *s)
if
(
os
->
segment_type
==
SEGMENT_TYPE_MP4
)
{
if
(
os
->
segment_type
==
SEGMENT_TYPE_MP4
)
{
if
(
c
->
streaming
)
if
(
c
->
streaming
)
// frag_every_frame : Allows lower latency streaming
// skip_sidx : Reduce bitrate overhead
// skip_trailer : Avoids growing memory usage with time
av_dict_set
(
&
opts
,
"movflags"
,
"frag_every_frame+dash+delay_moov+skip_sidx+skip_trailer"
,
0
);
av_dict_set
(
&
opts
,
"movflags"
,
"frag_every_frame+dash+delay_moov+skip_sidx+skip_trailer"
,
0
);
else
else
av_dict_set
(
&
opts
,
"movflags"
,
"frag_custom+dash+delay_moov"
,
0
);
av_dict_set
(
&
opts
,
"movflags"
,
"frag_custom+dash+delay_moov"
,
0
);
...
...
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