Skip to content
Snippets Groups Projects
Commit 49c67e79 authored by Karthick Jeyapal's avatar Karthick Jeyapal
Browse files

avformat/dashenc: Reduce Muxing overhead for chunked CMAF format

SIDX atom being inserted for every MOOF atom increases the muxing overhead.
This behaviour can be disabled for chunked CMAF format by enabling Global SIDX option of mov muxer.
parent e7b023e1
No related branches found
No related tags found
No related merge requests found
...@@ -1065,7 +1065,7 @@ static int dash_init(AVFormatContext *s) ...@@ -1065,7 +1065,7 @@ static int dash_init(AVFormatContext *s)
if (c->segment_type == SEGMENT_TYPE_MP4) { if (c->segment_type == SEGMENT_TYPE_MP4) {
if (c->streaming) if (c->streaming)
av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov", 0); av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+global_sidx", 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);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment