VVCEasy/libvvdecffmpeg.sh

23 lines
803 B
Bash
Raw Normal View History

2022-05-15 06:16:53 +02:00
#!/bin/bash
sudo apt update && sudo apt upgrade -y
2022-06-18 12:58:06 +02:00
sudo apt install libxml2 libsdl2-dev libx264-dev libx265-dev libvpx-dev libopus-dev -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
git clone https://github.com/fraunhoferhhi/vvenc
git clone https://github.com/fraunhoferhhi/vvdec
cd vvenc
make install install-prefix=/usr/local
cd ../
2022-05-15 06:16:53 +02:00
cd vvdec
2022-05-20 11:17:53 +02:00
make install install-prefix=/usr/local
2022-05-15 06:16:53 +02:00
cd ../
echo Downloading FFmpeg with VVC support
2022-06-18 12:58:06 +02:00
git clone 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