diff options
author | Karthick Jeyapal <kjeyapal@akamai.com> | 2018-09-14 13:17:20 +0300 |
---|---|---|
committer | Karthick Jeyapal <kjeyapal@akamai.com> | 2018-09-19 15:01:56 +0300 |
commit | 49c67e79ca761c43c1310a7e81f8607195a631b9 (patch) | |
tree | 402419f66242add158677b1be1a1de5e0886d1a4 /libavformat/dashenc.c | |
parent | e7b023e1db9fb13175929c02a02846d03510ec91 (diff) |
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.
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index df7a8564df..b0bb35426b 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1065,7 +1065,7 @@ static int dash_init(AVFormatContext *s) if (c->segment_type == SEGMENT_TYPE_MP4) { 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 av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0); } else { |