Last active
December 26, 2022 16:34
-
-
Save Deathproof76/07e544adbff38dd3b3bd02d193bcce20 to your computer and use it in GitHub Desktop.
Cartwheel FFmpeg Quick Sync (qsv) Onevpl enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cartwheel FFmpeg | |
mkdir ~/git && cd ~/git | |
git clone https://github.com/intel-media-ci/cartwheel-ffmpeg --recursive | |
cd cartwheel-ffmpeg | |
git submodule update --init --recursive | |
cd ffmpeg | |
git am ../patches/*.patch | |
PKG_CONFIG_PATH=/opt/intel/mediasdk/lib/pkgconfig ./configure \ | |
--prefix=/home/yourname/.local \ ####change to preferred install path | |
--extra-cflags="-I/opt/intel/mediasdk/include" \ ###location may depend on your env | |
--extra-ldflags="-L/opt/intel/mediasdk/lib" \ ###location may depend on your env | |
--extra-ldflags="-L/opt/intel/mediasdk/plugins" \ ###location may depend on your env | |
--enable-libfontconfig --enable-libass --enable-gpl\ | |
--enable-libfdk-aac --enable-libmp3lame --enable-libopus \ | |
--enable-libtheora --enable-libvorbis --enable-libdav1d \ | |
--enable-libwebp --enable-libvpx --enable-libx264 \ | |
--enable-libx265 --enable-libzvbi --enable-libzimg \ | |
--enable-opencl --enable-vaapi --enable-libvpl \ | |
--enable-nonfree \ | |
--enable-vulkan --extra-libs=-lpthread | |
make -j8 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiles FFmpeg applies Cartwheel Patches, adds Quicksync and OneVpl support.
I'm using an Intel Arc on Ubuntu 22.04. That's what I wrote this for mainly.
Uses --enable-libvpl instead of --enable-libmfx for FFmpeg, and enables a lot more, also uses multicore compiling .
may need:
Clones to ~/git. Also may need dependencies for ffmpeg I haven't thought about because they were already installed (still w.i.p.). Just look, when it nags during FFmpeg configure and do tell me to update.