CUDA For WSL官网
设置环境变量

export PATH=/usr/local/cuda-12.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-12.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

nvcc -V

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_16:45:21_PST_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0

ffmpeg 支持nv编解码

git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
make install
git clone https://github.com/FFmpeg/FFmpeg.git
./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp --enable-cuvid --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared --prefix=/mywork/install/ --disable-doc  --enable-shared


如果需要Nvidia的编解码可以下载官方SDK
VideoProcessingFramework

标签: none

已有 6 条评论

  1. 《妖猫传》剧情片高清在线免费观看:https://www.jgz518.com/xingkong/62820.html

  2. 每一个段落都紧密相连,逻辑清晰,展现了作者高超的写作技巧。

  3. 新项目准备上线,寻找志同道合的合作伙伴coinsrore.com

  4. 手机出租在线解码+15561262350+http://baidu.com

  5. 华纳企业开户所需材料?(▲18288362750?《?微信STS5099? 】【╃q 2704132802╃】

  6. 华纳圣淘沙公司快速开户通道(183-8890-9465—?薇-STS5099【6011643】

    三分钟搞定华纳圣淘沙公司开户

    (183-8890-9465—?薇-STS5099【6011643】
    华纳圣淘沙公司极速开户攻略(183-8890-9465—?薇-STS5099【6011643】

    华纳圣淘沙开户流程提速秘籍(183-8890-9465—?薇-STS5099【6011643】

    如何快速完成华纳圣淘沙公司注册(183-8890-9465—?薇-STS5099【6011643】

添加新评论

歌曲封面
0:00