<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"><base href="x-msg://23/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi!<div><br></div><div>My SamsungGS4 encodes/decodes 1080p @29.76fps h264 in real time. I believe any 4.1 device is capable.</div><div>About submitting. If i come up with something that works, i will propose a patch. Currently I have some other assignments unfortunately.</div><div><br></div><div>Tonu.</div><div><br></div><div><br><div><div>On Jul 30, 2013, at 9:24 AM, Haiming Wang <<a href="mailto:whm_buaa@hotmail.com">whm_buaa@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">Hi Tonu, <div><br></div><div>  Thank you very much for sharing this information . Does your full hd video means 720p video?</div><div><br></div><div> Will your change be submitted to gstreamer trunk?</div><div><br></div><div><span style="font-size: 12pt; ">Best Regards,</span></div><div><span style="font-size: 12pt; ">Haiming Wang </span></div><div><br><div>> Subject: Re: x264enc on android: very slow.<br>> From:<span class="Apple-converted-space"> </span><a href="mailto:chain@bsd.ee">chain@bsd.ee</a><br>> Date: Tue, 30 Jul 2013 06:18:24 +0300<br>> To:<span class="Apple-converted-space"> </span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>><span class="Apple-converted-space"> </span><br>> Hi!<br>><span class="Apple-converted-space"> </span><br>> 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. <a href="http://developer.android.com/reference/android/media/MediaCodec.html">http://developer.android.com/reference/android/media/MediaCodec.html</a><br>><span class="Apple-converted-space"> </span><br>> For encoding, you would need to hack androidmedia plugin, I think. I did not see that it configures codec as an encoder.<br>> 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?<br>><span class="Apple-converted-space"> </span><br>> Tonu<br>><span class="Apple-converted-space"> </span><br>> On Jul 29, 2013, at 4:28 PM, Haiming Wang <<a href="mailto:whm_buaa@hotmail.com">whm_buaa@hotmail.com</a>> wrote:<br>><span class="Apple-converted-space"> </span><br>> ><span class="Apple-converted-space"> </span><br>> > 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.<br>> ><span class="Apple-converted-space"> </span><br>> > Thank you again for your answers. You help will always be appreciated!<br>> ><span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>><span class="Apple-converted-space"> </span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>><span class="Apple-converted-space"> </span><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div></div></div>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br></div></body></html>