Compiling FFMPEG for ARM

armbeagleboardcompileffmpeg

I have a Linux ARM computer (BeagleBone Black). I am trying to do some camera streaming and need FFMPEG to do it. I have tried everything that I can think of (including following guides for compiling it in general), but have failed to compile FFMPEG (for ARM) without fatal errors.

ubuntu@ubuntu-armhf:~/ffmpeg_sources/ffmpeg$ ./configure –prefix="$HOME/ffmpeg_build" \

–extra-cflags="-I$HOME/ffmpeg_build/include" –extra-ldflags="-L$HOME/ffmpeg_build/lib" \
–bindir="$HOME/bin" –extra-libs="-ldl" –enable-gpl –enable-libass –enable-libfdk-aac \
–enable-libmp3lame –enable-libopus –enable-libtheora –enable-libvorbis –enable-libvpx \
–enable-libx264 –enable-nonfree –enable-x11grab

ERROR: libfdk_aac not found

Does anyone know how to compile FFMPEG for an ARMv7 processor?

Best Answer

After having a lengthy discussion with @JourneymanGreek and @allquixotic on the chat, I was able to find an answer to my question. I basically just started leaving out encoders to compile until it worked!

In this case, since the error message was libfdk_aac not found, removing the part of the config file that said --enable-libfdk-aac1 did the trick

Related Question