low performance of gst plugin "androidmedia" with hardware decoder

jojo rjiejie at gmail.com
Thu Aug 29 01:10:20 PDT 2013


Hi,  
I use plugin "androidmedia" to decode video in android platform with AVC HW decoder,

my device is: IMX6Q-SDB

my pipe line is:

video pipeline: appsrc is-live=true do-timestamp=true caps="video/x-h264, width=1920, height=800" name="appsrc" ! decodebin2 ! queue ! ffmpegcolorspace ! appsink caps="video/x-raw-rgb, bpp = (int) 32, depth = (int) 24, endianness = (int) BIG_ENDIAN, red_mask = (int) 0xFF000000, green_mask = (int) 0x00FF0000, blue_mask = (int) 0x0000FF00, width = (int) [ 1, max ], height = (int) [ 1, max ], framerate = (fraction) [ 0, max ]" name="appsink"


I collect time in "GstAppSinkCallbacks.new_buffer",

in 1080P at 30FPS local case,

the average decoding time is 50 ms,

if i remove the plugin "ffmpegcolorspace" from pipe line, it costs about 47 ms also, why ?

i think the CS convert operation should take much more then 2 ms….

someone have performance data for this plugin ?

and what's the best configuration about for this plugin ?  

Thanks,

- Jojo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130829/994caf36/attachment.html>


More information about the gstreamer-android mailing list