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 881B8457F1 for ; Wed, 22 Feb 2023 13:49:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EE20B68BF05; Wed, 22 Feb 2023 15:49:43 +0200 (EET) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A199F68BF05 for ; Wed, 22 Feb 2023 15:49:37 +0200 (EET) Received: by mail-io1-f53.google.com with SMTP id i202so3299455ioa.3 for ; Wed, 22 Feb 2023 05:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=aNLMecijdMLQUxmmCaJD8JUwru8aN2lOPAvuVHN3/nk=; b=RF8XpbSHGcvn3nGzd5vifnFcc+in2LM5vnaeyMBchJuYonRxaYLpJULWdgSff5abTc x0mJhOv9kvyG7ZYLmFrY6C8WzAkyr61yTPYRlxHvKutkZCncJk8mnmwodFY51kSPG6gV PdqzpTLSXopJTBgjS1sUwRCOWVKwZG4hqTo0HaePaSCK/M26Sgxpw0pOcf3xL1rc5c09 Les8bpove3tADXZGZIMgH4kGfoZnoMt23k0eQHTUVK54jQq3UlF6N8+4/xAVB3fOM369 gYRoptKQnPWl8rXuUDyLuAxej1ysuqKn+ND4EU6iN3kwwXHdOCQMK02mN8KwltZdKcbM Wj6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aNLMecijdMLQUxmmCaJD8JUwru8aN2lOPAvuVHN3/nk=; b=P4K3zKYNyFDz5pPRd16YhKaLbkOPeqBmB+q77gBxTwf9W0pnMUjXk/b0xLEcen/kJ7 VhWeMc7d4ChIiYN83Vqm4rR6MHmjFRWf0UJL5YzraO+/KM2ILXGbgIBlIQqbX944Fi1e iWCR8s7Ds88zgQS+SpMDnGkWChvwcPy1XeTRhho1q5SKHujiCuXnG/kw3SgLTNKpQvHZ 3la0neBIFZXRGQSS5aNFmyIl7Q0AZwCtyEPVMIBDLzCPuhtevEs66Uwu36/aDZHaA78m m5MBmGpm9h5+Y7/mITUmVT3B/Bgt1bcbOZdfR8+O+8JAl0ZOosKBL+D5wHOi4RdMFpaa /ysg== X-Gm-Message-State: AO0yUKUmb2KOwom2+/apbv8BKzGnyHPAUtJxEZN7O+UILulYVUcoO4B1 byOCMbPC1Ta775OVPvLxC1TnjBS1oG0q8w== X-Google-Smtp-Source: AK7set+8NqtGWcxPm95UBPffxPhvx+X4sQl7S1xS85wf94nwAW1xU2wk1pH5GTViqT5bGljAZlECEQ== X-Received: by 2002:a6b:7119:0:b0:74c:99e8:7f44 with SMTP id q25-20020a6b7119000000b0074c99e87f44mr361266iog.2.1677073775738; Wed, 22 Feb 2023 05:49:35 -0800 (PST) Received: from [192.168.1.35] (c-98-224-219-15.hsd1.mi.comcast.net. [98.224.219.15]) by smtp.gmail.com with ESMTPSA id j16-20020a02cc70000000b003c515910994sm827619jaq.87.2023.02.22.05.49.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Feb 2023 05:49:35 -0800 (PST) Message-ID: <05b25416-fbe8-9c30-df47-181496186dc6@gmail.com> Date: Wed, 22 Feb 2023 08:49:34 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US-large To: FFmpeg development discussions and patches References: <20230221223555.102670-1-leo.izen@gmail.com> From: Leo Izen In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v4] avcodec/pngdec: read colorspace info when decoding with AVDISCARD_ALL 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: On 2/21/23 20:42, Ronald S. Bultje wrote: > Hi, > > On Tue, Feb 21, 2023 at 5:36 PM Leo Izen > wrote: > > These chunks are lightweight and it's useful information to have when > running ffmpeg -i or ffprobe, for example. > > > I disagree conceptually with this. If we want to skip "all" decoding, we > should also skip metadata for said frames. > > I think what we're looking for here is a partial decoding stage, e.g. > "header-only" or similar, instead of "including framedata", for some or > all frames. That's orthogonal to AVDISCARD_*. > > Ronald The issue is that libavformat and ffmpeg.c obtain metadata by calling the decoder with AVDISCARD_ALL. What you're proposing would require a structural change elsewhere, and I'm not sure it makes sense to block a patch like this one based on a hypothetical change elsewhere. - Leo Izen (thebombzen) _______________________________________________ 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".