Git Product home page Git Product logo

Comments (7)

kewlbear avatar kewlbear commented on May 18, 2024
  1. Build x264 for iOS
  2. Uncomment the line containing "X264=" and point it to your x264 build output
  3. Modify any other configure flags if needed
  4. Run script

from ffmpeg-ios-build-script.

chengzhf avatar chengzhf commented on May 18, 2024

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.

chengzhf avatar chengzhf commented on May 18, 2024

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.

kewlbear avatar kewlbear commented on May 18, 2024

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.

fzakaria avatar fzakaria commented on May 18, 2024

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.

fzakaria avatar fzakaria commented on May 18, 2024

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.

sajidchingchong avatar sajidchingchong commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.