SurfaceTexture in GStreamer (Android) ?

pedjaman pedjaman at gmail.com
Mon Sep 12 14:13:38 UTC 2016


Hello everyone.

I was trying to use
https://github.com/sdroege/gst-player
<https://github.com/sdroege/gst-player>  
as a base for my project.

If i try to set openGL surface, in following way:

                mSurface = new SurfaceTexture(mTextureID); 
                mSurface.setOnFrameAvailableListener(this);

                Surface surface = new Surface(mSurface);
                mGstMediaPlayer.setSurface(surface); // This is Player code
from example above

I hear sound, everything seems ok, but texture is black.
Also, frame available notification is received properly.
Method above works by simply replacing gstreamer with Android MediaPlayer or
VLC or whatever else.

Any advice?

Thanks people :)




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/SurfaceTexture-in-GStreamer-Android-tp4667379p4679535.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list