Hi @sk3llo, thanks for the v3.0.0 VideoToolbox support added via #65 — that fixed the full / full-gpl variants.
The same fix wasn't extended to min and min_gpl. As of ffmpeg_kit_flutter_new_min 3.1.0 the iOS binary is still compiled with --disable-videotoolbox --disable-avfoundation, so h264_videotoolbox and hevc_videotoolbox aren't available at runtime on iPhone. Confirmed by strings over the published libavcodec binaries across all 8 variants — only full / full-gpl ship VideoToolbox symbols.
Use case: apps that want hardware-accelerated H.264/HEVC encoding on iOS (battery + speed) but need the patent-clean codec surface (min excludes kvazaar, libx264, libx265, libxvidcore). Right now there's no published variant covering that combination — pick patent surface or lose iOS HW encoding.
Suggested fix: same approach as the full v3.0.0 patch — pass --enable-ios-videotoolbox --enable-ios-avfoundation when building the min and min_gpl iOS frameworks. Library tokens are defined in arthenica's scripts/function.sh.
We've already verified this works on a min build at heyuforia/ffmpeg-kit@uforia-min-vt — clean Xcode 26 build, both *_videotoolbox symbols present at runtime, no patent-encumbered codecs added. Happy to PR or test a build if helpful.
Thanks for maintaining the package!
Hi @sk3llo, thanks for the v3.0.0 VideoToolbox support added via #65 — that fixed the
full/full-gplvariants.The same fix wasn't extended to
minandmin_gpl. As offfmpeg_kit_flutter_new_min3.1.0 the iOS binary is still compiled with--disable-videotoolbox --disable-avfoundation, soh264_videotoolboxandhevc_videotoolboxaren't available at runtime on iPhone. Confirmed bystringsover the publishedlibavcodecbinaries across all 8 variants — onlyfull/full-gplship VideoToolbox symbols.Use case: apps that want hardware-accelerated H.264/HEVC encoding on iOS (battery + speed) but need the patent-clean codec surface (
minexcludeskvazaar,libx264,libx265,libxvidcore). Right now there's no published variant covering that combination — pick patent surface or lose iOS HW encoding.Suggested fix: same approach as the
fullv3.0.0 patch — pass--enable-ios-videotoolbox --enable-ios-avfoundationwhen building theminandmin_gpliOS frameworks. Library tokens are defined in arthenica'sscripts/function.sh.We've already verified this works on a
minbuild atheyuforia/ffmpeg-kit@uforia-min-vt— clean Xcode 26 build, both*_videotoolboxsymbols present at runtime, no patent-encumbered codecs added. Happy to PR or test a build if helpful.Thanks for maintaining the package!