简体   繁体   中英

Compiling ffmpeg for iOS 5.1

I followed jold's steps from here:

problem compiling ffmpeg for iFrameExtractor

When i try jold's solution i get the following error for armv6 and armv7. i386 works perfect.

lipo: can't open input file: armv6/libavcodec.a (No such file or directory)

lipo: can't open input file: armv6/libavutil.a (No such file or directory

lipo: can't open input file: armv6/libswscale.a (No such file or directory)

When the script ends i have only libadevice.a and libavformat.a in /armv7 and /armv6.

Why?

Short Answer: The reason is because the IframeExtractor build script is wrong. The arm versions of ffmpeg never actually gets built because the script errors out during the build. You can see the error happen during ./configure

See my answer to the same question here:

ffmpeg won't ./configure in iOS5.1

if you don't mind using an older than latest version of ffmpeg, but one well tested that works very well with armv7 devices you can try this.

https://github.com/mooncatventures-group

when we get around to it we will update to version 11, but we find .8 has fewer issues and better video.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM