wsl‐cuda‐ffmpeg - wookay/genshin GitHub Wiki
- CUDA Toolkit 12.3 Update 1 Downloads
- Download Installer for Linux WSL-Ubuntu 2.0 x86_64
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-3
- https://wiki.yowu.dev/ko/dev/Ubuntu/ffmpeg-compile-with-nvidia-accelerator sudo apt install build-essential yasm cmake libtool libc6 libc6-dev unzip wget libnuma1 libnuma-dev openssl libssl-dev libass-dev libfdk-aac-dev libmp3lame-dev libopus-dev libtheora-dev libvorbis-dev libvpx-dev libx264-dev libx265-dev -y
./configure
--enable-nonfree
--enable-cuda-nvcc
--enable-libnpp
--extra-cflags=-I/usr/local/cuda/include
--extra-ldflags=-L/usr/local/cuda/lib64
--enable-openssl
--enable-gpl
--enable-libass
--enable-libfdk-aac
--enable-libfreetype
--enable-libmp3lame
--enable-libopus
--enable-libtheora
--enable-libvorbis
--enable-libvpx
--enable-libx264
--enable-libx265
--enable-nonfree
sudo apt-get install libfdk-aac-dev sudo apt-get install libmp3lame-dev sudo apt-get install yasm
- libcuda.so.1
sudo ln -s /usr/local/cuda-12.3/targets/x86_64-linux/lib/stubs/libcuda.so /usr/local/cuda/lib64/libcuda.so.1
sudo apt-get install -y libnvidia-encode-535