2011-02-25 94 views
0

我在iphone中使用FrameExtractor。通過iphone中的ffmpeg將視頻轉換爲圖像?

在模擬器中,它工作正常。

當我真正的設備上運行,它提供了以下錯誤:

"-[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' 

回答

0

該行用於編譯FFMPEG。請看project。在那裏你會看到用於編譯iphone的ffmpeg的腳本。