iMX6 hardware decode issue on Android

Carlos Rafael Giani dv at pseudoterminal.org
Thu Sep 3 03:38:04 PDT 2015


I see no indication that imxvpudec was ever used. Instead, it apparently 
is using OpenMAX. Run this with GST_DEBUG=2,*imx*:5 .
Also, ditch the 3.0.35 kernel as soon as you can. It is known to be full 
of severe bugs. Wandboard should have 3.14 by now.

On 09/03/2015 11:24 AM, Eric-BTG wrote:
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list