Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal
12,215
I have use below scripts for making FFmpeg build for arm64
https://github.com/kewlbear/FFmpeg-iOS-build-script
You have to add libbz2.dylib and libiconv.dylib framework in your xCode project.
Related videos on Youtube
Author by
sandy
Updated on June 04, 2022Comments
-
sandy about 2 years
I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does not work well with rest of the architectures. Hence I need a script which can work for all the supported architectures for iOS including armv7, armv7s, armv64 and i386.
-
Ankish Jain over 9 yearsHow to build for ios8 and xcode 6.0 ? Any idea. Please help
-
Lukasz Czerwinski almost 9 yearsHow did you link it in XCode in Swift project? When I try to use any function from ffmpeg, I got an error, e.g.: Undefined symbols for architecture x86_64: "avcodec_register_all()", referenced from: +[Bridge_ObjectiveC_Cpp run_test_a:] in bridge.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
-
kemdo almost 6 yearshello. i can build that script with ffmpeg version 4.0