[FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Jun 3 17:33:52 EEST 2025
softworkz .:
>
>
>> -----Original Message-----
>> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Andreas
>> Rheinhardt
>> Sent: Montag, 2. Juni 2025 04:39
>> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
>> Subject: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly
>> instead of gzip
>>
>> This is a WIP patchset to further improve the resource manager. The
>> configure bits are the one that need more work: How do we detect zlib
>> (and the required library to link to) on the host system?
>>
>
> Hi,
>
> I ran CI builds for the whole Patchset
> https://github.com/ffstaging/FFmpeg/pull/91
>
>
> Mac build fails (all others are fine)
> https://dev.azure.com/githubsync/ffmpeg/_build/results?buildId=91751&view=logs
>
>
>
> Undefined symbols for architecture x86_64:
> Undefined symbols for architecture x86_64:
> "_ff_vf_yadif_videotoolbox_metallib_len", referenced from:
> _do_init in libavfilter.a[397](vf_yadif_videotoolbox.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [ffprobe_g] Error 1
> "_ff_vf_yadif_videotoolbox_metallib_len", referenced from:
> _do_init in libavfilter.a[397](vf_yadif_videotoolbox.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [ffplay_g] Error 1
>
Thanks for the test. I overlooked that this was also used by metal.
Updated version attached and also available at
https://github.com/mkver/FFmpeg/tree/bin2c. Btw: The non-bin2c patches
are actually logically independent from the bin2c patches and don't need
to wait for them (there will be rebase conflicts when changing the
order, but fixing them would be on me).
The metal bits are untested, but should work.
I have not worked on the configure bits.
- Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-ffbuild-bin2c-Use-zlib-directly-instead-of-gzip.patch
Type: text/x-patch
Size: 12817 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0002-fftools-resources-resman-Don-t-mix-FFmpeg-and-zli.patch
Type: text/x-patch
Size: 1225 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0003-fftools-resources-resman-Remove-unused-function-p.patch
Type: text/x-patch
Size: 1934 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0004-ffbuild-bin2c-Avoid-reallocations-when-uncompress.patch
Type: text/x-patch
Size: 8364 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0005-ffbuild-bin2c-Store-compressed-size-in-band.patch
Type: text/x-patch
Size: 16058 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0006-ffbuild-bin2c-Allow-to-use-aligned-reads.patch
Type: text/x-patch
Size: 4091 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0007-fftools-resources-resman-Use-pointer-to-resource-.patch
Type: text/x-patch
Size: 3380 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0008-fftools-resources-resman-Constify-ret-of-ff_resma.patch
Type: text/x-patch
Size: 1574 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0009-fftools-resources-resman-Avoid-AVDictionary.patch
Type: text/x-patch
Size: 5284 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0010-fftools-resources-resman-Improve-headers.patch
Type: text/x-patch
Size: 1479 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250603/a2cf374c/attachment-0009.bin>
More information about the ffmpeg-devel
mailing list