ffmpeg static builds from john requires libraries?
Sebastian Wright
I'm trying to run ffmpeg with ubuntu 18.04. I downloaded latest git build from
But when I try to run any ffmpeg command, it complains about a lot of missing libraries like
libfdk-aac.so.1
libva.so.2
libass.so.9
libSDL2-2.0.so.0Just to name a few...isn't the point of a static build to not require anything else to run? Or am I doing something wrong?
I feel like there are endless libraries I have to install to make it work. Is there a way to just install everything it needs?
And I believe most libraries in the repos would be super old right?
41 Answer
I suspect that you are picking up another version of FFmpeg as John Van Sickle's FFmpeg does not show these error messages.
Try installing as follows:
mkdir ~/bin && cd ~/bin
wget
tar xvf ffmpeg-git-amd64-static.tar.xz --no-anchored 'ffmpeg' --strip 1
source ~/.profileAnd this should set you up with John's static FFmpeg for a local user! I tested this on my 18.04 system and it worked very well. Only remaining task would be to consider removing the archive remaining, if you have no further use for it:
rm ~/bin/ffmpeg-git-amd64-static.tar.xzAnd that should do it...
References:
- Frequently Asked Questions: The FAQs for John Van Sickle's FFmpeg static builds with a few more installation options. I note that he does not use the
~/binapproach that I have described here.