Android media playback performance

rrazavi reza at userful.com
Tue Nov 5 20:47:37 UTC 2019


Hi,
I'm testing a simple gstreamer android application to playback H264 file,
the pipeline looks like this :
urisourcebin name=source ! decodebin name=proxy  ! glimagesinkelement
name=sink

and I use autoplug signal to connect decodebin to glimagesinkelement

My source is a H264 4K 30FPS file and I have tested this on 4 different
modern chip-set, all of them can playback the file smoothly using VLC or
android native media player.

using gstreamer I keep getting error(depending on chipset changes) : 
sys/androidmedia/gstamcvideodec.c:1417:gst_amc_video_dec_loop:<amcvideodec-omxrkvideodecoderavc0>
Frame is too late, dropping (deadline -0:00:00.035990779)

If I connect decodebin to a " fakesink sync=true" I wont get errors from the
decoder, so I assume there are extra processes happening in GPU when we use
glimagesinkelement compared to other players that are not necessary and this
prevent gstreamer from having good performance. if I run this on an nvidia
shield the playback is fine which I assume it's because it has a powerful
GPU.
Does anyone have any suggestion on how to resolve this issue ?

Ihave tested against amlogic s912, allwiner H6, rockchip rk3318 and rk3328

Regards




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list