[FFmpeg-devel] [PATCH 2/2] avformat/hlsenc: use frag_every_frame flag to make fmp4

Steven Liu lq at chinaffmpeg.org
Tue Mar 13 12:05:05 EET 2018


fix ticket: #7023

Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 185e3442f6..28e0047cf0 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -782,7 +782,7 @@ static int hls_mux_init(AVFormatContext *s, VariantStream *vs)
 
         av_dict_copy(&options, hls->format_options, 0);
         av_dict_set(&options, "fflags", "-autobsf", 0);
-        av_dict_set(&options, "movflags", "frag_custom+dash+delay_moov", 0);
+        av_dict_set(&options, "movflags", "frag_every_frame+dash+delay_moov", 0);
         ret = avformat_init_output(oc, &options);
         if (ret < 0)
             return ret;
-- 
2.15.1





More information about the ffmpeg-devel mailing list