开发者

converting video to image through ffmpeg in iphone?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