[FFmpeg-cvslog] lavf/movenc: allow writing avc3 sample entry type

John Stebbins git at videolan.org
Fri Nov 17 00:26:57 EET 2017


ffmpeg | branch: master | John Stebbins <jstebbins at jetheaddev.com> | Wed Nov 15 09:17:39 2017 -0800| [ac922f942fa2eab80886563bf2fbbb4489b98d89] | committer: Michael Niedermayer

lavf/movenc: allow writing avc3 sample entry type

The avc3 sample entry type is useful for adaptive streaming.  It permits
parameter sets to be written inline in the video stream.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/movenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index cc3fc19d9b..01ae467fa1 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -6513,6 +6513,7 @@ static const AVCodecTag codec_3gp_tags[] = {
 const AVCodecTag codec_mp4_tags[] = {
     { AV_CODEC_ID_MPEG4       , MKTAG('m', 'p', '4', 'v') },
     { AV_CODEC_ID_H264        , MKTAG('a', 'v', 'c', '1') },
+    { AV_CODEC_ID_H264        , MKTAG('a', 'v', 'c', '3') },
     { AV_CODEC_ID_HEVC        , MKTAG('h', 'e', 'v', '1') },
     { AV_CODEC_ID_HEVC        , MKTAG('h', 'v', 'c', '1') },
     { AV_CODEC_ID_MPEG2VIDEO  , MKTAG('m', 'p', '4', 'v') },



More information about the ffmpeg-cvslog mailing list