-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fixed support for NVIDIA Codec SDK 11.x #4012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc @cudawarped |
@asmorkalov I don't have a card (>= NVENC 8th Gen) to test this on so all I can confirm is that it builds on Windows and throws an exception when I try to write an AV1 file on hardware (NVENC 7th Gen) which doesn't support it. Looking at the diff (NVEncoder.cpp, 11.1.5->12.0.16) from the you may need to add additional changes. i.e.
I'm also not that familiar with AV1 so not sure if you need to write an IVF header for raw AV1 files to make them playable. If so you may need to disable raw output for this codec or introduce the Are you going to include any tests, have you tested both raw and containerized output? |
Not sure, actually. My goal is enable builds and test test with older SDK, e.g. in CI: opencv/ci-gha-workflow#259. |
It means that the first change is redundant. |
221e997
to
b6c62e4
Compare
@cudawarped I reduced the patch size for now and will try to find some 4x or 5x card for experiments with av1 encoder. |
Sorry I completly missed that |
LGTM! Fixes
present when using Nvidia Video Codec SDK 11.x |
@cudawarped Thanks a lot! |
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.