From: Zhao Zhili <quinkblack-at-foxmail.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v3 3/3] avcodec/hevc: Add alpha layer support
Date: Thu, 6 Feb 2025 01:22:13 +0800
Message-ID: <tencent_D3F356659C26E0365B54340780FA34833F09@qq.com> (raw)
In-Reply-To: <4360b5d5-9d16-482f-969c-541bb1f8402b@gmail.com>
> On Feb 5, 2025, at 23:33, James Almer <jamrial@gmail.com> wrote:
>
> On 2/5/2025 12:10 PM, Zhao Zhili wrote:
>> From: Zhao Zhili <zhilizhao@tencent.com>
>> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
>> ---
>> libavcodec/hevc/hevcdec.c | 72 ++++++++++++++++++++++++++++++++++++++-
>> libavcodec/hevc/hevcdec.h | 2 ++
>> libavcodec/hevc/refs.c | 11 +++++-
>> 3 files changed, 83 insertions(+), 2 deletions(-)
>
> I tried with https://0x0.st/X7Vx.mov and https://0x0.st/8KCA.mp4, and neither seem to output the alpha plane.
The first sample is a early release from apple, with error in vps extension.
I don’t know where the second sample comes from, it’s blank when playback with QuickTime Player. The bitstream has a lot of error.
Here is a sample encoded with videotoolbox
./ffmpeg -i bunny.mp4 -i basketball.mp4 \
-filter_complex '[1:v][0:v]alphamerge,format=bgra[vout]’ -\
c:v hevc_videotoolbox -pix_fmt bgra -alpha_quality 0.5 \
-t 10 -map '[vout]' -tag:v hvc1 alpha.mp4
https://drive.google.com/file/d/1SK6gnMNlWODeTySpetNAKgNeqt69DQDz/view?usp=drive_link
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2025-02-05 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 15:10 Zhao Zhili
2025-02-05 15:33 ` James Almer
2025-02-05 17:22 ` Zhao Zhili [this message]
2025-02-05 20:21 ` James Almer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_D3F356659C26E0365B54340780FA34833F09@qq.com \
--to=quinkblack-at-foxmail.com@ffmpeg.org \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git