ffmpeg | branch: master | Karthick Jeyapal <kjeya...@akamai.com> | Fri Sep 14 
16:05:20 2018 +0530| [49c67e79ca761c43c1310a7e81f8607195a631b9] | committer: 
Karthick Jeyapal

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49c67e79ca761c43c1310a7e81f8607195a631b9
---

 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to