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

Suggest:Support How to convert vkimage BGRA32 pixel format to vkimage NV12 pixel format and How to implement a demo of vkimage rendering image GPU direct vkencode encoding #75

Open
moyidaren opened this issue Apr 10, 2024 · 1 comment

Comments

@moyidaren
Copy link

Hello, Nvidia engineers. We plan to encode vkimage rendered frames within applications based on Vulkan technology through GPU through Vulkan encoding, but currently we have encountered several challenges.

  1. How to convert vkimage BGRA32 pixel format to vkimage NV12 pixel format.

  2. How to achieve a demo of vkimage rendering images using GPU direct vkencode encoding.

  3. When will "Support for encoding tuning and quality levels" and "Better Support for rate control" be implemented?

  4. When will mature SDKs similar to NVENC be available? We need to set encoding parameters such as infinite GOP and intra frame refresh.

It would be great if you could give us some advice. Thank you again for your hard work and pay tribute to you.

@zlatinski
Copy link
Contributor

zlatinski commented Apr 21, 2024

Hi moyidaren,

How to convert vkimage BGRA32 pixel format to vkimage NV12 pixel format.

You can use the compute filter from the sample app. We haven't yet integrated it to the encoder, but we are in the process of doing that.

How to achieve a demo of vkimage rendering images using GPU direct vkencode encoding.

You can start with the encoder sample where you can pass in the images from the the rendering you would want to compress.
I hope we can provide a sample doing that in the next few months.

When will "Support for encoding tuning and quality levels" and "Better Support for rate control" be implemented?

We plan to add support for this by the end of the year. However, if you have a specific use case you want us to cover earlier, please send me an email to [email protected] with your company's use case and we can prioritize that.

When will mature SDKs similar to NVENC be available? We need to set encoding parameters such as infinite GOP and intra frame refresh.

Hopefully by the end of the year. We try to do that in the context of Vulkan video API with sample code. Otherwise supporting a lot of features from the driver side will not take as much tome for us to do. Again, if you were to send me our use case, we can set a priority to a specific features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants