NVIDIA常用知识点

作者:罗上文,微信:Loken1,公众号:FFmpeg弦外之音

1,如何查看显卡架构?

答:可以使用 nvidia-smi -q 命令,如下:

1-1

2,如何查看 NVDEC/NVENC 的数量?

答:可以通过 Video Encode and Decode GPU Support Matrix 查看,如下:

1-2

这里注意,每个编解码会话只会用到一个 NVDEC 或者 NVENC 。在 VIDEO CODEC SDK 文档里面有提及,如下:

Note that performance with single encoding session cannot exceed performance per NVENC, regardless of the number of
NVENCs present on the GPU

3,NVDEC/NVENC 与 CUDA Cores 是独立的硬件单元吗?

答:是独立的硬件单元,如下:

1-1-2

所以在使用硬件编解码的时候,一般是不会占用到 CUDA Cores 的资源的。但是有些编解码的参数特性,会用到 CUDA Cores 来计算复杂度,例如 Temporal AQ


4,video clocks 是什么意思?

答:GPU 频率

FFmpeg书籍版权所属@罗上文 2025 all right reserved,powered by Gitbook该文件修订时间: 2026-08-14 16:18:30

results matching ""

    No results matching ""