Installing precompiled FFMPEG with all plugins enabled
For those that are too busy (or too lazy) to compile it themselves because the version that comes from package managers has plugins disabled
Refferences:
johnvansickle
back to home
In this example i am working with STM32MP157x
FFMPEG lazy mode
Before instalation check your machenes architecture dpkg --print-architecture
root@stm32mp2:~# dpkg —print-architecture
arm64
Now sellect youre spice accordingly to your architecture
amd64: ffmpeg-git-amd64-static.tar.xz
i686: ffmpeg-git-i686-static.tar.xz
arm64: ffmpeg-git-arm64-static.tar.xz
armhf: ffmpeg-git-armhf-static.tar.xz
armel: ffmpeg-git-armel-static.tar.xz
Download the compressed file wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-arm64-static.tar.xz
root@stm32mp2:~# wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-arm64-static.tar.xz
—2025-01-14 17:51:57— https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-arm64-static.tar.xz
Resolving johnvansickle.com… 107.180.57.212
Connecting to johnvansickle.com|107.180.57.212|:443… connected.
HTTP request sent, awaiting response… 200 OK
ALength: 19400492 (19M) [application/x-xz]
Saving to: ‘ffmpeg-git-arm64-static.tar.xz’
s
ffmpeg-git-arm64-static.tar.x 100%[=================================================>] 18.50M 111KB/s in 5m 59s
s
2025-01-14 17:57:57 (52.7 KB/s) - ‘ffmpeg-git-arm64-static.tar.xz’ saved [19400492/19400492]
Extract the tarball tar xvf ffmpeg-git-arm64-static.tar.xz
When the process finishes FFMPEG is ready for use, just open the directory cd ffmpeg-git-20240629-arm64-static
and run ./ffmpeg -v
Making FFMPEG run globally
One advantage of this is its going to be accesible from anywhere like any other program. Right now to run FFMPEG you need to run it in the original directory
To enable FFMPEG globally run sudo mv ffmpeg-git-20240629-arm64-static/ffmpeg ffmpeg-git-20240629-arm64-static/ffprobe /usr/bin/
outside of the directory
root@stm32mp2:~# sudo mv ffmpeg-git-20240629-arm64-static/ffmpeg ffmpeg-git-20240629-arm64-static/ffprobe /usr/bin/
And that it you can freely use ffmpeg yippee