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 ESMTPS id A59A24D83B for <ffmpegdev@gitmailbox.com>; Sun, 20 Apr 2025 20:10:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DBFE2687D9F; Sun, 20 Apr 2025 23:10:52 +0300 (EEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9AB1E687D25 for <ffmpeg-devel@ffmpeg.org>; Sun, 20 Apr 2025 23:10:46 +0300 (EEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-736bfa487c3so2881397b3a.1 for <ffmpeg-devel@ffmpeg.org>; Sun, 20 Apr 2025 13:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745179845; x=1745784645; darn=ffmpeg.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=UnppbQ3lae6PFBYFFoRzfvJD7RONFEuvftq9WZi2UqI=; b=dxYRPQnEtME3W/cFueKa7oaXRb9D8DVLwyIbwrrTW2TxysHwT9OL8U8Hy2RWwx83VP dsC0MolE/rELZoT0FREDIBR/OtiNyU/IYWr2DP+ChKcqDPwoAS9HEqFY7/FHc78cd4M2 cGVSw7kF9aRYRwnmt65sMAh0Y425GDhTEliIRvAWUk8bywXBRghgU8ofby7R7jc0PL42 KqPPrjF/DqewSmC4IY+F7KORSDFSbOWuCO+xMo5BG4KDIm9GoHBO9iDZU59wK+L0QaZ0 WlyFYpGzmE4Pbh16+qwsTCFMJaZYiHKWnth9YFxWtxBJRXer34c7Jukb33xY97kyYPN9 gPUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745179845; x=1745784645; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :references:in-reply-to:message-id:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=UnppbQ3lae6PFBYFFoRzfvJD7RONFEuvftq9WZi2UqI=; b=odzUV+Q667TCrpMAHx7LbCPKxJC009H7VO5tuGLMMM/gojRQVeVCY+wHXwxDhpwG2C H3gUnfR7VhcoafF4Onbv+gi9jJC7OknotQEGGv/WRAL1bhwKUhTQWgFUp3wPH0Gw5G3A qnwclGLWX52+oT2UqzCG8Yb4mQCWtWm1ZV0X6qpbjlDL1zmBK0tIKPFPORjfHllIBtf2 njvKNMiA2QoE/gm9B7qeBo/dBRMWl0a22kUZDht0Spff51sP/bGs8AymOhwxwBLqeXH2 G5gPA55A44bgggVthbey0BI/kDdGg6e8xP5tZZHYSQOX1gSyvmelwmw68r0A3fi1cwBX dj8Q== X-Gm-Message-State: AOJu0YyrV6ynkjT+oSR3Fp5p0YUKF3dt63WeLBR1iUy1oMQOt4Zv0rqg XOwmmjXpTZBKHVgcnUL+Y6mtCP9VYtMG216jrBlXyBO5cz0LrsCbdPOzBQ== X-Gm-Gg: ASbGncvtrzxa5Zvep7YBsDkAFw51RIZ4XpXzTgLwVUOQ7QlKKHBz0vEZ0PNxSNBZ9Pn SEEPQFguBJuF3q4qxaH5Yr9911RKkiOd5XDcnW2CiR/FpYsXwvGdYYyoOBj+pYUQtHrGaPfqyvj 42vBzn8mrIG5P6qshgOJLgD4Ttu6wTHRlxddMgRzWKspv7cguxHqlxTHsId9rwJG7+8sjeBsfpd 1odszgEqh5PNc2Wm2n46ps1ME/wj52xseJTVtfMjKytAbM2i+sYnEYGyHafDszCKtSsf8Jolg1e JM4Vx0t5wCMYkXtM8CrszfOGGWYs7e4USyvVR2+NILGbdTyc7Gbs6wAzkjw= X-Google-Smtp-Source: AGHT+IECr7hVs8TWc6PTPlscea+e5NOa2lu4hUqiw0ZiM+GaMKunTcw9rgCf8JQ5ad0w7/X4gzYkwg== X-Received: by 2002:a05:6a20:6f8d:b0:1f5:619a:8f73 with SMTP id adf61e73a8af0-203cbd2058bmr12290315637.26.1745179844833; Sun, 20 Apr 2025 13:10:44 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b0db145a6fcsm4362721a12.58.2025.04.20.13.10.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Apr 2025 13:10:44 -0700 (PDT) From: softworkz <ffmpegagent@gmail.com> X-Google-Original-From: softworkz <softworkz@hotmail.com> Message-Id: <pull.71.v2.ffstaging.FFmpeg.1745179839217.ffmpegagent@gmail.com> In-Reply-To: <pull.71.ffstaging.FFmpeg.1745114229731.ffmpegagent@gmail.com> References: <pull.71.ffstaging.FFmpeg.1745114229731.ffmpegagent@gmail.com> Date: Sun, 20 Apr 2025 20:10:39 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v2] fftools/ffprobe: Print size of attachments 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: softworkz <softworkz@hotmail.com> 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/pull.71.v2.ffstaging.FFmpeg.1745179839217.ffmpegagent@gmail.com/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> From: softworkz <softworkz@hotmail.com> Signed-off-by: softworkz <softworkz@hotmail.com> --- fftools/ffprobe: Print size of attachments libavformat/asfdec: Fix regression bug when reading image attachments Versions ======== V2 Fix spurious commit message text as noted by Andreas (thanks!) Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-71%2Fsoftworkz%2Fsubmit_attachment_size-v2 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-71/softworkz/submit_attachment_size-v2 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/71 Range-diff vs v1: 1: 47264f231d ! 1: dd35a56e25 fftools/ffprobe: Print size of attachments @@ Metadata ## Commit message ## fftools/ffprobe: Print size of attachments - libavformat/asfdec: Fix regression bug when reading image attachments + Signed-off-by: softworkz <softworkz@hotmail.com> ## doc/ffprobe.xsd ## @@ doc/ffprobe.xsd | 3 +++ fftools/ffprobe.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index b53b799227..8c2326e499 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -319,6 +319,9 @@ <xsd:attribute name="nb_frames" type="xsd:int"/> <xsd:attribute name="nb_read_frames" type="xsd:int"/> <xsd:attribute name="nb_read_packets" type="xsd:int"/> + + <!-- attachment attributes --> + <xsd:attribute name="attachment_size" type="xsd:int"/> </xsd:complexType> <xsd:complexType name="programType"> diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index f5c83925b9..0da44b8c49 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -1847,6 +1847,10 @@ static int show_stream(AVTextFormatContext *tfc, AVFormatContext *fmt_ctx, int s else print_str_opt("height", "N/A"); break; + + case AVMEDIA_TYPE_ATTACHMENT: + if (par->extradata_size) + print_int("attachment_size", par->extradata_size); } if (show_private_data) { base-commit: 7cd1edeaa410d977a9f1ff8436f480cb45b80178 -- ffmpeg-codebot _______________________________________________ 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".