From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 03ECE4A495 for <ffmpegdev@gitmailbox.com>; Thu, 28 Mar 2024 12:55:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 98A5368D5B9; Thu, 28 Mar 2024 14:55:20 +0200 (EET) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6E47F68D56C for <ffmpeg-devel@ffmpeg.org>; Thu, 28 Mar 2024 14:55:14 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1711630513; bh=F9Jun5sps1/Shn5V+MOiv9z6gmsvtPwqdaxZl2hBles=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=M/REhC95CfJk2yKS1M4VkXcAgRzhn0YyD8HO4gdfIQXJ4e2vCtlkMknfcuLohCpaN hu15JUKhmAYm9JDvBaCwt358/dF+nIOZa7ioTuKNA7f+w4bl2mQ4BzqgoqXkLhNNvv 2ZqmpozkAYxdwEsHZUWr9MiYl5svVR0xDmnOpfDw= Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id 918F440BD5; Thu, 28 Mar 2024 13:55:13 +0100 (CET) Date: Thu, 28 Mar 2024 13:55:13 +0100 Message-ID: <20240328135513.GB104877@haasn.xyz> From: Niklas Haas <ffmpeg@haasn.xyz> To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20240325161055.GB82291@haasn.xyz> References: <20240325134044.17030-1-ffmpeg@haasn.xyz> <20240325161055.GB82291@haasn.xyz> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH] avfilter: fix YUV colorspace negotiation for YUVJ X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Niklas Haas <git@haasn.dev> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/20240328135513.GB104877@haasn.xyz/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> On Mon, 25 Mar 2024 16:10:55 +0100 Niklas Haas <ffmpeg@haasn.xyz> wrote: > On Mon, 25 Mar 2024 14:40:44 +0100 Niklas Haas <ffmpeg@haasn.xyz> wrote: > > From: Niklas Haas <git@haasn.dev> > > > > Ironically, despite being introduced to make YUVJ unnecessary, the new > > YUV negotiation logic failed to actually negotiate YUVJ formats > > themselves correctly, leading to errors when passing YUVJ frames into > > a filter graph. (They were effectively treated like RGB or Grayscale > > formats, rather than as forced-full-range YUV, and hence did not have > > their colorspace matrix correctly negotiated) > > > > Fix this by splitting off the YUVJ check from ff_fmt_is_regular_yuv(). > > Obviously, we can trivially undo this change again once YUVJ is actually > > deleted from the codebase. > > Breaks FATE, I will investigate. This breakage was already fixed by another series of commits I had on a different branch, which were themselves dependent on the new AVCodec API. (Specifically, those commits that enable ffmpeg_enc.c to propagate the desired output color range back up the filter graph, as well as the FATE fix to properly tag rawvideo tiles) It may make more sense to just focus on merging that one first, then. _______________________________________________ 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".