Files
agnos-builder/userspace/compile-ffmpeg.sh
T
2021-09-23 19:08:32 -07:00

14 lines
345 B
Bash
Executable File

#!/bin/bash -e
# Install ffmpeg (the one from the ubuntu repos doesn't work with our libOpenCL)
cd /tmp
wget https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.bz2
tar xvf ffmpeg-4.2.2.tar.bz2
cd ffmpeg-4.2.2
./configure --enable-shared --disable-static
make -j$(nproc)
checkinstall -yD --install=no --pkgname=ffmpeg
mv ffmpeg*.deb /tmp/ffmpeg.deb