Skip to content

[ffmpeg] add support in portfile for NVIDIA hardware acceleration #8530

@marcbertola

Description

@marcbertola

Hello,

FFmpeg has support for NVIDIA hardware decode and encode acceleration for H.264 and H.265 (HEVC). However, the existing portfile does not expose this functionality via the features described in the CONTROL file.

I have successfully managed to make a few small modifications to the existing CONTROL and portfile.cmake to accomplish this, and have already compiled successfully for x64-windows, x64-linux and cross-compiled from x64-linux to aarch64-linux (NVIDIA Jetson Xavier board). What is the correct procedure to perform a code review of the changes and pull request?

Also worth noting: ffmpeg's scripts depend on the presence of the header-only FFmpeg/nv-codec-headers repo. To implement my fix, I needed to add a new port for this, and create a dependency on it in the CONTROL file.
https://github.com/FFmpeg/nv-codec-headers

Metadata

Metadata

Assignees

Labels

category:port-featureThe issue is with a library, which is requesting new capabilities that didn’t exist

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions