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

Implement native buffer to texture upload #107

Closed
codeanticode opened this issue Apr 3, 2019 · 1 comment
Closed

Implement native buffer to texture upload #107

codeanticode opened this issue Apr 3, 2019 · 1 comment

Comments

@codeanticode
Copy link
Member

For improved performance, the native buffers from gstreamer can directly uploaded into a Processing texture. We had this functionality in the 1.x version of the library, but due to the API changes in gstreamer, it needs to be re-implemented in version 2.0. How it is done in PraxisLIVE could serve as a guide:

https://github.com/praxis-live/praxis/blob/master/praxis.video.gstreamer/src/org/praxislive/video/gstreamer/components/PImageSink.java#L141
https://github.com/praxis-live/praxis/blob/master/praxis.video.gstreamer/src/org/praxislive/video/gstreamer/components/PImageSink.java#L117

@codeanticode
Copy link
Member Author

Fixed with a7f9549, 5365950, and 9d443d8

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

No branches or pull requests

1 participant