Skip to content

for Nvidia RTX 50xx series AV1 format HW-decoding #252

@vivazkote

Description

@vivazkote

as Nvidia RTX 50xx series has new option for hardware decoding of AV1 format, I upgraded line in build-ffmpeg:
- if build "nv-codec" "11.1.5.3"; then
to:
+ if build "nv-codec" "13.0.19.0"; then

and
- export CUDA_COMPUTE_CAPABILITY=52
to:
+ export CUDA_COMPUTE_CAPABILITY=120

assuming CUDA 13 installed

which compiled successfully. Now is possible to use hardware decoding of AV1 format with option -vcodec av1_cuvid
example: ffplay -i 'av1codec.mkv' -vcodec av1_cuvid

p.s. if you have already compiled with older version, remove lock file nv-codec.done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions