Skip to content
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

nvenc support for b-frames #1235

Open
totaam opened this issue Jun 19, 2016 · 2 comments
Open

nvenc support for b-frames #1235

totaam opened this issue Jun 19, 2016 · 2 comments
Labels
Milestone

Comments

@totaam
Copy link
Collaborator

totaam commented Jun 19, 2016

Issue migrated from trac ticket # 1235

component: encodings | priority: major | keywords: nvenc b-frames

2016-06-19 06:13:35: antoine created the issue


Split from #800.

As per NvEncodeAPI v.6.0, we would have to keep both input and output buffers around until the frames come out (stops returning NV_ENC_ERR_NEED_MORE_INPUT), asynchronously of course.

So we would need multiple output "bitstreamBuffer"s and multiple CUDA output buffers (used with mapInputResource, the unmapInputResource would have to wait until the frames come out..)

The documentation is poor and conflicting: it says you have to do the picture type decision yourself in synchronous mode, but the pseudo-code does the opposite. Zero documentation on what displayPOCSyntax is. etc..

@totaam
Copy link
Collaborator Author

totaam commented Jun 19, 2016

2016-06-19 06:15:26: antoine uploaded file nven6-bframes-stub.patch (2.2 KiB)

asking for B frames doesn't seem to do anything either, frames still come out..

@totaam
Copy link
Collaborator Author

totaam commented Jan 23, 2021

See also #1261

@totaam totaam added this to the 5.0 milestone Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant