From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id D5AEB42B10 for ; Wed, 13 Apr 2022 11:07:19 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5A04A68B3CF; Wed, 13 Apr 2022 14:07:17 +0300 (EEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6152C68B20C for ; Wed, 13 Apr 2022 14:07:11 +0300 (EEST) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 7F2E920012; Wed, 13 Apr 2022 11:07:10 +0000 (UTC) Date: Wed, 13 Apr 2022 13:07:09 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220413110709.GM2829255@pb2> References: <20210618052044.2809436-1-izadi@google.com> MIME-Version: 1.0 In-Reply-To: <20210618052044.2809436-1-izadi@google.com> Subject: Re: [FFmpeg-devel] [PATCH] avcodec: Pass the HDR10+ metadata to the packet side data in VP9 encoder X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Mohammad Izadi Content-Type: multipart/mixed; boundary="===============8944954655725990658==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8944954655725990658== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kLMcATzfKVt/VlmX" Content-Disposition: inline --kLMcATzfKVt/VlmX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 17, 2021 at 10:20:44PM -0700, Mohammad Izadi wrote: > HDR10+ metadata is stored in the bit stream for HEVC. The story is differ= ent for VP9 and cannot store the metadata in the bit stream. HDR10+ should = be passed to packet side data an stored in the container (mkv) for VP9. >=20 > This CL is taking HDR10+ from AVFrame side data in libvpxenc and is passi= ng it to the AVPacket side data. > --- > doc/APIchanges | 2 + > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 1 + > libavcodec/libvpxenc.c | 91 ++++++++++++++++++++++++++++++++++++++++++ > libavcodec/packet.h | 8 ++++ > libavcodec/version.h | 4 +- > 6 files changed, 105 insertions(+), 2 deletions(-) Why is this HDR10+ metadata passing done inside libvpxenc.c and not in generic code ? in generic code it could be enabled for other encoders. Supporting HDR10+ with other codecs in matroska would make sense thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact --kLMcATzfKVt/VlmX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYlau2QAKCRBhHseHBAsP q+QeAJ4sgwsZ1u8QYmCjbB9sVgU8A1e2/wCfXtgVsNJG3KsqhcGFnWwd1YEtEJM= =M2UJ -----END PGP SIGNATURE----- --kLMcATzfKVt/VlmX-- --===============8944954655725990658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============8944954655725990658==--