diff mbox

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

Message ID 20171115171739.636-1-jstebbins@jetheaddev.com
State Accepted
Commit ac922f942fa2eab80886563bf2fbbb4489b98d89
Headers show

Commit Message

John Stebbins Nov. 15, 2017, 5:17 p.m. UTC
The avc3 sample entry type is useful for adaptive streaming.  It permits
parameter sets to be written inline in the video stream.
---
 libavformat/movenc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer Nov. 16, 2017, 10:14 p.m. UTC | #1
On Wed, Nov 15, 2017 at 09:17:39AM -0800, John Stebbins wrote:
> The avc3 sample entry type is useful for adaptive streaming.  It permits
> parameter sets to be written inline in the video stream.
> ---
>  libavformat/movenc.c | 1 +
>  1 file changed, 1 insertion(+)

will apply

thanks

[...]
diff mbox

Patch

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') },