Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v3 3/3] avcodec/hevc: Add alpha layer support
Date: Wed, 5 Feb 2025 17:21:16 -0300
Message-ID: <01944361-5aa6-4708-9b8b-e738e1e878bb@gmail.com> (raw)
In-Reply-To: <tencent_D3F356659C26E0365B54340780FA34833F09@qq.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1244 bytes --]

On 2/5/2025 2:22 PM, Zhao Zhili wrote:
> 
> 
>> 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

That link asks to request access.


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

      reply	other threads:[~2025-02-05 20:21 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
2025-02-05 20:21     ` James Almer [this message]

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=01944361-5aa6-4708-9b8b-e738e1e878bb@gmail.com \
    --to=jamrial@gmail.com \
    --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