Hardware decoding on android using GStreamer

Andoni Morales ylatuya at gmail.com
Wed Jun 19 13:04:37 PDT 2013


2013/6/19 yusuf.husainy <yusuf.husainy at gmail.com>

> Hello everyone,
>
> The company I work for is developing an application on Android using
> GStreamer. The application is to receive a mpegts stream over udp via wifi
> and then to live playback it on the tablet as well as to record
> simultaneously.
>
> The video stream received will be from an endoscopy machine streamin fullHD
> 1920x1080p at 60fps. The requirement is to playback this live on the
> tablet.
> The tablet to be used is a Samsung Galaxy Tab2. According to the specs of
> this tablet, it says, it is capable of playing back fullHD.
>
> Currently, to have a prototype of the application, I have modified
> Android-Tutorial3 for receiving the stream, using the standard plugins
> provided by GStreamerSDK. I also have used video overlays, to make the
> GStreamerSurfaceView, occupy the whole screen of the tablet.
>
> Currently, GStreamerSDK does not support any of the gstreamer provided
> hardware accelerated plugins, so I am unable to playback fullHD at 60fps.
>
> Hence, for proceeding ahead, I used lower resolution video streaming of
> 1280x720(the tablet's native screen resolution), and also used 800x600.
> Both
> of these, I tried at 30fps, and also 10fps.
>
> However, I assume, as they or not fullHD at 60fps, they would stream
> without
> any need for hardware acceleration. But, this does load the CPU and the
> video is crappy and funky.
>
> I would appreciate any suggestions or advice for achieving this kind of
> functionality, knowing the limitations of GStreamerSDK.
>

Hi Yusuf,

In theory the androidmedia plugin, which uses the MediaCodec API, should be
capable of handling the same decoding profiles and levels supported by your
device. The first step is to check that your are actually using the
androidmedia plugin, which is only available for API level >= 16. The
second step is to get a log from the application and check the capabilities
exposed by the decoder, to see which levels and profiles are reported to be
supported.

Cheers,
Andoni

>
> Thanks and Regards,
> Yusuf Husainy
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Hardware-decoding-on-android-using-GStreamer-tp4660630.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
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130619/5025bc7a/attachment.html>


More information about the gstreamer-devel mailing list