From: "softworkz ." <softworkz-at-hotmail.com@ffmpeg.org>
To: Kieran Kunhya <kieran618@googlemail.com>,
FFmpeg development discussions and patches
<ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show-graph wrapper scripts (aka killer feature)
Date: Tue, 10 Jun 2025 13:31:35 +0000
Message-ID: <DM8P223MB036562E3921C964050F85AC8BA6AA@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CABGuwEnDSAKEEP6e5yUzeXM_bp5EKV2bPHaL8+wM+Pbmm5KBPQ@mail.gmail.com>
> -----Original Message-----
> From: Kieran Kunhya <kieran618@googlemail.com>
> Sent: Dienstag, 10. Juni 2025 00:49
> To: FFmpeg development discussions and patches <ffmpeg-
> devel@ffmpeg.org>
> Cc: softworkz <softworkz@hotmail.com>
> Subject: Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show-
> graph wrapper scripts (aka killer feature)
>
> On Mon, 9 Jun 2025, 20:24 ffmpegagent, <ffmpegagent-at-
> gmail.com@ffmpeg.org>
> wrote:
>
> > The "killer feature" returns!
> >
> > Different approach - same procedure:
> >
> > * Add -sg to your FFmpeg command line
> > * But now it's not
> > * ./ffmpeg -sg xxxxx but
> > * ./ffmpeg-sg xxxxx
> >
>
> Why does this need to be part of FFmpeg if it's a wrapper script to
> spawn a
> web browser (nothing to do with FFmpeg's actual purpose of processing
> multimedia).
>
> Kieran
Hi Kieran,
of course that's a legitimate question, and a question that could be asked
for almost any new feature in FFmpeg.
Obviously, there is no forcing reason for which it would _need_ to be included,
so I can only say why it _should_ be included in FFmpeg IMHO:
- Highly Useful
If you haven't seen what it is and what it does, than I would suggest to
everybody to try it out or to look at some of the examples:
https://softworkz.github.io/ffmpeg_output_apis/2_hwa_qsv.html
https://softworkz.github.io/ffmpeg_output_apis/3_complex_graphs.html
This should also answer your question about what it has to do with "FFmpeg'
actual purpose of processing multimedia": FFmpeg has a command line
interface and it's often not clear to everybody how a certain command line
is actually interpreted and executed by FFmpeg. This is helpful for
both beginners and advanced users of FFmpeg (e.g. when things get complex
like in the second example).
Even Michael said he finds it useful and Niklas Haas had voiced a need
for visualizing the negotiated image formats between filters, earlier this
year.
- Highly Convenient
This core functionality for the above is already merged into master, but
it's rather painful to make use of it
- You need to remember the command line parameters
- You need to type them
- You need to determined a name for the output html file
- You need to change it each time when you want to compare commands
- You need to manually open the output in a browser
It becomes highly convenient when the only thing you need to do and
remember is to append "-sg" to any command whenever you need it and
everything else happens automatically.
You can try many command variations and it creates tabs in your
browser between you can switch can compare the different graphs.
- Instant Availability
This simply means that whenever and wherever you need it...
=> it's already there
It is part of the build output, which means all developers that you
can compile, test your work and when you want to visualize the graph
you just need to append -sg and it works - without doing any extra
work.
Same for make install and all kinds of distribution packages.
When this is given, we can add a note to the documentation and make
this available to Millions of users.
If it would be just scripts for download from "somewhere", then it
wouldn't be a feature available to Millions, but just something
for a few dozens of people who would ever know about it.
Those considerations combined is what had originally brought me
to the tag line that some found funny and others rather "immature":
Highly Useful + Convenient + Instant Availability = "Killer Feature"
It's helpful for the masses => it should be available to the masses.
This is why I believe that it should be included in FFmpeg.
Best regards,
softworkz
_______________________________________________
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".
next prev parent reply other threads:[~2025-06-10 13:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 19:23 ffmpegagent
2025-06-09 19:23 ` [FFmpeg-devel] [PATCH 1/3] tools/ffmpeg-sg: Add show-graph wrapper script for Linux softworkz
2025-06-09 19:23 ` [FFmpeg-devel] [PATCH 2/3] tools/ffmpeg-sg: Add show-graph wrapper script for Windows softworkz
2025-06-09 19:23 ` [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output softworkz
2025-06-11 19:18 ` Marton Balint
2025-06-11 20:58 ` softworkz .
2025-06-11 21:14 ` Kieran Kunhya via ffmpeg-devel
[not found] ` <CABGuwEm72Ynf=anVta4rj0pOPThHeM0aweAbYVTBuvLsQSbJ4Q@mail.gmail.com>
2025-06-11 21:39 ` softworkz .
2025-06-11 22:04 ` softworkz .
2025-06-12 7:40 ` Nicolas George
2025-06-12 18:42 ` softworkz .
2025-06-12 19:06 ` Nicolas George
2025-06-12 19:20 ` softworkz .
2025-06-09 22:49 ` [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show-graph wrapper scripts (aka killer feature) Kieran Kunhya via ffmpeg-devel
2025-06-11 14:42 ` Nicolas George
[not found] ` <CABGuwEnDSAKEEP6e5yUzeXM_bp5EKV2bPHaL8+wM+Pbmm5KBPQ@mail.gmail.com>
2025-06-10 13:31 ` softworkz . [this message]
2025-06-10 15:28 ` softworkz .
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM8P223MB036562E3921C964050F85AC8BA6AA@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM \
--to=softworkz-at-hotmail.com@ffmpeg.org \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=kieran618@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git