[FFmpeg-cvslog] movenc: use 'hev1' tag for HEVC in MODE_MOV.

Tim Walker git at videolan.org
Sun Mar 9 22:37:20 CET 2014


ffmpeg | branch: master | Tim Walker <tdskywalker at gmail.com> | Mon Mar  3 14:53:40 2014 +0000| [1d9014f0b008485eac4c19d5f5e11ede59237167] | committer: Vittorio Giovara

movenc: use 'hev1' tag for HEVC in MODE_MOV.

'hvc1' requires that parameter set NAL units be
present only in the samples entry, but not in the
samples themselves, requiring that additional
parameter sets, if present, be filtered out of the
samples and placed in new, additional sample entries
if they override or otherwise conflict with the
parameter sets present in the first sample entry.
We do not have any way of doing this at present, so
the files we produce can only comply with the
restrictions set for the 'hev1' sample entry name in
ISO/IEC 14496-15.

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

 libavformat/isom.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/isom.c b/libavformat/isom.c
index 1748d7c..19d6291 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -139,8 +139,8 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
 
     { AV_CODEC_ID_RAWVIDEO, MKTAG('W', 'R', 'A', 'W') },
 
-    { AV_CODEC_ID_HEVC, MKTAG('h', 'v', 'c', '1') }, /* HEVC/H.265 which indicates parameter sets shall not be in ES */
     { AV_CODEC_ID_HEVC, MKTAG('h', 'e', 'v', '1') }, /* HEVC/H.265 which indicates parameter sets may be in ES */
+    { AV_CODEC_ID_HEVC, MKTAG('h', 'v', 'c', '1') }, /* HEVC/H.265 which indicates parameter sets shall not be in ES */
 
     { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, /* AVC-1/H.264 */
     { AV_CODEC_ID_H264, MKTAG('a', 'i', '5', 'p') }, /* AVC-Intra  50M 720p24/30/60 */



More information about the ffmpeg-cvslog mailing list