[FFmpeg-trac] #7347(avformat:reopened): HEVC HDR playback issues

FFmpeg trac at avcodec.org
Thu Aug 16 16:28:54 EEST 2018


#7347: HEVC HDR playback issues
-------------------------------------+-------------------------------------
             Reporter:  enen92       |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mov hevc     |               Blocked By:
  dvvideo                            |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Igor_Selivanov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 It will be nice to implement not only Dolby Vision "dvh1" profile, but
 also "dvhe", "dva1" und "dvav" Dolby Vision profiles. The follow patch
 fixes codec recognition error.
 {{{
 +++ libavformat/isom.c    (working copy)
 @@ -164,6 +164,13 @@
      { 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 */

 +    // Dolby vision HEVC
 +    { AV_CODEC_ID_HEVC, MKTAG('d', 'v', 'h', 'e') }, /* HEVC/H.265 Dobly
 Vision HEV1  */
 +    //{ AV_CODEC_ID_HEVC, MKTAG('d', 'v', 'h', '1') }, /* HEVC/H.265
 Dolby Vision HVC1  */
 +    // Dolby vision H264
 +    { AV_CODEC_ID_H264, MKTAG('d', 'v', 'a', 'v') }, /* HEVC/H.264 Dolby
 Vision AVC3S  */
 +    { AV_CODEC_ID_H264, MKTAG('d', 'v', 'a', '1') }, /* HEVC/H.264 Dolby
 Vision AVC1  */
 +
      { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, /* AVC-1/H.264 */
      { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '2') },
      { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '3') },
 }}}
 Please note that patch above works only for mov container (and not for
 mp4, mkv, ts ...). Unfortunately MKTAG('d', 'v', 'h', '1') codec_tag is
 already used for AV_CODEC_ID_DVVIDEO codec. It's why it's commented in my
 patch, but it will be nice to have at least for "mp4" und "ts".

 Dolby Vision public documentation can be found under:
 https://www.dolby.com/us/en/technologies/dolby-vision/dolby-vision-
 bitstreams-within-the-iso-base-media-file-format-v2.0.pdf
 https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision-
 profiles-levels-v1-2-92-171021.pdf

 Dobly Vision transport stream with codec tag "dvhe" can be found under:
 http://4kmedia.org/tag/dolby-vision/

 I hope it helps (FYI: VLC supports Dolby Vision profiles)
 Thanks in advance

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7347#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list