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 A677E4C3AF
	for <ffmpegdev@gitmailbox.com>; Sun,  4 May 2025 22:35:24 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D80AF68B57A;
	Mon,  5 May 2025 01:35:18 +0300 (EEST)
Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com
 [209.85.216.49])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AC8F5687AAC
 for <ffmpeg-devel@ffmpeg.org>; Mon,  5 May 2025 01:35:12 +0300 (EEST)
Received: by mail-pj1-f49.google.com with SMTP id
 98e67ed59e1d1-301302a328bso4826019a91.2
 for <ffmpeg-devel@ffmpeg.org>; Sun, 04 May 2025 15:35:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746398111; x=1747002911; 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=1Ux+EyQShk6w0ef+16OPk5szg7fpSiOGZDu0Tmn1K6U=;
 b=SfFmXN9EmXm43Z5IAoZHt7gTgn2Zc26KsnbURrO00HAok1Kpd9qrwBTz+l89JwlS/L
 UxalInxzyBptdIsTizfIDiLxHcORrOLZ73JcXyRzOdYXb5AUWw3UhlBdxtdIzK/TirMl
 fKs67olk/EWWifjleRzKu9i+lwMwGB7mw6uv7TEA4Km0o4M9bHIDHNCdelHQ9QSzuNlL
 +QnDD/Or6ImhwhvBaRA8ZItnokpdN00nuFRcTJVvdKi3UtM+Vy7XWjf6s9fua3u+athg
 e0vq33Ruzzp7Qsci+joneNUxr3ACi8UHqKT4EhI86YuNnX+jpzpHGpC03FbyL+n0KoBc
 uZGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746398111; x=1747002911;
 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=1Ux+EyQShk6w0ef+16OPk5szg7fpSiOGZDu0Tmn1K6U=;
 b=qt/ewG7XIL1O2CXBDa2aem6vT53IdrHvA78nM/4A+w3Ox9Tqc2ytuk+ycBP+RgJcRm
 iat3xk5NCwVWiptMGCrowet+jUP+jgfTSh91TjuPFnxbDKAIPVTszzcP+w0uSUyBXwPl
 Y5bJ7tneqUH1J+tHKiMmffmHuuV/bBc5M9b1fBcKCSSWl1unQ6rGo1t7Atne14G3f38N
 YIuNJc42Ya8wr3xnkS+6ruJpbx4M5fGJLT6PQNjCQwjpoOH4TJ7SJ3OBUjQLigpfEffp
 dX8IXRsS7jkX2p+/EqciorAnSLMhWFym1SM0iQwClIgv34nuQ+yTyDvHNnt7Ai9nfVis
 LMtA==
X-Gm-Message-State: AOJu0YwZUqzBY9AN6WCrujR8ynw5Ecuocbfo+MqwBWlo34WbxTnqlelE
 YgAyePQoEKcB6n1EqZltzRzI99NfKSj0hybxleHxk6wNdcQEm2aVZY87gWBk
X-Gm-Gg: ASbGncu4tZJibjjRTOsEMjuCa12JswPjO/jfB/qBfxe6EdXdaWCa+JX1GvoIaiVKi46
 TUL148FxaVUYcPpbXt8m5A+p/7Fh+4g85sEHUWh3sclbM1yujNL16DfU/bL7TGWrPeSGRB3HBGI
 kVouN8ugS3gFc5h/XXAe4aBRFldhPiTSmcPL2Y/5XCZDtBHu/hVutjBca58r7t10k5Pjo2Na6Jz
 l2tdIBJQfIfJSmNbTJzaX+do6KWP64ej7bzBOv0h7aFIqIZit7AXg7afLLTqR5MXxfbTWsBsabc
 sjgahIaT0JRwFPa/8nMK7KwnHL8USOu0X/DpdoBAXOo2hzxvbe65hKMIOL/bacxHe9GDLA==
X-Google-Smtp-Source: AGHT+IEzAzGGQA+LvhoJVROsSVNTRzrt/77Y0YDH3aWecdcjj8JsQHeSirK2kmZ9bd7x6l5vLMQdbA==
X-Received: by 2002:a17:90b:584f:b0:2ff:6fc3:79c3 with SMTP id
 98e67ed59e1d1-30a6198d09fmr8440254a91.9.1746398110702; 
 Sun, 04 May 2025 15:35:10 -0700 (PDT)
Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-30a34826760sm10051630a91.46.2025.05.04.15.35.10
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 04 May 2025 15:35:10 -0700 (PDT)
Message-Id: <pull.66.v11.ffstaging.FFmpeg.1746398104.ffmpegagent@gmail.com>
In-Reply-To: <pull.66.v10.ffstaging.FFmpeg.1746327446.ffmpegagent@gmail.com>
References: <pull.66.v10.ffstaging.FFmpeg.1746327446.ffmpegagent@gmail.com>
From: ffmpegagent <ffmpegagent@gmail.com>
Date: Sun, 04 May 2025 22:34:49 +0000
Fcc: Sent
MIME-Version: 1.0
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH v11 00/15] 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.v11.ffstaging.FFmpeg.1746398104.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)


V5
==

 * Applied changes as per review from Stefano (thanks!)
 * Introduced AVTextFormatOptions struct for options in
   avtext_context_open()


