[FFmpeg-devel] [PATCH v8 14/15] fftools/graphprint: Add execution graph printing
Michael Niedermayer
michael at niedermayer.cc
Fri May 2 03:11:53 EEST 2025
On Tue, Apr 29, 2025 at 08:33:50PM +0000, softworkz . wrote:
>
>
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Michael
> > Niedermayer
> > Sent: Dienstag, 29. April 2025 21:35
> > To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH v8 14/15] fftools/graphprint: Add execution
> > graph printing
> >
> > Hi softworkz
> >
> > On Tue, Apr 29, 2025 at 01:00:03AM +0000, softworkz wrote:
> > > From: softworkz <softworkz at hotmail.com>
> > >
> > > The key benefits are:
> > >
> > > - 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
> >
> > fails on arm cross compile (no zlib maybe)
> >
> > /usr/lib/gcc-cross/arm-linux-gnueabi/7/../../../../arm-linux-gnueabi/bin/ld:
> > fftools/resources/resman.o: in function `decompress_gzip':
> > ffmpeg/arm/src/fftools/resources/resman.c:82: undefined reference to
> > `inflateInit2_'
> > /usr/lib/gcc-cross/arm-linux-gnueabi/7/../../../../arm-linux-gnueabi/bin/ld:
> > ffmpeg/arm/src/fftools/resources/resman.c:94: undefined reference to `inflate'
> > /usr/lib/gcc-cross/arm-linux-gnueabi/7/../../../../arm-linux-gnueabi/bin/ld:
> > ffmpeg/arm/src/fftools/resources/resman.c:110: undefined reference to
> > `inflateEnd'
>
>
> Ouch! I thought that zlib could be taken for granted.
>
> What should I do? Guard this and everything else that is depending on it
> by #if blocks?
>
> Thanks for any advice, I'm not sure how to approach this exactly...
#if or make the whole tool depend on zlib in configure
or write a basic zlib implementation ;)
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/20250502/f06ea4f1/attachment.sig>
More information about the ffmpeg-devel
mailing list