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 0C20E46787 for ; Sat, 17 Jun 2023 14:26:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 56B2768C39E; Sat, 17 Jun 2023 17:26:23 +0300 (EEST) Received: from shout01.mail.de (shout01.mail.de [62.201.172.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6C9A668C09C for ; Sat, 17 Jun 2023 17:26:17 +0300 (EEST) Received: from postfix01.mail.de (postfix01.bt.mail.de [10.0.121.125]) by shout01.mail.de (Postfix) with ESMTP id 0F9C1A0633 for ; Sat, 17 Jun 2023 16:26:17 +0200 (CEST) Received: from smtp04.mail.de (smtp04.bt.mail.de [10.0.121.214]) by postfix01.mail.de (Postfix) with ESMTP id E9F57801B8 for ; Sat, 17 Jun 2023 16:26:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde202009; t=1687011976; bh=D0rlOpqEfTggs2HhSZlqt3GiRgflVlC7VxizTt+OoK8=; h=Message-ID:Date:Subject:To:From:From:To:CC:Subject:Reply-To; b=dSyrENh59j9XzpbSWljigHKnVGMdgGKAwrnIsG8ji7gK1X/cIIui2bRUwgS5xlj/M 3U2hK0g/R8unwKVhsTKDcYYg6EWwgxZm2q2R9Mz+5fXc4bX9fCxfyelfv8949WM4HS iLxBro5BW7GV1wZPXpCqAfBORpfFldOxAPxDn2Xvd5rAVAkkDJ+XvMg6Cbop68DFwY h7sZOyVZ3yQCMisjq5UzlU6rg4Vhksorm1bHazUmgTikLk2z+McaK7XXmPtz3CXIW8 Abn+qsHxbMH+VaPmNaMuZIZSkijiKmzhplG85/SWEuX1UUUrzbfR3RwJcWqUWP6ke8 V9yjXNDYn+Lzg== Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtp04.mail.de (Postfix) with ESMTPSA id B0994C0058 for ; Sat, 17 Jun 2023 16:26:16 +0200 (CEST) Message-ID: Date: Sat, 17 Jun 2023 16:26:16 +0200 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230617081108.10051-1-thilo.borgmann@mail.de> From: Thilo Borgmann In-Reply-To: X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 967 X-purgate-ID: 154282::1687011976-1EFF9C09-9B228070/0/0 Subject: Re: [FFmpeg-devel] [PATCH v1 1/2] lavc/vp9: set yuvj pixel format for full range decode 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Am 17.06.23 um 16:02 schrieb Leo Izen: > On 6/17/23 04:11, Thilo Borgmann wrote: >> While the yuvj pixel formats are deprecated lots of code still relies >> on them to be set. Without setting a yuvj420p pixel format VP9 >> decoding ends up incorrectly due to auto conversion. >> > > I oppose this on principle. If there's code that relies on YUVJ being set, then *that code* needs to be changed so it respects the AVFrame->color_range field. Which code is working improperly with this? I don't like adding YUVJ stuff either. If I do ./ffmpeg -i full-range-in.mp4 -c:v libvpx-vp9 -lossless 1 lossless-out.mp4 and then comparing the frames, they are not equal. E.g. by ./ffmpeg -i full-range-in.mp4 -i lossless-out.mp4 -filter_complex ssim -f crc - they are not 1.0 in ssim terms. I agree, maybe the same effect can be fixed somewhere else and if so it could effect more codecs than VP9. You (or anyone) have an idea? Thanks, Thilo _______________________________________________ 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".