[FFmpeg-trac] #4207(avcodec:new): FFmpeg compile problem witb --enable-nvenc

FFmpeg trac at avcodec.org
Wed Dec 24 20:56:18 CET 2014

#4207: FFmpeg compile problem witb --enable-nvenc
             Reporter:               |                     Type:  defect
  smallishzulu                       |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:  avcodec      |  master
             Keywords:  nvenc        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

 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-

 So error can not find clientKeyPtr attiribute.

 2nd error is at line 1078;

 memcpy(&pic_params.rcParams, &ctx->encode_config.rcParams,

 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

Ticket URL: <https://trac.ffmpeg.org/ticket/4207>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list