[FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

softworkz . softworkz at hotmail.com
Thu Jun 12 21:42:18 EEST 2025



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Nicolas George
> Sent: Donnerstag, 12. Juni 2025 09:41
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include
> show-graph wrapper script in build output
> 
> softworkz . (HE12025-06-11):
> > On important platforms like Windows, there is no "install".
> People are
> > taking/copying the build output. If it's not part of the build
> output,
> > it won't arrive at any user.
> 
> Oh, we did not think of that in the past 20 years, and we could not
> consider it to decide the policy. Thank Cthulhu you came!

Absolutely correct. It wasn't thought about in the past 20 years.
That's why nobody (besides few) knows about or uses things like 
graph2dot. 


> > Also, for security reasons, the script requires an ffmpeg binary
> in the
> > same directory. Unless the script is in the same directory as the
> > ffmpeg binary, it has no value at all.
> 
> Then you need to program your script better.

"better" would be worse, so that's not gonna happen.
The way how the feature is meant to work is laid out clearly:

"Add '-sg' to the command line to get the execution graph shown
in the browser"

If you want something else, you can write your own script.
Whether the feature should be included or not, might be best left
up for decision by the TC, I'm just giving it some time for 
comments first, even though we know that proponents will be
quite and opponents loud, as always.

Best regards
sw



More information about the ffmpeg-devel mailing list