[FFmpeg-devel] [PATCH v4 3/3] avcodec/hevc: Add alpha layer support

James Almer jamrial at gmail.com
Thu Feb 6 16:36:23 EET 2025


On 2/6/2025 11:32 AM, James Almer wrote:
> On 2/6/2025 11:06 AM, Zhao Zhili wrote:
>>
>>
>>> On Feb 6, 2025, at 21:26, James Almer <jamrial at gmail.com> wrote:
>>>
>>> On 2/6/2025 12:50 AM, Zhao Zhili wrote:
>>>> From: Zhao Zhili <zhilizhao at tencent.com>
>>>> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
>>>> ---
>>>>   libavcodec/hevc/hevcdec.c | 72 +++++++++++++++++++++++++++++++++++ 
>>>> +++-
>>>>   libavcodec/hevc/hevcdec.h |  2 ++
>>>>   libavcodec/hevc/refs.c    | 11 +++++-
>>>>   3 files changed, 83 insertions(+), 2 deletions(-)
>>>
>>> Can you please share the sample from the other day without requiring 
>>> to request for access to your google drive?
>>
>> Sorry I have modified the permission but forgot to reply.
>>
>> https://drive.google.com/file/d/1SK6gnMNlWODeTySpetNAKgNeqt69DQDz/ 
>> view?usp=sharing
> 
> Thanks. That sample however doesn't really showcase the alpha layer 
> doing anything. Can't you generate a sample with videotoolbox out of 
> some apng, webp or similar source with alpha where the transparency is 
> noticeable? The FATE suite has a couple.

Oh, nevermind, it looks like ffplay outputs yuv420p instead of yuva420p.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250206/e1dbf6ab/attachment.sig>


More information about the ffmpeg-devel mailing list