Support for HEVC with Alpha
|Reported by:||leemartin||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
At WWDC this year, Apple introduced support for HEVC with Alpha to both their app and browser platforms. You can find their talk on the subject here:
I'm an amateur at FFmpeg but I went down a rabbit hole today, trying to create a video in this new format using the latest version of FFmpeg. I took a rather simple approach of using ffprobe on one of their example video files (found in the resources on the link above) to get a profile and attempting to tune an ffmpeg encoding command to fit the same profile.
While the following command does recreate the profile, it does not retain the transparency of the source prores .mov file.
% ffmpeg -i puppets_with_alpha_prores.mov -c:v libx265 -tag:v hvc1 -pix_fmt yuv420p -colorspace bt709 -color_primaries bt709 -color_trc bt709 puppets_with_alpha_hevc.mov
Apple is pretty clear about how they are achieving this encoding in their talk and examples. Naturally, I didn't follow anything they said and simply tried to hack a solution.
So I'm wondering if this is something FFmpeg can do or would be able to support in the future?
Thanks for the help!
Change History (14)
follow-up: 3 comment:2 by , 3 years ago
|Component:||ffmpeg → avcodec|
|Version:||unspecified → git-master|
by , 15 months ago