HEVC files with alpha channel won't decode

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Calkim1518

  • Posts: 6
  • Joined: Mon Jan 24, 2022 11:54 am
  • Real Name: Jinmyung Kim

HEVC files with alpha channel won't decode

PostTue Jan 25, 2022 9:14 pm

So I've run into the problem that my H.265 with Alpha files seem unable to be decoded by resolve. It had worked perfectly until I had to update my OS to OS Monterey from OS Big Sur. Same project and same version of Resolve Free but suddenly after the update all my videos appear as 'Media Offline'.
To clarify things, Firstly, its not a unlinked media problem as the files lead straight back to the original files on my computer when I click 'open file location'. Secondly, I realised it was a problem with resolve being unable to read the alpha channels after I tried transcoding it to H.265 without alpha. Then the video files work just fine. Is this is settings problem? or did Resolve remove the ability to decode HEVC with alpha files following OS Monterey?

Mac mini m1 2020 256g 8g ram
Resolve free 17.4.3
OS Monterey
file : H.265 Main L5.0 with alpha (Exported from procreate)
Attachments
IMG_0608.JPG
IMG_0608.JPG (747.1 KiB) Viewed 1788 times
Offline
User avatar

Uli Plank

  • Posts: 21635
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: HEVC files with alpha channel won't decode

PostWed Jan 26, 2022 10:11 am

Put a file on a transfer service and post the link, so we can tell.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.6, MacOS 13.6.6, 2017 iMac, 32 GB, Radeon Pro 580
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G
Offline

Calkim1518

  • Posts: 6
  • Joined: Mon Jan 24, 2022 11:54 am
  • Real Name: Jinmyung Kim

Re: HEVC files with alpha channel won't decode

PostWed Jan 26, 2022 6:47 pm

Uli Plank wrote:Put a file on a transfer service and post the link, so we can tell.



https://fromsmash.com/hevcwithalpha
That's the link that for the file
Offline

Calkim1518

  • Posts: 6
  • Joined: Mon Jan 24, 2022 11:54 am
  • Real Name: Jinmyung Kim

Re: HEVC files with alpha channel won't decode

PostFri Jan 28, 2022 7:13 am

Uli Plank wrote:Put a file on a transfer service and post the link, so we can tell.


Could you find anything that could be of help in solving the problem?
Offline

Mads Johansen

  • Posts: 905
  • Joined: Mon Dec 19, 2016 10:51 am

Re: HEVC files with alpha channel won't decode

PostFri Jan 28, 2022 8:23 am

No.
The strange thing is that the alpha is not specified anywhere in the metadata so I understand why Resolve refuses to show the file as it sees data it doesn't expect.

Metadata from mediainfo:
Code: Select all
General
Complete name                            : Overheating.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 164 KiB
Duration                                 : 1 s 250 ms
Overall bit rate                         : 1 072 kb/s
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main / Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 s 250 ms
Bit rate                                 : 1 062 kb/s
Width                                    : 1 920 pixels
Original width                           : 1 920 pixels / 1 920 pixels
Height                                   : 1 080 pixels
Original height                          : 1 080 pixels / 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 / 4:2:0
Bit depth                                : 8 bits / 8 bits
Bits/(Pixel*Frame)                       : 0.021
Stream size                              : 162 KiB (99%)
Title                                    : Core Media Video
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Color range                              : Limited / Full
Color primaries                          : Display P3
colour_primaries_Original                : Display P3 / Display P3
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.709 / BT.709
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.709 / BT.709
Codec configuration box                  : hvcC


Metadata from ffmpeg
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Overheating.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-12-14T19:08:09.000000Z
  Duration: 00:00:01.25, start: 0.000000, bitrate: 1072 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709/smpte432/bt709), 1920x1080, 1062 kb/s, 24 fps, 24 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2021-12-14T19:08:09.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC


I suspect the primary source is a bug in Quicktime, as the pixel format should be yuva420p to contain alpha information, not yuv420p.

(Edit: You can get around it with VP9, but I don't know if Quicktime supports that codec.
The alternative is ffmpeg -i Overheating.mov -pix_fmt yuva420p -c:v libvpx-vp9 -crf 0 overheat1.mp4 or your prefered ffmpeg frontend)
Last edited by Mads Johansen on Fri Jan 28, 2022 8:43 am, edited 1 time in total.
Davinci Resolve Studio 19B Build 20, Windows 11, Nvidia 3060 TI, 551.86 Studio
Offline

Calkim1518

  • Posts: 6
  • Joined: Mon Jan 24, 2022 11:54 am
  • Real Name: Jinmyung Kim

Re: HEVC files with alpha channel won't decode

PostFri Jan 28, 2022 8:40 am

Mads Johansen wrote:No.
The strange thing is that the alpha is not specified anywhere in the metadata so I understand why Resolve refuses to show the file as it sees data it doesn't expect.

