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 522794D8AD for <ffmpegdev@gitmailbox.com>; Sun, 20 Apr 2025 22:59:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B4776687DF0; Mon, 21 Apr 2025 01:59:28 +0300 (EEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 120E9687C83 for <ffmpeg-devel@ffmpeg.org>; Mon, 21 Apr 2025 01:59:23 +0300 (EEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-7376e311086so4716721b3a.3 for <ffmpeg-devel@ffmpeg.org>; Sun, 20 Apr 2025 15:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745189961; x=1745794761; darn=ffmpeg.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=7+NQhep5Kpbb6p45cIdjJbggnTTrOKWvLjbudC6unlA=; b=Xnsxy+z8uZKCs8AHyYPDnSSVM8rdKZpxpwLl6N20z1WLnJ1ZIgTx7g4kQCsEyQ7pTR DhSMYPX5gK2WPS984+HpeEk5u5VJT6jcXcF2w+3z8FGr2dToIP46LCZbl4mLXHU2jSf0 Q1UHBPgLGNeUAIbMeYKb/vmof5RWuuvdSBKqEt7RJsdCT8AqsnGv+nprbouV/rJNmW7i SCG89H6KfgiNGHXjhjgn5hrvX38KNQz3/V+N4goIAq9fjP+dtObNBXvzOkcLUUPS9RbK wEn8UCxv7gfkE0VCF0qsNyNveDroA6d4x5sAsiK0GBcADf8Rq4mkSoeUu0tbM66qat2D tvgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745189961; x=1745794761; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7+NQhep5Kpbb6p45cIdjJbggnTTrOKWvLjbudC6unlA=; b=NUz2ktCEPXZ+Cb/+id1ZvcQ7Za0CXkexuBRDzOg6hpc3JXzuiFiOJHkQse32O5KOr3 HKmwzRlXNHa/icus3XWholYBSL4ARAO1c4U20w1Hp2CMIc9zy+UhMogn9boSwDUu/CUD azhIYBuPHK95C3BHx2YLxGAK8QMlJHvyQ1GsYjq3I58ewgRT3mlm6LZuDm/FB5vCx1ZV FucPjt+8G6h1V1SgkFT6Ln7m+VNd7hPKF0sSwSO7daAKSduUjfX3YGpEDHYSt5sH2aWJ Tdb5Uj9R5ezkZIoM1ErdlXx8V09RanqFVP0ZaRgbGWNzngPMQ8rImglAWu4ZjB5Mt+Ae 85AQ== X-Gm-Message-State: AOJu0Yzj+Dl33M4+GIWI3KsPmbKIWHUVrVdIvYV/VCk+SnvyB9Kk46xU 5E+G+txb8iDEmw8p1k+CysPa7gUNDatgB4ic9RC1+5IouxZCL5YvQPiC4w== X-Gm-Gg: ASbGnctZmzAGGmz0LjPtBftLNrMq4zUj/bGg6peHhCejInOO0I4GNO4bhOjXgACpknY +N5UEdKYAbY/5t2VFoyBMl1nd1FBb++HT/2+MPEl6oFRhlJ/MBrHYYh7N5p9bZHnbsR0Ku0ojhH RtWR5PF0+OZCzWuvQgEuWwDGhqwsM2ZKperiPCUmWqrtQoeiic6bPxCYA5EVFxcXEjVjaoymOiz t0GvAuCRrtW212VRzEy7hS9+UE+JnJ1mNoaZcdffEyjp3vQGwwtTd4N2+O3w0kmwBT6dHY64si3 WFMTcgfPfcM3HQnOwMiO0Bg/mGDChVDKRIHxExN5mILE9bcy86YhXbm10Fa3+yrp1Q708A== X-Google-Smtp-Source: AGHT+IGsObeSRM1IwoSV0RXpgVS/D0/djYX29u3seSuGp2/9Dv30ekWxC/PxDcTxtQP9tas1BHhH7w== X-Received: by 2002:a05:6a00:4ac5:b0:736:ff65:3fd0 with SMTP id d2e1a72fcca58-73dc1563371mr12364834b3a.16.1745189960795; Sun, 20 Apr 2025 15:59:20 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73dbf8e47b9sm5439122b3a.62.2025.04.20.15.59.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Apr 2025 15:59:20 -0700 (PDT) Message-Id: <pull.66.v4.ffstaging.FFmpeg.1745189954.ffmpegagent@gmail.com> In-Reply-To: <pull.66.v3.ffstaging.FFmpeg.1744945024.ffmpegagent@gmail.com> References: <pull.66.v3.ffstaging.FFmpeg.1744945024.ffmpegagent@gmail.com> From: ffmpegagent <ffmpegagent@gmail.com> Date: Sun, 20 Apr 2025 22:59:03 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH v4 00/11] Execution Graph Printing 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.66.v4.ffstaging.FFmpeg.1745189954.ffmpegagent@gmail.com/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> Shortest cover letter for my longest-running FFmpeg patchset: * Apply * Build * Add the "-sg" switch to any FFmpeg command line * Press 'q' when you don't want to wait SG = Show Graph Documentation and examples can be found here: https://github.com/softworkz/ffmpeg_output_apis/wiki Version Updates =============== V2 == * Rebased on top of Andreas' improvements * Applied changes from review (thanks, Andreas) V3 == * Fixed all "new warnings" * Fixed out-of-tree building (thanks, Michael) V4 == * Resolved merge conflict * Fixed build on MinGW (missing include due to WIN32_LEAN_AND_MEAN being defined) (thanks, Michael) softworkz (11): fftools/textformat: Formatting and whitespace changes fftools/textformat: Quality improvements fftools/textformat: Introduce common header and deduplicate code fftools/tf_internal: Use ac_default_item_name fftools/textformat: Add function avtext_print_integer_flags() fftools/ffmpeg_filter: Move some declaration to new header file avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx() fftools/resources: Add resource manager files fftools/ffmpeg_mux: Make ms_from_ost() inline fftools/graphprint: Add execution graph printing fftools/graphprint: Now, make it a Killer-Feature! doc/APIchanges | 3 + doc/ffmpeg.texi | 14 + ffbuild/common.mak | 28 +- fftools/Makefile | 22 +- fftools/ffmpeg.c | 4 + fftools/ffmpeg.h | 4 + fftools/ffmpeg_filter.c | 195 +---- fftools/ffmpeg_filter.h | 234 ++++++ fftools/ffmpeg_mux.h | 2 +- fftools/ffmpeg_opt.c | 17 + fftools/graph/filelauncher.c | 205 +++++ fftools/graph/graphprint.c | 1146 ++++++++++++++++++++++++++++ fftools/graph/graphprint.h | 62 ++ fftools/resources/.gitignore | 4 + fftools/resources/Makefile | 27 + fftools/resources/graph.css | 353 +++++++++ fftools/resources/graph.html | 86 +++ fftools/resources/resman.c | 213 ++++++ fftools/resources/resman.h | 50 ++ fftools/textformat/avtextformat.c | 238 +++--- fftools/textformat/avtextformat.h | 53 +- fftools/textformat/avtextwriters.h | 11 +- fftools/textformat/tf_compact.c | 121 +-- fftools/textformat/tf_default.c | 55 +- fftools/textformat/tf_flat.c | 51 +- fftools/textformat/tf_ini.c | 62 +- fftools/textformat/tf_internal.h | 81 ++ fftools/textformat/tf_json.c | 56 +- fftools/textformat/tf_mermaid.c | 658 ++++++++++++++++ fftools/textformat/tf_mermaid.h | 41 + fftools/textformat/tf_xml.c | 68 +- fftools/textformat/tw_avio.c | 16 +- fftools/textformat/tw_buffer.c | 7 +- fftools/textformat/tw_stdout.c | 8 +- libavfilter/avfilter.c | 9 + libavfilter/avfilter.h | 12 + 36 files changed, 3670 insertions(+), 546 deletions(-) create mode 100644 fftools/ffmpeg_filter.h create mode 100644 fftools/graph/filelauncher.c create mode 100644 fftools/graph/graphprint.c create mode 100644 fftools/graph/graphprint.h create mode 100644 fftools/resources/.gitignore create mode 100644 fftools/resources/Makefile create mode 100644 fftools/resources/graph.css create mode 100644 fftools/resources/graph.html create mode 100644 fftools/resources/resman.c create mode 100644 fftools/resources/resman.h create mode 100644 fftools/textformat/tf_internal.h create mode 100644 fftools/textformat/tf_mermaid.c create mode 100644 fftools/textformat/tf_mermaid.h base-commit: 9e1162bdf1454d7ae3737429bcc6bd66e5da303a Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-66%2Fsoftworkz%2Fsubmit_print_execution_graph-v4 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-66/softworkz/submit_print_execution_graph-v4 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/66 Range-diff vs v3: 1: 357859ee56 = 1: dbd9193a0d fftools/textformat: Formatting and whitespace changes 2: 9279d2f53d = 2: 1516e67a5b fftools/textformat: Quality improvements 3: d6734bd718 = 3: 7024548b92 fftools/textformat: Introduce common header and deduplicate code 4: 8289c0ebf8 = 4: 4f1218b594 fftools/tf_internal: Use ac_default_item_name 5: a3fe7abcfe = 5: c1fea3027a fftools/textformat: Add function avtext_print_integer_flags() 6: 5b0ac30814 = 6: 28aeb7180d fftools/ffmpeg_filter: Move some declaration to new header file 7: 5e3225c9df ! 7: d2ad11ac85 avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx() @@ doc/APIchanges: The last version increases of all libraries were on 2025-03-28 +2025-02-xx - xxxxxxxxxx - lavfi 10.10.100 - avfilter.h + Add avfilter_link_get_hw_frames_ctx(). + - 2025-04-16 - c818c67991 - libpostproc 59.1.100 - postprocess.h - Deprecate PP_CPU_CAPS_3DNOW. + 2025-04-21 - xxxxxxxxxx - lavu 60.2.100 - log.h + Add AV_CLASS_CATEGORY_HWDEVICE. ## libavfilter/avfilter.c ## 8: 9881050f93 = 8: 9fa93efdda fftools/resources: Add resource manager files 9: f639a2e9ff = 9: 45b2a38592 fftools/ffmpeg_mux: Make ms_from_ost() inline 10: 998d6a70c4 = 10: 0e52640aca fftools/graphprint: Add execution graph printing 11: 8817dd0991 ! 11: 07a8d731ee fftools/graphprint: Now, make it a Killer-Feature! @@ fftools/graph/filelauncher.c (new) + +#if defined(_WIN32) +# include <windows.h> ++# include <shellapi.h> +#else +# include <sys/time.h> +# include <time.h> -- 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".