Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to compile the ffmpeg on iPhone?

Portable Devices


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-05-2010
Member
 
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.

Reply With Quote
  #2  
Old 27-05-2010
Member
 
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.
Reply With Quote
  #3  
Old 27-05-2010
Member
 
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.
Reply With Quote
  #4  
Old 27-05-2010
Member
 
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.
Reply With Quote
  #5  
Old 27-05-2010
Member
 
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.
Reply With Quote
  #6  
Old 27-05-2010
Member
 
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.
Reply With Quote
  #7  
Old 28-05-2010
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to compile the ffmpeg on iPhone?"
Thread Thread Starter Forum Replies Last Post
How to compile ffmpeg + libaacplus and VLC Sanju!Ekta Windows Software 5 12-07-2011 11:15 AM
Libav or ffmpeg which is better Virr Windows Software 6 30-05-2011 08:06 PM
Need some FFMPEG commandline reference Relish Windows Software 4 21-01-2010 05:37 AM
Ffmpeg vs mencoder geokilla Windows Software 3 25-11-2009 09:12 AM
FFmpeg error Mr. Emperor Windows Software 3 15-06-2009 09:53 AM


All times are GMT +5.5. The time now is 12:54 PM.