Playbin and memory:EGLImage on android

Andy Shiue andy.shiue at gmail.com
Thu Sep 24 07:30:15 PDT 2015


I am researching the possibility of using the gstreamer on android. I
managed to get the gst-player (using
https://github.com/sdroege/gst-player.git) working on android but the video
playing is not very smooth and with many dropped frames on a nexus 5.

I have the pipeline diagram attached. The diagram showed both
OmxGoogleH264Decoder and GLImageSink were used for playing. That is good
since the hw acceleration is on then. I do noticed though that the desired
zero-copy (using memory:EGLImage) is not in use. From the information I
gathered, playbin should be able to negotiate the allocation to use
EGLImage if it is available. But this is apparently not the case with
gst-player.

Am I wrong in the assumption that playbn by default will automatically
choose the EGLImage if it is available? If not, is there a way to configure
playbin to use EGLImage?

I am pretty new to gstreamer so hopefully I am not totally lost in my
question. I am building the gstreamer from source right now; so hint on
where to debug will be helpful, too. Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150924/bbf010a7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PAUSED_PLAYING.svg
Type: image/svg+xml
Size: 208033 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150924/bbf010a7/attachment-0001.svg>


More information about the gstreamer-devel mailing list