[FFmpeg-devel] [PATCH v3 11/11] fftools/graphprint: Now, make it a Killer-Feature!

Michael Niedermayer michael at niedermayer.cc
Sun Apr 20 13:11:59 EEST 2025


On Fri, Apr 18, 2025 at 02:57:04AM +0000, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
> 
> remember this: -sg   <= show-graph
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  doc/ffmpeg.texi              |   4 +
>  fftools/Makefile             |   1 +
>  fftools/ffmpeg.c             |   2 +-
>  fftools/ffmpeg.h             |   1 +
>  fftools/ffmpeg_filter.c      |   2 +-
>  fftools/ffmpeg_opt.c         |   4 +
>  fftools/graph/filelauncher.c | 204 +++++++++++++++++++++++++++++++++++
>  fftools/graph/graphprint.c   |  50 ++++++++-
>  fftools/graph/graphprint.h   |  32 ++++++
>  9 files changed, 295 insertions(+), 5 deletions(-)
>  create mode 100644 fftools/graph/filelauncher.c

mingw64 on ubuntu

make -k
CC	fftools/graph/filelauncher.o
src/fftools/graph/filelauncher.c: In function ‘ff_open_html_in_browser’:
src/fftools/graph/filelauncher.c:42:24: error: implicit declaration of function ‘ShellExecuteA’ [-Werror=implicit-function-declaration]
   42 |         HINSTANCE rc = ShellExecuteA(NULL, "open", html_path, NULL, NULL, SW_SHOWNORMAL);
      |                        ^~~~~~~~~~~~~
src/fftools/graph/filelauncher.c:42:24: warning: initialization of ‘HINSTANCE’ {aka ‘struct HINSTANCE__ *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
make: *** [src/ffbuild/common.mak:81: fftools/graph/filelauncher.o] Error 1
LD	ffprobe_g.exe
x86_64-w64-mingw32-gcc: error: fftools/resources/graph.html.o: No such file or directory
x86_64-w64-mingw32-gcc: error: fftools/resources/graph.css.o: No such file or directory
make: *** [Makefile:142: ffprobe_g.exe] Error 1
make: Target 'all' not remade because of errors.



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

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250420/ef9e2ac7/attachment.sig>


More information about the ffmpeg-devel mailing list