Solving `libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory` on Ubuntu 17.10

When running a specific script, I'm getting the following error:

libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory

I think it's because ffmpeg 56 is not installed, because I recently upgraded from Ubuntu 16.04 to 17.10.

How can I get this shared object file?

1 answer