Skip to content

Commit

Permalink
delay_moov flag for fmp4 transcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
alexLopatin committed Jun 2, 2021
1 parent c6df1fc commit 46e8aba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 3_transcoding.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ int main(int argc, char *argv[])
//sp.codec_priv_key = "x264-params";
//sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
//sp.muxer_opt_key = "movflags";
//sp.muxer_opt_value = "frag_keyframe+empty_moov+default_base_moof";
//sp.muxer_opt_value = "frag_keyframe+empty_moov+delay_moov+default_base_moof";

/*
* H264 -> H264 (fixed gop)
Expand Down
2 changes: 1 addition & 1 deletion README-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ int encode(AVFormatContext *avfc, AVStream *dec_video_avs, AVStream *enc_video_a
sp.codec_priv_key = "x264-params";
sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
sp.muxer_opt_key = "movflags";
sp.muxer_opt_value = "frag_keyframe+empty_moov+default_base_moof";
sp.muxer_opt_value = "frag_keyframe+empty_moov+delay_moov+default_base_moof";

/*
* H264 -> H264 (fixed gop)
Expand Down
2 changes: 1 addition & 1 deletion README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ Vamos a convertir el stream desde `h264` a `h265`, como se espera de la versión
sp.codec_priv_key = "x264-params";
sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
sp.muxer_opt_key = "movflags";
sp.muxer_opt_value = "frag_keyframe+empty_moov+default_base_moof";
sp.muxer_opt_value = "frag_keyframe+empty_moov+delay_moov+default_base_moof";

/*
* H264 -> H264 (fixed gop)
Expand Down
2 changes: 1 addition & 1 deletion README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ int encode(AVFormatContext *avfc, AVStream *dec_video_avs, AVStream *enc_video_a
sp.codec_priv_key = "x264-params";
sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
sp.muxer_opt_key = "movflags";
sp.muxer_opt_value = "frag_keyframe+empty_moov+default_base_moof";
sp.muxer_opt_value = "frag_keyframe+empty_moov+delay_moov+default_base_moof";

/*
* H264 -> H264 (fixed gop)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ We converted the media stream from `h264` to `h265`, as expected the `h265` vers
sp.codec_priv_key = "x264-params";
sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1";
sp.muxer_opt_key = "movflags";
sp.muxer_opt_value = "frag_keyframe+empty_moov+default_base_moof";
sp.muxer_opt_value = "frag_keyframe+empty_moov+delay_moov+default_base_moof";

/*
* H264 -> H264 (fixed gop)
Expand Down

0 comments on commit 46e8aba

Please sign in to comment.