[FFmpeg-trac] #7100(build system:new): Can "Loaded Nvenc version 8.1" now be 9.1 ?

FFmpeg trac at avcodec.org
Thu Mar 22 12:09:58 EET 2018


#7100: Can "Loaded Nvenc version 8.1" now be 9.1 ?
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                     Type:
               Status:  new          |  enhancement
            Component:  build        |                 Priority:  normal
  system                             |                  Version:  git-
             Keywords:  Nvenc        |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:

 When I use the nvidia NVENC encoder in a recently-compiled ffmpeg (NV
 headers copied from https://git.videolan.org/git/ffmpeg/nv-codec-
 headers.git), like this

 ffmpeg.exe -hide_banner -v verbose -strict -1 -init_hw_device
 opencl=ocl:1.0 -filter_hw_device ocl -threads 0 -i
 "G:\test\test01.mp3.MP4.mp4" -threads 0 -sws_flags
 lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex
 "[0:v]yadif=0:0:0,hwupload,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,hwdownload"
 -c:v hevc_nvenc -pix_fmt yuv420p -profile:v main -level 5.1 -preset slow
 -rc vbr_hq -cq 26 -rc-lookahead 32 -spatial_aq 1 -color_range tv
 -colorspace bt470bg   -c:a libfdk_aac -cutoff 18000 -ab 384k -ar 48000
 -threads 0 -movflags +faststart -y "G:\test\test01.mp3.MP4.h265.mp4"

 it says this

 Press [q] to stop, [?] for help
 [h264 @ 000001a10307f680] Reinit context to 720x576, pix_fmt: yuv420p
 [graph 0 input from stream 0:0 @ 000001a17fbe0480] w:720 h:576
 pixfmt:yuv420p tb:1/25000 fr:25/1 sar:64/45 sws_param:flags=2
 [hevc_nvenc @ 000001a10307a740] Loaded Nvenc version 8.1
 [hevc_nvenc @ 000001a10307a740] Nvenc initialized successfully
 [hevc_nvenc @ 000001a10307a740] 1 CUDA capable devices found
 [hevc_nvenc @ 000001a10307a740] [ GPU #0 - < GeForce GTX 1050 Ti > has
 Compute SM 6.1 ]
 [hevc_nvenc @ 000001a10307a740] supports NVENC
 [hevc_nvenc @ 000001a10307a740] AQ enabled.
 [hevc_nvenc @ 000001a10307a740] Lookahead enabled: depth 32, scenecut
 enabled, B-adapt disabled.

 which seems to indicate ffmpeg is using Nvenc version 8.1 ?

 The latest driver "Nvidia Version 391.24 WHQL" Release Notes says

 Software Module Versions
 • nView - 148.92
 • HD Audio Driver - 1.3.36.6
 • NVIDIA PhysX System Software - 9.17.0524
 • GeForce Experience - 3.13.1.30
 • CUDA - 9.1

 which seems to imply that support for Nvenc version 9.1 exists ?

 What changes need to be made in order for 9.1 to be built into ffmpeg
 and/or invoked on the commandline ?

 Thank you.

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


More information about the FFmpeg-trac mailing list