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 1C38449149 for ; Tue, 5 Mar 2024 14:35:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4D14668CFCE; Tue, 5 Mar 2024 16:35:00 +0200 (EET) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E3F8D68CC91 for ; Tue, 5 Mar 2024 16:34:53 +0200 (EET) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5ce6b5e3c4eso4193046a12.2 for ; Tue, 05 Mar 2024 06:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709649291; x=1710254091; darn=ffmpeg.org; 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=1DXRGKEV4l9RuEyV3YcUkw56121qjRyfKCX3EoX5Ph0=; b=aQvHdHL9+rqyVpZm0kuYYpK25sPBhgJWxTmycRSfWVXRnoFwa01r9aUux6fmARn8T5 BXtcvXXPo7rKONg0LlAKaxxOD68e/+i4e34h41wDRQVWnbuapLzoxP2ZKr9Lb/eulia9 ro1NHPxdsWNoZocCosjfLHqF0PPqA+QnoW4OyXz23vzjJxy+52EBy+Iuy7rKohii5ClK Yhvp7tMy/xuAVTuwN9q5M2GtQxD1Xhw+ufQkaGnNdCMqg+UkLy0GxODkfYFiQGluwb+G Zt/ELrnrQPOk5qo0K4HQ70wCnIXHk0MOk7mqXoe7tM1N3Zkqg+YEF34Bb94VLcf+RunB Gn1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709649291; x=1710254091; 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=1DXRGKEV4l9RuEyV3YcUkw56121qjRyfKCX3EoX5Ph0=; b=oZFcfWXr+nmiDijNLmYo7FzUnHMaypgw6ZtWz6AjzAdTE7U76k27kpdgW28EvQ0BUU SPdbYk01H4KAlZ9oJa7ZDHbXwq6cVeNy3R/HoRv9WEa7D77sLqiyHEf7o2RVXuLCuhVM x5kuI65/vHzOgr3E+EOqgD0RayZ6uuXL0Lr0BhlAeuqyZrgLD10kGdBFUoORjyTGimIr DmBaLsJytWPmsCVU6Edz4afni5Y3p3MjfCB5f9UO5IOaICGuoThAmthLrHT0aydsnORd h0CD7txBUzGA7JxMy7X/4e0/FXrh9OujI6ANGrI0W80qilisVYJDCCz5qy+Mqe2hAgC1 pHmw== X-Gm-Message-State: AOJu0YyxW+6HH50Jc7p5eDZA0Ki+Lvwdlp6ChKodbzspyBBgk4hhdCfb a90xzrKIdWM6DDeC6EShffEEVNTHBZLeNn+/A3T4ANnInxA8ZWh7qkwbwJm8 X-Google-Smtp-Source: AGHT+IFEQuaK1KW2GI/ANYWK3y6QlbQdewPrUQ/Q01RejiQzLXTU7iA5PM7K3bpJ6kJkacf7oSUwqA== X-Received: by 2002:a05:6a20:9c8d:b0:1a1:4aa0:d593 with SMTP id mj13-20020a056a209c8d00b001a14aa0d593mr2032639pzb.47.1709649291084; Tue, 05 Mar 2024 06:34:51 -0800 (PST) Received: from [192.168.0.14] ([190.194.169.124]) by smtp.gmail.com with ESMTPSA id gx15-20020a17090b124f00b00298ca46547fsm9603170pjb.36.2024.03.05.06.34.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Mar 2024 06:34:50 -0800 (PST) Message-ID: <8bf41fe7-a9f9-4ae4-abfc-31117ddae687@gmail.com> Date: Tue, 5 Mar 2024 11:35:02 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240304130657.30631-1-anton@khirnov.net> <20240304130657.30631-7-anton@khirnov.net> <6aeedda4-c8a7-4c4c-a33d-d2225508eeeb@gmail.com> <170964899292.29002.12504993650425451482@lain.khirnov.net> From: James Almer In-Reply-To: <170964899292.29002.12504993650425451482@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH 07/29] lavc: add a decoder option for configuring side data preference 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 3/5/2024 11:29 AM, Anton Khirnov wrote: > Quoting James Almer (2024-03-05 13:30:58) >>> + {"dynamic_hdr10_plus", .default_val.i64 = AV_PKT_DATA_DYNAMIC_HDR10_PLUS, .type = AV_OPT_TYPE_CONST, .flags = A|D, .unit = "side_data_pkt" }, >> >> This one packet/frame level only, not global. > > It is in sd_global_map Then that's a mistake, and I'm probably he culprit. HDR10+ is per frame metadata. Static HDR metadata are mastering_display and ccl. > >> Is this option meant to also choose which one of those to use? > > ??? You can have packet side data at the container level that corresponds to the same thinga per frame side data at the bitstream level does. In HDR10+ case, Matroska may have it in block additional, and then afaik it could be present in the hevc bitstream. One of them should have priority, or the user could be given the choice. _______________________________________________ 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".