gstreamer-java / gst1-java-core

Java bindings for GStreamer 1.x
GNU Lesser General Public License v3.0
188 stars 72 forks source link

How to receive each frame as its pointer(Long type) or Byte array or etc. #252

Closed dayo05 closed 2 years ago

dayo05 commented 2 years ago

I want to decode some video and print it by lwjgl(Java binding of OpenGL) and I want to receive data from gstreamer.

I want to do like

Long currentFramePtr = playbin.getCurrentFrame();
GL21.glTexImage2D...

or

ByteArray currentFrameData = playbin.getCurrentFrame();
GL21.glTexImage2D...

If it exists, can I see example of that?

neilcsmith-net commented 2 years ago

Please use the mailing list or discussions for usage questions, thanks.