Comments (7)
- Build x264 for iOS
- Uncomment the line containing "X264=" and point it to your x264 build output
- Modify any other configure flags if needed
- Run script
from ffmpeg-ios-build-script.
Thank you for your answer. I try to use your another script: x264-iOS. I download x264 source and rename to x264 in the directory where the file build-x264.sh is, and run ./build-x264.sh. The x264 source version is x264-snapshot-20141218-2245. After the running, there are three more folders in the directory:scratch-264, thin-x264 and x264-iOS. In x264-iOS folder, the lib folder has only a *.a. I use the command "lipo -info *.a" to see what architectures it has, and it show that "Architectures in the fat file: *.a are: i386 x86_64". No arm architectures. Did I make anything wrong?
from ffmpeg-ios-build-script.
And there are a lot of warnings:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
from ffmpeg-ios-build-script.
I get the following using http://download.videolan.org/x264/snapshots/x264-snapshot-20141218-2245.tar.bz2.
$ lipo -info x264-iOS/lib/libx264.a
Architectures in the fat file: x264-iOS/lib/libx264.a are: armv7 armv7s i386 x86_64 arm64
By the way, you should open a separate issue in x264-iOS repo when you have some problem with it.
from ffmpeg-ios-build-script.
I've built everything correctly however I'm getting final linking errors in my app.
"_pp_free_context", referenced from:
"_pp_free_mode", referenced from:
"_pp_get_mode_by_name_and_quality", referenced from:
If you have any feedback on what other libraries I'm missing. Google turns up nothing.
from ffmpeg-ios-build-script.
I was missing a new static library that got re-generated.
I had added all the previous static libraries prior to running it with x264 build!
D'oh!
from ffmpeg-ios-build-script.
Hi kewl,
I tried your scripts. What I am looking for is to create a libffmpeg.a in lieu of an executable binary i.e. ffmpeg
Any help would be much appreciated
from ffmpeg-ios-build-script.
Related Issues (20)
- not supported openssl1.1.1d HOT 1
- Not support OBS Studio use NVENC encodec HOT 3
- URGENT: I got this issue when I build the script for the latest version of ffmpeg source code HOT 4
- C compiler cannot create executables HOT 8
- xcrun -sdk iphoneos clang is unable to create an executable file
- ffmpeg 4.4.1 not work HOT 3
- FFmpeg For M1 Mac HOT 2
- file: -lavcodec(/) is not an object file (not allowed in a library)
- Build Error for `xrealloc: cannot allocate 18446744071595622528 bytes` HOT 1
- how to support lanme HOT 6
- How can i compile ffmpeg with libvpx? HOT 1
- How can I compile for M1/arm64 simulators HOT 1
- ffmpeg v6.0 build-script Failed! HOT 2
- Help HOT 1
- Compiling armv7 for ffmpeg-6.0 in macOS ventura HOT 2
- how to build arm64 simulator HOT 1
- How to build static libsrt
- Not able to run on iOS simulator (x86) HOT 2
- tar: Error opening archive: Unrecognized archive format HOT 1
- built FFmpeg does not support RTSP protocol HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-ios-build-script.