ffmpeg4ios icon indicating copy to clipboard operation
ffmpeg4ios copied to clipboard

how to use ffmpeg4ios in xcode?

Open vasudeivendran opened this issue 14 years ago • 4 comments

hi ciphor,

  i want to use ffmpeg in my project . while surff in net i got ur code .i need following help from you
  1. how you built for ios ?
  2. how can i use ffmpeg4ios in my xcode project ?

vasudeivendran avatar Jan 25 '12 12:01 vasudeivendran

  1. run ./build_armv7 to build it for ios.
  2. read the sample at samples/rtsp_player, which is a simple video player which demonstrates how to use ffmpeg4ios.

ciphor avatar Feb 07 '12 09:02 ciphor

thanks for reply . that ./build_armv7 throws some errors . then i have changed some option it was works fine .Thanks once again. am beginner for command line work .plz give some advice to start writing script file my own.

vasudeivendran avatar Feb 10 '12 03:02 vasudeivendran

hi, i tried to compile with the latest XCODE 4.3.1 and i get the following errors. Why did you hardcode your directory path's into your script?

/Users/Nader/Dropbox/Proj.Mac/Libraries/ffmpeg4ios Naders-iMac:ffmpeg4ios Nader$ ./build_armv7 rm: No match. Makefile:236: /home/wl/source/ffmpeg-0.7/tests/fate.mak: No such file or directory Makefile:237: /home/wl/source/ffmpeg-0.7/tests/fate2.mak: No such file or directory Makefile:239: /home/wl/source/ffmpeg-0.7/tests/fate/aac.mak: No such file or directory Makefile:240: /home/wl/source/ffmpeg-0.7/tests/fate/als.mak: No such file or directory Makefile:241: /home/wl/source/ffmpeg-0.7/tests/fate/fft.mak: No such file or directory Makefile:242: /home/wl/source/ffmpeg-0.7/tests/fate/h264.mak: No such file or directory Makefile:243: /home/wl/source/ffmpeg-0.7/tests/fate/mp3.mak: No such file or directory Makefile:244: /home/wl/source/ffmpeg-0.7/tests/fate/vorbis.mak: No such file or directory Makefile:245: /home/wl/source/ffmpeg-0.7/tests/fate/vp8.mak: No such file or directory make: *** No rule to make target /home/wl/source/ffmpeg-0.7/tests/fate/vp8.mak'. Stop. ./configure: Permission denied. Makefile:236: /home/wl/source/ffmpeg-0.7/tests/fate.mak: No such file or directory Makefile:237: /home/wl/source/ffmpeg-0.7/tests/fate2.mak: No such file or directory Makefile:239: /home/wl/source/ffmpeg-0.7/tests/fate/aac.mak: No such file or directory Makefile:240: /home/wl/source/ffmpeg-0.7/tests/fate/als.mak: No such file or directory Makefile:241: /home/wl/source/ffmpeg-0.7/tests/fate/fft.mak: No such file or directory Makefile:242: /home/wl/source/ffmpeg-0.7/tests/fate/h264.mak: No such file or directory Makefile:243: /home/wl/source/ffmpeg-0.7/tests/fate/mp3.mak: No such file or directory Makefile:244: /home/wl/source/ffmpeg-0.7/tests/fate/vorbis.mak: No such file or directory Makefile:245: /home/wl/source/ffmpeg-0.7/tests/fate/vp8.mak: No such file or directory make: *** No rule to make target/home/wl/source/ffmpeg-0.7/tests/fate/vp8.mak'. Stop. mv: rename libavcodec/libavcodec.a to armv7/libavcodec.a: No such file or directory mv: rename libavdevice/libavdevice.a to armv7/libavdevice.a: No such file or directory mv: rename libavformat/libavformat.a to armv7/libavformat.a: No such file or directory mv: rename libavutil/libavutil.a to armv7/libavutil.a: No such file or directory mv: rename libswscale/libswscale.a to armv7/libswscale.a: No such file or directory rm: No match. cp: No match.

ezrover avatar Mar 25 '12 16:03 ezrover

I have the same error than @ezrover so what I tried to do is follow this tutorial : https://care2achieve.wordpress.com/tag/ffmpeg4ios/

Ivsucram avatar Apr 12 '12 02:04 Ivsucram