Results 1 to 7 of 7

Thread: How to compile the ffmpeg on iPhone?

  1. #1
    Join Date
    Apr 2010
    Posts
    80

    How to compile the ffmpeg on iPhone?

    Recently I have downloaded the iFrameExtractor sample code and I am trying to compile it with iPhone simulator. The project is displaying the following error message even if I added. *.a libraries in my project. All the libraries are searching for the required path. Anybody has idea related to this; I just want to know how to compile the ffmpeg on iPhone.

  2. #2
    Join Date
    Oct 2008
    Posts
    1,066

    Re: How to compile the ffmpeg on iPhone?

    Usually the libraries are compiled for the arm or machine and not for the i386 simulator. May be the link for the libraries are not correct in the build configurations. You should try to check the path for the libraries and then try to accumulate the fflpay that are using ffmpeg, I am sure that will solve your problem, if that does not help you then give more details related to your problem.

  3. #3
    Join Date
    Oct 2008
    Posts
    951

    Re: How to compile the ffmpeg on iPhone?

    Well I am not idea of anyone who has got it to effort on the simulator. For the many wrong starts, we consideration we had it is working on the simulator, than we have deployed on the device and the video came out distorted. Then in the finish we just did all our checking on the machine. If you have a 3gs you can use this build of ffplay for the 3g you will require to recompile through the gas script.

  4. #4
    Join Date
    Dec 2008
    Posts
    950

    Re: How to compile the ffmpeg on iPhone?

    Actually I have managed to compile it for the purpose of simulator, I will have search for the libraries on my hard disk. I am not able to remember, but I think I have made them fat, that can work with both the simulator and also with the device. The iFrameExtractor is coming with the script that is creating a good group of the fat universal libraries that can include both the ARAMV6 and also the ARMV7 architectures.

  5. #5
    Join Date
    Oct 2008
    Posts
    780

    Re: How to compile the ffmpeg on iPhone?

    May be you can use the libraries that we are using ffplay and webstreamX, I have copied those to the iframeextractor and it is running in a very awesome way, I am amazed at the frame per second rate considering that it is not utilizing the opencv or the opengl. Note though the demo is not having the sound, and key according to my experience.

  6. #6
    Join Date
    May 2010
    Posts
    1

    Re: How to compile the ffmpeg on iPhone?

    Hello,

    1.Get the last code base from SVN
    checkout from svn://svn.ffmpeg.org/ffmpeg/trunk
    2.open a terminal window and go in your working copy folder and compile FFMPEG for iPod touch and iPhone first generation using :

    ./configure --enable-cross-compile --arch=c --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk --cpu=arm6 --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6'

    then :
    make

    get the libs and link with them in xcode !

    You're done !

    Jonathan.

  7. #7
    Join Date
    Feb 2010
    Posts
    207

    Re: How to compile the ffmpeg on iPhone?

    According to me this technology is much easier compared to Android, I am having the universals at some places; there is also build scrip with the webstreamx that must work. Those people who are not familiar with the webstreamX you can get the demo for this from ffmpeg4iphone website. I hope this reply has helped you.

Similar Threads

  1. How to compile ffmpeg + libaacplus and VLC
    By Sanju!Ekta in forum Windows Software
    Replies: 5
    Last Post: 12-07-2011, 11:15 AM
  2. Libav or ffmpeg which is better
    By Virr in forum Windows Software
    Replies: 6
    Last Post: 30-05-2011, 08:06 PM
  3. Need some FFMPEG commandline reference
    By Relish in forum Windows Software
    Replies: 4
    Last Post: 21-01-2010, 05:37 AM
  4. Ffmpeg vs mencoder
    By geokilla in forum Windows Software
    Replies: 3
    Last Post: 25-11-2009, 09:12 AM
  5. FFmpeg error
    By Mr. Emperor in forum Windows Software
    Replies: 3
    Last Post: 15-06-2009, 09:53 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,563,796.21630 seconds with 17 queries