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 52CDA4D3C1
	for <ffmpegdev@gitmailbox.com>; Thu, 17 Apr 2025 18:42:03 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B426F687D66;
	Thu, 17 Apr 2025 21:41:57 +0300 (EEST)
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
 [217.70.183.193])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0FDC4687BE4
 for <ffmpeg-devel@ffmpeg.org>; Thu, 17 Apr 2025 21:41:51 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6215243A3D
 for <ffmpeg-devel@ffmpeg.org>; Thu, 17 Apr 2025 18:41:50 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1744915310;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=2119NQUGC852F2qw4s0fjIm5xMNKeGrehgPXY9eov/o=;
 b=AWk9qNlQpZ0eerREFAMtPtRglTFiV07ypEX8ghaG0LWTRYc1yQUO9bKiuRarYRvEu/kwgu
 wm2N0Gz+JsWcWvOz/N73w+S3N1h6dGAM9gaYwO3XzuOO/STAZGHwzUfA8ckdz8TFp2I/Sz
 54jl8Q28b9oCrPBUcTmoEVt8Uzz0hfW3D/m6zsUTwCGM1KYVDXt7pLNqmNRsE2hcFjUXvP
 Wt2dZiK7eQzUlGGP8gnJRuTeY4QAjU3MhHfYAfVLoU3a8yNiXnywS+XFc1kClz5ubD4Lg2
 YO8laUk38XcMZXX38P8o4gCqI1I6ZFMcu+DjmVVucRfQD6B7rus4RBdPsflHKw==
Date: Thu, 17 Apr 2025 20:41:49 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250417184149.GT4991@pb2>
References: <pull.66.ffstaging.FFmpeg.1744634826.ffmpegagent@gmail.com>
 <pull.66.v2.ffstaging.FFmpeg.1744798340.ffmpegagent@gmail.com>
 <128ae47177aede7121f3c906f8bf4426a3c816dd.1744798340.git.ffmpegagent@gmail.com>
MIME-Version: 1.0
In-Reply-To: <128ae47177aede7121f3c906f8bf4426a3c816dd.1744798340.git.ffmpegagent@gmail.com>
X-GND-State: clean
X-GND-Score: -85
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvfedttdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeelkeeggfffiedufeejueffjeduhedttdduledtheevveevtdeiueelhfdtuedtkeenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH v2 09/10] fftools/graphprint: Add
 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>
Content-Type: multipart/mixed; boundary="===============7989233916532139658=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250417184149.GT4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============7989233916532139658==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="HhyA5R0EwNdHgqYz"
Content-Disposition: inline


--HhyA5R0EwNdHgqYz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi

On Wed, Apr 16, 2025 at 10:12:19AM +0000, softworkz wrote:
> From: softworkz <softworkz@hotmail.com>
>=20
> The key benefits are:
>=20
> - Different to other graph printing methods, this is outputting:
>   - all graphs with runtime state
>     (including auto-inserted filters)
>   - each graph with its inputs and outputs
>   - all filters with their in- and output pads
>   - all connections between all input- and output pads
>   - for each connection:
>     - the runtime-negotiated format and media type
>     - the hw context
>     - if video hw context, both: hw pixfmt + sw pixfmt
> - Output can either be printed to stdout or written to specified file
> - Output is machine-readable
> - Use the same output implementation as ffprobe, supporting multiple
>   formats

breaks build on ubuntu mingw

make  -k
CC	fftools/graph/graphprint.o
src/fftools/graph/graphprint.c: In function =E2=80=98print_streams=E2=80=99:
src/fftools/graph/graphprint.c:589:24: warning: assignment discards =E2=80=
=98const=E2=80=99 qualifier from pointer target type [-Wdiscarded-qualifier=
s]
  589 |     sec_ctx.context_id =3D "Inputs";
      |                        ^
In file included from src/fftools/graph/graphprint.c:34:
At top level:
src/fftools/ffmpeg_mux.h:126:19: warning: =E2=80=98ms_from_ost=E2=80=99 def=
ined but not used [-Wunused-function]
  126 | static MuxStream *ms_from_ost(OutputStream *ost)
      |                   ^~~~~~~~~~~
src/fftools/graph/graphprint.c:1102:1: fatal error: opening dependency file=
 fftools/graph/graphprint.d: No such file or directory
 1102 | }
      | ^
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/graph/graphprint.o] Error 1
CC	fftools/resources/resman.o
src/fftools/resources/resman.c:213:1: fatal error: opening dependency file =
fftools/resources/resman.d: No such file or directory
  213 | }
      | ^
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/resman.o] Error 1
CC	fftools/resources/graph.html.o
src/fftools/resources/graph.html.c:2:1: fatal error: opening dependency fil=
e fftools/resources/graph.html.d: No such file or directory
    2 | const unsigned int ff_graph_html_len =3D 938;
      | ^~~~~
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/graph.html.o] Error=
 1
CC	fftools/resources/graph.css.o
src/fftools/resources/graph.css.c:2:1: fatal error: opening dependency file=
 fftools/resources/graph.css.d: No such file or directory
    2 | const unsigned int ff_graph_css_len =3D 1685;
      | ^~~~~
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/graph.css.o] Error 1
make: Target 'all' not remade because of errors.


[...]
--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein

--HhyA5R0EwNdHgqYz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaAFLaQAKCRBhHseHBAsP
q2MAAJ4n3X4dmecMdJF8VdXmQm5PwwwgTwCfZiK2HUEQruuzS74xqm4RVuKgfvk=
=lnrl
-----END PGP SIGNATURE-----

--HhyA5R0EwNdHgqYz--

--===============7989233916532139658==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============7989233916532139658==--