[FFmpeg-cvslog] avformat/dashenc: Added comments

Karthick J git at videolan.org
Mon Feb 25 08:33:23 EET 2019


ffmpeg | branch: master | Karthick J <kjeyapal at akamai.com> | Tue Feb 19 12:33:29 2019 +0530| [2e67f751b55b614b68a131f6dceece1c56a620b3] | committer: Karthick J

avformat/dashenc: Added comments

Added comments regarding usage of certain movflags in streaming mode.

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

 libavformat/dashenc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index a0b44a0ec3..c5e882f4ae 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1216,6 +1216,9 @@ static int dash_init(AVFormatContext *s)
 
         if (os->segment_type == SEGMENT_TYPE_MP4) {
             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);
             else
                 av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0);



More information about the ffmpeg-cvslog mailing list