iMX6 hardware decode issue on Android
Eric-BTG
eric.chaloin at bt-ground.com
Thu Sep 3 02:24:19 PDT 2015
Hi,
I'm trying to use i.MX6 VPU to decode 1080p h264 stream on android platform.
I'm facing performances issue, stream is very laggy. I can see only few
images.
(However it works smoothly for 480p streams). I have tried various gst
version/plugins/pipelines and still have this issue. Help would be very
appreciated :)
My board is a Wandboard Quad, I run freescale's kk-4.4.2 android portage. My
kernel is freescale's 3.0.35 with Wandboard config.
My test stream is Big Buck Bunny trailer
(http://video.blendertestbuilds.de/download.blender.org/peach/trailer_1080p.mov).
I tried custom android app and https://github.com/sdroege/gst-player and
https://github.com/jaroslavas/Gstreamer-Android-example.
In few words my experiments are:
-I tried androidmedia plugins:
For this I patched androidmedia plugin (gstamc.c) to force slice_height to
GST_ROUND_UP_16 (height) (same fix as NVidia Tegra 3 Bug 748867
<https://bugzilla.gnome.org/show_bug.cgi?id=748867> ).
App is built for armeabi-v7a with armv7 gst plugins.
A lot of "Frame is too late, dropping" event occurs. Logcat log is joined
for gst-player run gst-player-androidmedia-gst-1.log
<http://gstreamer-devel.966125.n4.nabble.com/file/n4673449/gst-player-androidmedia-gst-1.log>
.
(I tried gst 1.4.5 and 1.5.90).
-I tried dv imxvpudec (gstreamer-imx) 0.11.1 plugin:
Result is almost the same, log is joined gst-player-imxvpudec-0.log
<http://gstreamer-devel.966125.n4.nabble.com/file/n4673449/gst-player-imxvpudec-0.log>
. (I plan to describe imxvpudec android issue in github project).
I don't understand where is the bottleneck. (I'm low CPU and low mem). I
can't figure out if this is the decode part or further in opengl display.
Any feedback on imx6 and android would be very appreciated.
Regards,
Eric
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/iMX6-hardware-decode-issue-on-Android-tp4673449.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list