I am u开发者_运维百科sing FrameExtractor in iphone.
In the simulator, it works fine.
When I run on a real device, it gives the following error:
"-[VideoFrameExtractor setupScaler] in VideoFrameExtractor.o"
I followed this tutorial. The tutorial suggests that I should use the following line, but where I should I place this line?
./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'
That line is for compiling FFMPEG. Please take a look at this project. There you will see scripts for compiling ffmpeg for iphone.
精彩评论