<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 20, 2016 at 1:54 PM, Amber Beriwal <span dir="ltr"><<a href="mailto:amber.beriwal@newgen.co.in" target="_blank">amber.beriwal@newgen.co.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(68,84,106)">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(68,84,106)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(68,84,106)">Decode Only. We are not generating PNG. These are the timings of obtaining YUV data from frame.<u></u><u></u></span></p><span class="gmail-"><p class="MsoNormal"><span style="font-size:11pt;font-family:calibri,sans-serif;color:rgb(68,84,106)"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-top:6pt"><span style="font-size:10pt;font-family:"trebuchet ms",sans-serif;color:rgb(64,64,64)">Regards<u></u><u></u></span></p><p class="MsoNormal" style="margin-top:6pt"><b><span style="font-size:10pt;font-family:"trebuchet ms",sans-serif;color:rgb(64,64,64)">Amber Beriwal</span></b><span style="font-size:10pt;font-family:"trebuchet ms",sans-serif;color:rgb(64,64,64)"><u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:9pt;font-family:calibri,sans-serif;color:rgb(64,64,64)">Newgen Software Technologies Ltd.</span></p></span></div></blockquote><div><br></div><div>You cannot achieve 30 FPS for 720p video in software on the specified platform. Luckily, most Android devices have hardware decoders that can easily handle hi-rez video, but they are not very flexible.</div><div><br></div><div>The bottleneck is usually the encoder, and fine-tuning its communication with Android camera, see e.g. <a href="http://stackoverflow.com/a/19923966/192373">http://stackoverflow.com/a/19923966/192373</a>.<div><br></div><div>I did some experiments with sliced multithreading for x264, and (with the fastest profile) I could produce 25 FPS for 720p on similar hardware with software encoder, using 2 cores (with NEON optimizations enabled). But not 30 FPS. And this was a severe stress for the battery.</div><div><br></div><div>Once you have a sliced video stream (or file), you can decode it on two cores, and your own benchmark suggests that the goal is reachable: 60 ms/frame / 2 threads => ~30 fps!</div></div><div><br></div><div>BR,</div><div>Alex</div></div></div></div>