mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/dashenc: Added comments
Added comments regarding usage of certain movflags in streaming mode.
This commit is contained in:
parent
ca5ec4cbbc
commit
2e67f751b5
|
@ -1216,6 +1216,9 @@ static int dash_init(AVFormatContext *s)
|
||||||
|
|
||||||
if (os->segment_type == SEGMENT_TYPE_MP4) {
|
if (os->segment_type == SEGMENT_TYPE_MP4) {
|
||||||
if (c->streaming)
|
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);
|
av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+skip_sidx+skip_trailer", 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);
|
||||||
|
|
Loading…
Reference in New Issue