[FFmpeg-trac] #9370(build system:new): ffmpeg nvenc/nvdec new build dependency ?

FFmpeg trac at avcodec.org
Tue Aug 10 12:59:57 EEST 2021


#9370: ffmpeg nvenc/nvdec new build dependency ?
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                     Type:  task
               Status:  new          |                 Priority:  normal
            Component:  build        |                  Version:  git-
  system                             |  master
             Keywords:  nvenc nvdec  |               Blocked By:
  SDK                                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the potential issue:

 In regard to commit 00b579890d866f0dd2f34bcb8aceb890ab29f582
 https://git.videolan.org/?p=ffmpeg.git;a=blobdiff;f=libavcodec/nvenc.c;h=815b9429b3d35013a5d9c09f4f1b56a956f3e2af;hp=df8e472e73531be62cd1e177bc6755b633c62fa9;hb=00b579890d866f0dd2f34bcb8aceb890ab29f582;hpb=c60b76d0c880037309e78badd62943455f715e6e

 I see this line:
 {{{
 av_log(avctx, AV_LOG_WARNING, "Failed setting QP CB/CR offsets, SDK 11.1
 or greater required at compile time.\n");
 }}}

 I was under an impression that compiling ffmpeg with NV headers was all
 that was required to enable the Nvidia nvenc/nvdec encoder/decoder in
 ffmpeg and that no SDK was required to be installed at compile time.

 Up until now ffmpeg seems to have built and nvenc has worked for me
 without the SDK being installed at compile time - since I and others
 cross-compile ffmpeg under Unubtu/mingw64 for target Windows 10 x64,
 installing the nvidia SDK in this scenario is not an option.

 Can you please clarify whether indeed the Nvidia SDK 11.1 or greater is
 now actually required to be installed in order to build ffmpeg with
 nvenc/nvdec enabled ?

 Thank you.

 If so, it's probably a deal breaker for cross-compiling ffmpeg ?

 Thank you.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9370>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list