how to use ffmpeg4ios in xcode?
hi ciphor,
i want to use ffmpeg in my project . while surff in net i got ur code .i need following help from you
- how you built for ios ?
- how can i use ffmpeg4ios in my xcode project ?
- run ./build_armv7 to build it for ios.
- read the sample at samples/rtsp_player, which is a simple video player which demonstrates how to use ffmpeg4ios.
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.
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.
I have the same error than @ezrover so what I tried to do is follow this tutorial : https://care2achieve.wordpress.com/tag/ffmpeg4ios/