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

Render to custom OpenGL texture #258

Closed
bl1nch opened this issue Sep 8, 2023 · 3 comments
Closed

Render to custom OpenGL texture #258

bl1nch opened this issue Sep 8, 2023 · 3 comments

Comments

@bl1nch
Copy link

bl1nch commented Sep 8, 2023

Hello. Vlc 4.0 added the ability to render video into a custom opengl texture. Can you please find out if python-vlc supports this function. If so is there any example of using this? If not, will this be implemented in the future? Thanks in advance for your answer.

@oaubert
Copy link
Owner

oaubert commented Sep 8, 2023

@oaubert oaubert closed this as completed Sep 8, 2023
@bl1nch
Copy link
Author

bl1nch commented Sep 8, 2023

Yes, I know that I can use an external buffer to fill it into the texture manually, but VLC does not provide hardware acceleration for rendering to an external buffer. Therefore, they created an API for direct rendering inside an OpenGL texture, but in your python-vlc module, the function that should be responsible for this is not realized

@oaubert
Copy link
Owner

oaubert commented Sep 9, 2023

These functions are blacklisted because their signature and parameter types makes it not that easy to define automatic conversion to ctypes. If you want, you can contribute the appropriate ctypes wrapper definitions, I will gladly integrate them in the module.

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