kewlbear/FFmpeg-iOS-build-script

libavformat unable to open mp4 or mov

Closed this issue · 1 comments

If I link against libraries compiled with this script I get a "moov atom not found" error thrown whenever I try to call avformat_open_input on a mov or mp4 file generated by an iphone. When I simply link against dylibs homebrew generates for ffmpeg, it works just fine. Any ideas?

I get this from Homebrew version:

ffmpeg version 2.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  8 2014 13:40:07 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-ffplay

You should try some of their configurations.