- Clone ffnvcodec
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
this url is not exist, please provide steps to do it…
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
this url is not exist, please provide steps to do it…
This path works for me. What is the error you see? Can you try again.
Firstly this “https://git.videolan.org/git/ffmpeg/nv-codec-headers.git” url doesn’t exist, secondly when i am configuring the ffmpeg and make -j8 then
libavcodec/nvenc.c: In function ‘nvenc_setup_hevc_config’:
libavcodec/nvenc.c:1360:9: error: ‘NV_ENC_CONFIG_HEVC’ {aka ‘struct _NV_ENC_CONFIG_HEVC’} has no member named ‘pixelBitDepthMinus8’
1360 | hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
| ^~
libavcodec/nvenc.c: In function ‘nvenc_setup_av1_config’:
libavcodec/nvenc.c:1446:8: error: ‘NV_ENC_CONFIG_AV1’ {aka ‘struct _NV_ENC_CONFIG_AV1’} has no member named ‘inputPixelBitDepthMinus8’
1446 | av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
| ^~
libavcodec/nvenc.c:1447:8: error: ‘NV_ENC_CONFIG_AV1’ {aka ‘struct _NV_ENC_CONFIG_AV1’} has no member named ‘pixelBitDepthMinus8’
1447 | av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0;
| ^~
CC libavcodec/pictordec.o
libavcodec/nvenc.c: In function ‘nvenc_map_buffer_format’:
libavcodec/nvenc.c:1676:16: error: ‘NV_ENC_BUFFER_FORMAT_YV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YV12’?
1676 | return NV_ENC_BUFFER_FORMAT_YV12_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_YV12
libavcodec/nvenc.c:1676:16: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/nvenc.c:1678:16: error: ‘NV_ENC_BUFFER_FORMAT_NV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_NV12’?
1678 | return NV_ENC_BUFFER_FORMAT_NV12_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_NV12
libavcodec/nvenc.c:1684:16: error: ‘NV_ENC_BUFFER_FORMAT_YUV444_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YUV444’?
1684 | return NV_ENC_BUFFER_FORMAT_YUV444_PL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NV_ENC_BUFFER_FORMAT_YUV444
make: *** [ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1
make: *** Waiting for unfinished jobs…
Although i have check the nvcc --version and nvidia-smi as well, could you help me from getting out from it…
It does exist.
https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary
This shows https://git.videolan.org/git/ffmpeg/nv-codec-headers.git is the url for the git subprotocol
@val.zapod.vz okay i got it, can you tell me after see above error what could be the possible reason that i am missing.
Error coming when i am build the ffmpeg for gpu acceleration.
You need to use sdk/12.1
branch which has pixelBitDepthMinus8