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 745BE4D84D for <ffmpegdev@gitmailbox.com>; Sun, 20 Apr 2025 20:16:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 31C5C687D9F; Sun, 20 Apr 2025 23:15:55 +0300 (EEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5CB48687BA5 for <ffmpeg-devel@ffmpeg.org>; Sun, 20 Apr 2025 23:15:48 +0300 (EEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-22401f4d35aso36999985ad.2 for <ffmpeg-devel@ffmpeg.org>; Sun, 20 Apr 2025 13:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745180147; x=1745784947; 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=p9K4gGmiZEKSiQ6cqd26boMdH1+mefCsWCpe5QjBTZY=; b=ZccErABptUUgtgiosjHgBTE7pYJkbuV8jzvdxHsQoypqKtqRKtYy8uwzSmqXAOwir8 cc9zHzb8vF2X74t/nqzrulz0It8ObtriZlr8pFwlbg17NdfPc0emgw8xvrWcNouOb+2K Raf40ktKBFEwGnAMklxgY4+Rnad/msj/QyNqfjXQVwc8CMhzcY/7TnFtFu2m8Gl5QfHy zB3dd5BIGbIzulX1iron+e8rnG2wjZpa5z2XhtuUaZhEDJ977GwocdreRt+M0p2gPUZe TT9Z2/q72ih5/tB6zQ7t8lugKyZu8rL0Z03KN17PCFCgUf738TCYRdfgl3HxWMxbV0b/ Ko+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745180147; x=1745784947; 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=p9K4gGmiZEKSiQ6cqd26boMdH1+mefCsWCpe5QjBTZY=; b=JUF4Otkv1z+bO/FaeK2ARXdv6neZvApV7JvW2ZR3ObzaxVGHrMyKEG4BasoTJNID6d HOVEenCaB/ty6E6bKq4mNSod3ReORH5ohBLWkusBSYiJ+/+bnlN81ColmGT0fsWG3//h gtF4n2dTeFnHL4J0jkcWGxL0LXv0TpZk1zydYoyyolg+zfsvvQ3OE0q62bvre/gCAWXE ibl5iMiflRP3du9gCI6DZUnvjhW8C5qrldKctj9WraHPKxNB6M0MHnUCZFmA+2CkrJKr c8LIU4OuyDPmlt7oLHEFQRlO61nem8WSoM66OODwaUBdUXi+FqbHIofg8mUgXLGlUDas zPLw== X-Gm-Message-State: AOJu0YyHaYV+sqUaGSqWyTN7zK3QQ/ME5jIKlfPxpuHKYqr35p8wRU22 GxZ9LHb416qVAUpsPwuu/uTs/XL2wy36oGVsm7xGQtMRzcJ9haawJk78JQ== X-Gm-Gg: ASbGncv8HZduOJFA61oPxCeZxZtrTKJA6rsqOr+ulouWtMQmtdoy+Fab8IcLgj+4p7V ZSMHwPtA17A+m1DO3AYpQPT+z1M7nN7wl+gEZoFldIKfZBZfD4fG4onWA+Q2ynpgb0m2d0LuiTz WVSCDkIRUpdf+lQWgpmDiz9VC2c4decF+McnhpsXhGRX02XtgUmvtEUMJ1XCZJekm8Xk2VNPaGc O66hvs3o2k0y9NPyRCfuhZVQRWs75OvKFXF8tCq9Ft4Oud797L2+00L20OY+Da0fqJp9i9WoeZf 4gQxkExoqY2+ZmdDmi5q/QvZ0Ar50aqfvENTzs9/gBrE28L3wvFxMNf11Zk= X-Google-Smtp-Source: AGHT+IHM+NjkKinXN/mzLdvo7/KoDwZIZkwIeK2mH5azsKSm5LZ918jgoDnTt8YIZVDEYeZKAnc4vA== X-Received: by 2002:a17:902:cf42:b0:22c:35c5:e30e with SMTP id d9443c01a7336-22c53580d35mr139389105ad.13.1745180146618; Sun, 20 Apr 2025 13:15:46 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73dbfae97dasm5028013b3a.162.2025.04.20.13.15.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Apr 2025 13:15:46 -0700 (PDT) From: softworkz <ffmpegagent@gmail.com> X-Google-Original-From: softworkz <softworkz@hotmail.com> Message-Id: <pull.71.v3.ffstaging.FFmpeg.1745180141145.ffmpegagent@gmail.com> In-Reply-To: <pull.71.v2.ffstaging.FFmpeg.1745179839217.ffmpegagent@gmail.com> References: <pull.71.v2.ffstaging.FFmpeg.1745179839217.ffmpegagent@gmail.com> Date: Sun, 20 Apr 2025 20:15:41 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v3] 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.v3.ffstaging.FFmpeg.1745180141145.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 Versions ======== V2 Fix spurious commit message text as noted by Andreas (thanks!) V3 Also removed from the cover-letter part Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-71%2Fsoftworkz%2Fsubmit_attachment_size-v3 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-71/softworkz/submit_attachment_size-v3 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/71 Range-diff vs v2: 1: dd35a56e25 = 1: b3456eb9f6 fftools/ffprobe: Print size of attachments 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: 853e66a0726b0a9d6d6269a22f6f9b5be7763738 -- 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".