2022-05-15 06:16:53 +02:00
|
|
|
#!/bin/bash
|
|
|
|
sudo apt update && sudo apt upgrade -y
|
2022-08-08 05:16:30 +02:00
|
|
|
sudo apt install libxml2 libsdl2-dev libx264-dev libx265-dev libvpx-dev libopus-dev cmake build-essential -y
|
2022-05-15 06:16:53 +02:00
|
|
|
echo Downloading libvvdec...
|
|
|
|
cd ~/Downloads
|
2022-06-18 12:58:06 +02:00
|
|
|
mkdir buildforlinux
|
|
|
|
cd buildforlinux
|
2022-08-08 05:16:30 +02:00
|
|
|
git clone --depth=1 https://github.com/fraunhoferhhi/vvenc
|
|
|
|
git clone --depth=1 https://github.com/fraunhoferhhi/vvdec
|
2022-06-18 12:58:06 +02:00
|
|
|
cd vvenc
|
2022-08-08 05:16:30 +02:00
|
|
|
sudo make install
|
2022-06-18 12:58:06 +02:00
|
|
|
cd ../
|
2022-05-15 06:16:53 +02:00
|
|
|
cd vvdec
|
2022-08-08 05:16:30 +02:00
|
|
|
sudo make install
|
2022-05-15 06:16:53 +02:00
|
|
|
cd ../
|
|
|
|
echo Downloading FFmpeg with VVC support
|
2022-08-08 05:16:30 +02:00
|
|
|
git clone --depth=10 https://github.com/tbiat/FFmpeg
|
2022-05-15 06:16:53 +02:00
|
|
|
cd FFmpeg
|
2022-06-18 12:58:06 +02:00
|
|
|
./configure --enable-libvvenc --enable-libvvdec --enable-pic --enable-libxml2 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libopus
|
|
|
|
make -j
|
2022-05-20 11:17:53 +02:00
|
|
|
echo You're ready to preview VVC, view VVC information or convert from VVC using ffmpeg, ffplay and ffprobe.
|
2022-05-15 06:16:53 +02:00
|
|
|
echo - Martin Eesmaa
|