[FFmpeg-trac] #7530(avcodec:new): cuviddec/nvdec/nvenc: driver checking errors

FFmpeg trac at avcodec.org
Fri Nov 2 14:54:17 EET 2018

#7530: cuviddec/nvdec/nvenc: driver checking errors
             Reporter:  msiders     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  nvenc       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by msiders):

 Replying to [comment:3 heleppkes]:
 > There is no one minimum version, it depends on which version of the
 nvcodec headers you have built - the requirements are documented in the
 nvcodec repository README
 > All three video SDK branches, 8.0, 8.1 and 8.2 should still be capable
 of building FFmpeg, newer version will in turn result in higher driver

 In fact there is no minimum version to ''compile''. This is true.
 And it's true too that the nv-codec-headers repository lists the driver

 However, when ''using'' a FFmpeg binary, the user knows nothing about what
 version it has been compiled with. He only sees the errors.

 So, two options (in my opinion) can be used to resolve (in positive) this
 1. Print in the header of the FFmpeg HELP some "nv-codec-headers" info
 when compiling with them (like with the configure parmeters).
 2. Or do a runtime check and print the expected version vs the current
 version of the driver.

 I hope you agree with this suggestion.

Ticket URL: <https://trac.ffmpeg.org/ticket/7530#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list