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 F112B491F7 for ; Thu, 7 Mar 2024 09:53:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E4E6468CF68; Thu, 7 Mar 2024 11:53:53 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C1FAB68CF41 for ; Thu, 7 Mar 2024 11:53:47 +0200 (EET) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=ftnkZchB; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 887BA24048D for ; Thu, 7 Mar 2024 10:53:47 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id gHbXGJTqCdZI for ; Thu, 7 Mar 2024 10:53:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1709805227; bh=bVQhQtibnVInsQgTApRtoK0J6hphtoCx3GDmUjSRmtE=; h=Subject:From:To:In-Reply-To:References:Date:From; b=ftnkZchBu1olnpg8/4mK5IufJ0SxkeBjInzGED9CYuSb8SkW9+qbkkKzh9QQdLe/G RpxpQu/eboxsgc0eKK9MlqIGIwSkxS8o0fPgfBpxWdhng5sk1I1tZFCHZsYjl0HxOm IOjnK6s1KIpHpOaCFcmdi6u2SRuhqMVkWYKr7arV6f8ugzbwJKPC0ykJzsSNfK8Y13 PbP0lyE1CyqFnT0LMSldGu2f1oaP6nBTE6PoZmydn1G/43vCikDCkhDIjg0GjFwSsf HEv+vQk0iNrgkOT4JheAlkOwh4rOZEMF8zW5qdKkP0Ba+D4I6HfYkNoqw8q5u/oiDt izcZResDNTxKQ== Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 0A476240177 for ; Thu, 7 Mar 2024 10:53:47 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id EAEF81601B9; Thu, 7 Mar 2024 10:53:46 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: References: <20240306071913.2735832-1-marth64@proxyid.net> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 07 Mar 2024 10:53:46 +0100 Message-ID: <170980522693.7287.8599203354160787584@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/3] avformat/dvdvideodec: add CLUT utilities and subtitle palette support 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Quoting Marth64 (2024-03-06 16:36:32) > Good morning, > > DVD subtitle palettes, which are natively YUV, are currently carried as > a hex string in their respective subtitle streams and have > no concept of colorspace tagging (even predating dvd demuxer). The > convention is to convert > them to RGB prior to storage. Common players will only render > the palettes properly if they are stored as RGB. Even ffmpeg itself > expects this, and already does -in libavformat- the YUV-RGB conversions, > specifically in mov.c and movenc.c. > > The point of this patch is to provide a consolidation of the code > that deals with creating the extradata as well as the RGB conversion. > That can then (1) enable usable palette support for DVD demuxer if it is > merged > and (2) start the process of consolidating the related conversions in > MOV muxer/demuxer and eventually find a way to properly tag > the colorspace. Is there any reason ever to export YUV palette? Should this even be an option? -- Anton Khirnov _______________________________________________ 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".