]> git.sesse.net Git - ffmpeg/commit
lavc/videotoolboxenc: Add support for HEVC with Alpha.
authorHironori Bono <bouno@rouge.plala.or.jp>
Tue, 23 Feb 2021 05:02:27 +0000 (14:02 +0900)
committerRick Kern <kernrj@gmail.com>
Fri, 19 Mar 2021 18:50:48 +0000 (14:50 -0400)
commit4892060f50cc91ae6b1b5a3c28346fb9a829c757
tree770050a6b28f44c218d43f489365379caa14646c
parentefece4442f3f583f7d04f98ef5168dfd08eaca5c
lavc/videotoolboxenc: Add support for HEVC with Alpha.

This change supports the "HEVC Video with Alpha" profile introduced in WWDC 2019
<https://developer.apple.com/videos/play/wwdc2019/506/>. (This change is a
partial fix for Ticket #7965.)

For example, the following command converts an animation PNG file to an HEVC
with Alpha video:
./ffmpeg -i fate-suite/apng/clock.png -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 0.75 -vtag hvc1 clock.mov

(This change uses the "HEVC Video with Alpha" profile only when the
'-alpha_quality' value is not 0 for backward compatibility.)

Signed-off-by: Hironori Bono <bouno@rouge.plala.or.jp>
configure
libavcodec/videotoolboxenc.c