[FFmpeg-cvslog] movenc: use 'hev1' tag for HEVC in MODE_MOV.
Tim Walker
git at videolan.org
Tue Mar 11 11:57:14 CET 2014
ffmpeg | branch: release/2.2 | Tim Walker <tdskywalker at gmail.com> | Mon Mar 3 14:53:40 2014 +0000| [ea3309eba715e83027e8ece4a226e39a4bf2a6ce] | committer: Reinhard Tartler
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.
(cherry picked from commit 1d9014f0b008485eac4c19d5f5e11ede59237167)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea3309eba715e83027e8ece4a226e39a4bf2a6ce
---
libavformat/isom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/isom.c b/libavformat/isom.c
index 9b32b7d..a6197ab 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -136,8 +136,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