Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

ffmpeg static builds from john requires libraries?

Writer 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.0

Just 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?

4

1 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 ~/.profile

And 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.xz

And 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 ~/bin approach that I have described here.
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy