Opened 9 years ago
Closed 8 years ago
#4207 closed defect (fixed)
FFmpeg compile problem witb --enable-nvenc
Reported by: | smallishzulu | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | nvenc |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hello,
When try to compile from git using --enable-nvenc, compiler gives error on line 516 for libavcodec/nvenc.c
encode_session_params.clientKeyPtr = &license;
This error is given as;
Starting with the GeForce 334.67 driver, NVENC no longer requires a license key to use on GeForce cards.
Ref: http://stackoverflow.com/questions/16630414/nvenc-feature-not-available-for-current-license-key-type-error-from-nvencoder
So error can not find clientKeyPtr attiribute.
2nd error is at line 1078;
memcpy(&pic_params.rcParams, &ctx->encode_config.rcParams, sizeof(NV_ENC_RC_PARAMS));
can not find attiribute again. I removed the line and compiled. It works fine with a Geforce card. But I do not know what the effect will be.
Kind Regards,
A FFmpeg user - no developer
Change History (4)
comment:1 by , 9 years ago
comment:3 by , 8 years ago
We can close this bug. Now FFmpeg can use latest SDK 6.0.1 and no problem with license key anymore.
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Indeed this happens with the latest nvenc_5.0.1_sdk
It builds fine with the includes from nvenc_4.0.0_windows_sdk (yep windows!).
However it would be nice if someone updated nvenc code for the new 5.0.1 sdk.