You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
552 B
31 lines
552 B
#!/bin/bash -e
|
|
sudo apt-get remove ffmpeg libavcodec-dev
|
|
|
|
sudo apt-get update -qq && sudo apt-get -y install \
|
|
autoconf \
|
|
automake \
|
|
build-essential \
|
|
cmake \
|
|
git-core \
|
|
libass-dev \
|
|
libfreetype6-dev \
|
|
libsdl2-dev \
|
|
libtool \
|
|
libva-dev \
|
|
libvdpau-dev \
|
|
libvorbis-dev \
|
|
libxcb1-dev \
|
|
libxcb-shm0-dev \
|
|
libxcb-xfixes0-dev \
|
|
pkg-config \
|
|
texinfo \
|
|
wget \
|
|
zlib1g-dev
|
|
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
|
|
make -j8
|
|
make install
|
|
|
|
|