V6
==

 * Fix "new warning" in 2nd last commit
 * Squash patches 04 and 05 (they weren't truely independent)
 * Applied changes as per review from Stefano (thanks!)


V7
==

 * Bitten by OOT builds once again (thanks, Michael)


V8
==

 * New commit Remove void (*print_rational) from AVTextFormatter (unused)
 * New commit fftools/textformat: Rename name param to key for API
   consistency
 * print_int Extend existing function instead of adding print_int_flags
 * Fix registered_formatters[] array size
 * avtextwriters.h: Remove unused includes
 * graphprint.c: Make BPrint inits consistent
 * tf_json: Check nesting level for value printing
 * And other review suggestions by Stefano (thanks!)


V9
==

 * Handle cases where no zlib is available (thanks, Michael)
   and provide configure switch (--disable-resource-compression)


V10
===

 * Fix shared build by not using private URL API from avformat (thanks,
   Michael)


V11
===

 * Resubmit because Patchwork was broken

.

softworkz (15):
  fftools/textformat: Formatting and whitespace changes
  fftools/textformat: Apply quality improvements
  fftools/textformat: Remove unused print_rational() pointer from
    AVTextFormatter
  fftools/textformat: Rename name param to key for API consistency
  fftools/avtextformat: Re-use BPrint in loop
  fftools/textformat: Introduce AVTextFormatOptions for
    avtext_context_open()
  fftools/textformat: Introduce common header and deduplicate code
  fftools/tf_internal: Use av_default_item_name
  fftools/textformat: Add flags param to function avtext_print_integer()
  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 with build-time
    compression
  fftools/ffmpeg_mux: Make ms_from_ost() inline
  fftools/graphprint: Add execution graph printing
  fftools/graphprint: Now, make it a Killer-Feature!

 configure                          |    5 +
 doc/APIchanges                     |    3 +
 doc/ffmpeg.texi                    |   14 +
 ffbuild/common.mak                 |   43 +-
 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/ffprobe.c                  |   15 +-
 fftools/graph/filelauncher.c       |  205 +++++
 fftools/graph/graphprint.c         | 1153 ++++++++++++++++++++++++++++
 fftools/graph/graphprint.h         |   62 ++
 fftools/resources/.gitignore       |    4 +
 fftools/resources/Makefile         |   13 +
 fftools/resources/graph.css        |  353 +++++++++
 fftools/resources/graph.html       |   86 +++
 fftools/resources/resman.c         |  231 ++++++
 fftools/resources/resman.h         |   50 ++
 fftools/textformat/avtextformat.c  |  242 +++---
 fftools/textformat/avtextformat.h  |   78 +-
 fftools/textformat/avtextwriters.h |   16 +-
 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       |   64 +-
 fftools/textformat/tf_mermaid.c    |  658 ++++++++++++++++
 fftools/textformat/tf_mermaid.h    |   41 +
 fftools/textformat/tf_xml.c        |   68 +-
 fftools/textformat/tw_avio.c       |   18 +-
 fftools/textformat/tw_buffer.c     |    9 +-
 fftools/textformat/tw_stdout.c     |   10 +-
 libavfilter/avfilter.c             |    9 +
 libavfilter/avfilter.h             |   12 +
 38 files changed, 3729 insertions(+), 581 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: 33d0d1c672e8d21f625eeea42444a018dbc616bb
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-66%2Fsoftworkz%2Fsubmit_print_execution_graph-v11
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-66/softworkz/submit_print_execution_graph-v11
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/66

Range-diff vs v10:

  1:  7e8fddd1b8 =  1:  7e8fddd1b8 fftools/textformat: Formatting and whitespace changes
  2:  86ea1c4df5 =  2:  86ea1c4df5 fftools/textformat: Apply quality improvements
  3:  455c13c6ff =  3:  455c13c6ff fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter
  4:  624ac50f29 =  4:  624ac50f29 fftools/textformat: Rename name param to key for API consistency
  5:  26af65e6f2 =  5:  26af65e6f2 fftools/avtextformat: Re-use BPrint in loop
  6:  3aa16bc39f =  6:  3aa16bc39f fftools/textformat: Introduce AVTextFormatOptions for avtext_context_open()
  7:  10c5e71cd1 =  7:  10c5e71cd1 fftools/textformat: Introduce common header and deduplicate code
  8:  4c1471f65c =  8:  4c1471f65c fftools/tf_internal: Use av_default_item_name
  9:  7d28b0f03c =  9:  7d28b0f03c fftools/textformat: Add flags param to function avtext_print_integer()
 10:  a0d38f429a = 10:  a0d38f429a fftools/ffmpeg_filter: Move some declaration to new header file
 11:  53db985728 = 11:  53db985728 avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()
 12:  2405f535bf = 12:  2405f535bf fftools/resources: Add resource manager files with build-time compression
 13:  a7576bbbfc = 13:  a7576bbbfc fftools/ffmpeg_mux: Make ms_from_ost() inline
 14:  1bdd305940 = 14:  1bdd305940 fftools/graphprint: Add execution graph printing
 15:  6d7ec02265 = 15:  4e04962fb4 fftools/graphprint: Now, make it a Killer-Feature!

-- 
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".