我在 iphone 中使用 FrameExtractor。
在模拟器中,它工作正常。
当我在真实设备上运行时,会出现以下错误:
"-[VideoFrameExtractor setupScaler] in VideoFrameExtractor.o"
我关注了this tutorial .本教程建议我应该使用以下行,但是我应该将这一行放在哪里?
./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'
最佳答案
该行用于编译 FFMPEG。请看这个project .在那里你会看到为 iphone 编译 ffmpeg 的脚本。
关于iphone - 通过iphone中的ffmpeg将视频转换为图像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5115927/