Zero-copy "decodebin ! glimagesink" equivalent to playbin on Android

Grégoire Gentil gregoire at gentil.com
Sat Feb 6 01:56:54 UTC 2016


Hello,

On Android platform, with latest gstreamer master 1.7.2, it's possible 
to have zero copy with a playbin pipeline. I would like to implement a 
more complex pipeline on the left side of the decoder.

More precisely, instead of doing:

playbin uri=...

I'm trying:

filesrc location=... ! decodebin ! glimagesink

It works but performance is extremely poor meaning that there is no zero 
copy between the hardware acceleration plugin 
amcvideodec-omxqcomvideodecoderavc0 and glimagesink.

The two pipelines gives the same kind of elements so I'm thinking that 
an option/flag/setting should be passed to one of the elements for 
zero-copy. Is that the case or am I missing anything else?

Grégoire


More information about the gstreamer-android mailing list