x264enc on android: very slow.

Haiming Wang whm_buaa at hotmail.com
Mon Jul 29 23:24:39 PDT 2013


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130730/64865c4f/attachment-0001.html>


More information about the gstreamer-devel mailing list