Keylost / jetson-ffmpeg

ffmpeg support on nvidia jetson
Other
78 stars 26 forks source link

After using ffmpeg6.0_nvmpi.patch, ffmpeg 6.0 version make encountered undefined types #30

Closed Strange-mzi closed 4 days ago

Strange-mzi commented 1 week ago

Hey @Keylost.

I am encountering compilation errors when building FFmpeg with NVENC support. I have followed the standard build process, but I am getting several errors related to missing members in the NV_ENC_CONFIG_HEVCand NV_ENC_CONFIG_AV1structures, as well as undeclared buffer format constants.

Here are the details: Environment:

Error Messages:

image

Additional Information:

Thank you for your help!

Best regards, Strange.

Keylost commented 1 week ago

Hi! ffmpeg6.0_nvmpi.patch does not affect the compilation of nvenc.c. The patch adds support for nvmpi, but not nvenc. Try configuring ffmpeg with the --disable-nvenc parameter. P.S. Nvenc is designed to work with discrete NVIDIA graphics cards. Nvenc will not work on Jetson platforms, that's why we made nvmpi.