Skip to content

Conversation

@z-khan
Copy link
Contributor

@z-khan z-khan commented Apr 17, 2025

This PR improves the PyAV build dependencies with the following changes:

CUDA flag updates

  • Update configuration flags for NVENC/NVDEC as per latest version of nv-codec-headers corresponding to Video Codec SDK version 13.

Jetson hardware support (resolves #1715)

  • Detect Jetson system via /etc/nv_tegra_release and check for presence of Jetson Multimedia API
  • Clone and build jetson-ffmpeg .
  • Install and apply patch to FFmpeg source.

Build optimization

  • Replace tarball download with git clone using the n<version> branch and shallow clone (--depth=1) for efficiency and support for Jetson-ffmpeg patch application
  • Use parallel compilation across available CPU cores.

z-khan added 2 commits April 16, 2025 12:37
Build ffmpeg on Jetson devices with NVIDIA Jetson Multimedia API for hardware encode/decode support (if supported by device)
@WyattBlue
Copy link
Member

I don't want to support embedded platforms or platforms that require patching ffmpeg

@WyattBlue WyattBlue closed this Apr 18, 2025
@z-khan z-khan deleted the nvmpi branch April 24, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants