x264enc on android: very slow.

Tonu Jaansoo chain at bsd.ee
Tue Jul 30 04:08:48 PDT 2013


Hi!

My SamsungGS4 encodes/decodes 1080p @29.76fps h264 in real time. I believe any 4.1 device is capable.
About submitting. If i come up with something that works, i will propose a patch. Currently I have some other assignments unfortunately.

Tonu.


On Jul 30, 2013, at 9:24 AM, Haiming Wang <whm_buaa at hotmail.com> wrote:

> Hi Tonu, 
> 
>   Thank you very much for sharing this information . Does your full hd video means 720p video?
> 
>  Will your change be submitted to gstreamer trunk?
> 
> Best Regards,
> Haiming Wang 
> 
> > Subject: Re: x264enc on android: very slow.
> > From: chain at bsd.ee
> > Date: Tue, 30 Jul 2013 06:18:24 +0300
> > To: gstreamer-devel at lists.freedesktop.org
> > 
> > Hi!
> > 
> > I am optimizing playback on Android currently. Got working a Java hack that plays a full hd video with almost no CPU usage on SG4! Hardware decodes, GPU shows, not much CPU involvement. Huge difference between hardware or software. The API for codecs starts from Android 4.1. http://developer.android.com/reference/android/media/MediaCodec.html
> > 
> > For encoding, you would need to hack androidmedia plugin, I think. I did not see that it configures codec as an encoder.
> > For playback, there should be something like video/x-raw-gl caps on androidmedia source pad and a property for setting GL context. Anyone can comment this?
> > 
> > Tonu
> > 
> > On Jul 29, 2013, at 4:28 PM, Haiming Wang <whm_buaa at hotmail.com> wrote:
> > 
> > > 
> > > Yes, I also considered to use the hardware encoder on android. However I didn't think the performance of the software is so unacceptable. I see some software encoder running on Android, and the frame rate can reach 15 fps, and the performance is quite acceptable. I want to know if there are some settings for x264enc, which can improve the performance.
> > > 
> > > Thank you again for your answers. You help will always be appreciated!
> > > 
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130730/3d377d31/attachment.html>


More information about the gstreamer-devel mailing list