mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 03:11:20 +00:00
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.
This commit is contained in:
parent
e7b023e1db
commit
49c67e79ca
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user