Log in

View Full Version : I failed to create heic with alpha using mp4box.


iAM261917
20th November 2020, 23:16
The command line I use:
mp4box -add-image "img.mp4":primary:id=1:alpha -add-image "alpha.mp4":id=2:ref=auxl -brand heic -new "img.heic"
(I also tried a few more combinations, this one is most close to success, I suppose)

GIMP tells me this:
Loading HEIF image failed: Invalid input: Type of auxiliary image unspecified: No auxC property for image 2

What shall I do?

(Both input are single frame hevc yuv444p10 by x265)
(I even can't get normal heic without muxing hevc in mp4)
(I might have misunderstanding with heic's support of alpha, if it's not what I think it is, please teach me)

Thanks to everyone who wants to help.

iAM261917
21st November 2020, 19:03
So this is totally a bug, update to latest dev ver and use:
mp4box -add-image img.hevc:primary -add-image alpha.hevc:alpha:ref=auxl:1 -beand heic -new img.heic
works fine.