[FFmpeg-cvslog] movenc: allow alternative hvc1 h.265 codec tag
John Stebbins
git at videolan.org
Wed Jul 5 22:54:44 EEST 2017
ffmpeg | branch: master | John Stebbins <stebbins at jetheaddev.com> | Thu Jun 15 11:47:16 2017 -0700| [62861660fa4ab30830654b3f40d77f9ca029b3a7] | committer: Derek Buitenhuis
movenc: allow alternative hvc1 h.265 codec tag
If AVCodecParameters.codec_tag is 'hvc1' use it instead of 'hev1' for
h.265 streams. QuickTime (and other Apple software) requires 'hvc1'.
(cherry picked from commit 84ab1cc437fa47a00532f305b9fe15b5b66c8c5e)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62861660fa4ab30830654b3f40d77f9ca029b3a7
---
libavformat/movenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index e7234ac27b..88f2f2c819 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -6437,6 +6437,7 @@ 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_HEVC , MKTAG('h', 'e', 'v', '1') },
+ { AV_CODEC_ID_HEVC , MKTAG('h', 'v', 'c', '1') },
{ AV_CODEC_ID_MPEG2VIDEO , MKTAG('m', 'p', '4', 'v') },
{ AV_CODEC_ID_MPEG1VIDEO , MKTAG('m', 'p', '4', 'v') },
{ AV_CODEC_ID_MJPEG , MKTAG('m', 'p', '4', 'v') },
More information about the ffmpeg-cvslog
mailing list