Metadata from mediainfo:
Code: Select all
General
Complete name                            : Overheating.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 164 KiB
Duration                                 : 1 s 250 ms
Overall bit rate                         : 1 072 kb/s
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main / Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 s 250 ms
Bit rate                                 : 1 062 kb/s
Width                                    : 1 920 pixels
Original width                           : 1 920 pixels / 1 920 pixels
Height                                   : 1 080 pixels
Original height                          : 1 080 pixels / 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 / 4:2:0
Bit depth                                : 8 bits / 8 bits
Bits/(Pixel*Frame)                       : 0.021
Stream size                              : 162 KiB (99%)
Title                                    : Core Media Video
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Color range                              : Limited / Full
Color primaries                          : Display P3
colour_primaries_Original                : Display P3 / Display P3
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.709 / BT.709
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.709 / BT.709
Codec configuration box                  : hvcC


Metadata from ffmpeg
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Overheating.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-12-14T19:08:09.000000Z
  Duration: 00:00:01.25, start: 0.000000, bitrate: 1072 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709/smpte432/bt709), 1920x1080, 1062 kb/s, 24 fps, 24 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2021-12-14T19:08:09.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC


I suspect the primary source is a bug in Quicktime, as the pixel format should be yuva420p to contain alpha information, not yuv420p.



Would transcoding the file be of any help??
Offline

Mads Johansen

  • Posts: 905
  • Joined: Mon Dec 19, 2016 10:51 am

Re: HEVC files with alpha channel won't decode

PostFri Jan 28, 2022 8:44 am

Calkim1518 wrote:
Mads Johansen wrote:No.
The strange thing is that the alpha is not specified anywhere in the metadata so I understand why Resolve refuses to show the file as it sees data it doesn't expect.

Metadata from mediainfo:
Code: Select all
General
Complete name                            : Overheating.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 164 KiB
Duration                                 : 1 s 250 ms
Overall bit rate                         : 1 072 kb/s
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main / Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 s 250 ms
Bit rate                                 : 1 062 kb/s
Width                                    : 1 920 pixels
Original width                           : 1 920 pixels / 1 920 pixels
Height                                   : 1 080 pixels
Original height                          : 1 080 pixels / 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 / 4:2:0
Bit depth                                : 8 bits / 8 bits
Bits/(Pixel*Frame)                       : 0.021
Stream size                              : 162 KiB (99%)
Title                                    : Core Media Video
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Color range                              : Limited / Full
Color primaries                          : Display P3
colour_primaries_Original                : Display P3 / Display P3
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.709 / BT.709
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.709 / BT.709
Codec configuration box                  : hvcC


Metadata from ffmpeg
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Overheating.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-12-14T19:08:09.000000Z
  Duration: 00:00:01.25, start: 0.000000, bitrate: 1072 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709/smpte432/bt709), 1920x1080, 1062 kb/s, 24 fps, 24 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2021-12-14T19:08:09.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC


I suspect the primary source is a bug in Quicktime, as the pixel format should be yuva420p to contain alpha information, not yuv420p.



Would transcoding the file be of any help??


Yes, see above. (I was slow, sorry)
Davinci Resolve Studio 19B Build 20, Windows 11, Nvidia 3060 TI, 551.86 Studio
Offline

Calkim1518

  • Posts: 6
  • Joined: Mon Jan 24, 2022 11:54 am
  • Real Name: Jinmyung Kim

Re: HEVC files with alpha channel won't decode

PostFri Jan 28, 2022 10:08 am

Mads Johansen wrote:No.
The strange thing is that the alpha is not specified anywhere in the metadata so I understand why Resolve refuses to show the file as it sees data it doesn't expect.

Metadata from mediainfo:
Code: Select all
General
Complete name                            : Overheating.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 164 KiB
Duration                                 : 1 s 250 ms
Overall bit rate                         : 1 072 kb/s
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main / Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 s 250 ms
Bit rate                                 : 1 062 kb/s
Width                                    : 1 920 pixels
Original width                           : 1 920 pixels / 1 920 pixels
Height                                   : 1 080 pixels
Original height                          : 1 080 pixels / 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 / 4:2:0
Bit depth                                : 8 bits / 8 bits
Bits/(Pixel*Frame)                       : 0.021
Stream size                              : 162 KiB (99%)
Title                                    : Core Media Video
Encoded date                             : UTC 2021-12-14 19:08:09
Tagged date                              : UTC 2021-12-14 19:08:10
Color range                              : Limited / Full
Color primaries                          : Display P3
colour_primaries_Original                : Display P3 / Display P3
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.709 / BT.709
Matrix coefficients                      : BT.709
matrix_coefficients_Original             : BT.709 / BT.709
Codec configuration box                  : hvcC


Metadata from ffmpeg
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Overheating.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-12-14T19:08:09.000000Z
  Duration: 00:00:01.25, start: 0.000000, bitrate: 1072 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709/smpte432/bt709), 1920x1080, 1062 kb/s, 24 fps, 24 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2021-12-14T19:08:09.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC


I suspect the primary source is a bug in Quicktime, as the pixel format should be yuva420p to contain alpha information, not yuv420p.

(Edit: You can get around it with VP9, but I don't know if Quicktime supports that codec.
The alternative is ffmpeg -i Overheating.mov -pix_fmt yuva420p -c:v libvpx-vp9 -crf 0 overheat1.mp4 or your prefered ffmpeg frontend)


It worked!! Took me a little over an hour to figure out understand how ffmpeg works but it was worth the struggle. Thank you mate!! Wish I could give you a hug right now but I guess a virtual one will have to suffice.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Mixolydian and 172 guests