That's excellent - thank you. I had changed number of threads, but only after the codec was opened.
The CPU is a dual core Cortex-A9 running at 950MHz. There is no hardware coprocessor, so was hoping to eek out what I could from this. I know FFMpeg has some Neon options (and the libraries have been built with HAVE_NEON=1, but does anyone know how much of the H.264 decoder has Neon code, if any? Cheers, Simon On 8 September 2016 at 11:11, Puneet Kapoor <[email protected]> wrote: > I had a similar question sometime back. > Try following this thread: https://ffmpeg.org/pipermail/libav-user/2016- > July/009365.html see if it helps you. > > Cheers > > On Thu, Sep 8, 2016 at 11:36 AM, Nikita Orlov <[email protected]> > wrote: > >> Hi! >> >> Which cpu do you use? Most probably there is hardware decoder. Current >> cpu usually can decode 4K@30 >> some FullHD@30 at least. >> >> Another thing, that maybe can suit your case, is to prepare video >> optimized for decode. >> Very simple optimization is to use simplest profile - baseline. I believe >> that there are some other options >> to increase decoding speed, you have to google them. >> >> 08.09.2016, 00:41, "Simon Brown" <[email protected]>: >> >> Thank you - I tried that, but got no noticeable difference. >> >> On 7 September 2016 at 16:59, Kristijonas Malisauskas <[email protected]> >> wrote: >> >> First thing i would suggest doing is setting your AVCodecContext to use >> more threads >> >> for ex: videoCtx->thread_count = 4; >> >> On Wed, Sep 7, 2016 at 3:05 PM, Simon Brown <[email protected]> >> wrote: >> >> I'm running a decode operation using doc/examples/demuxing_decoding.c >> I'm running on an Arm A9 with Neon enabled. Sending a 1280x720p stream at >> 24fps it can only decode about 15fps. Is there any way of speeding up the >> decode operation? >> >> Regards, >> Simon >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> , >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> >> >> -- >> Nikita Orlov >> Skype: nik_stet >> QQ: 2717846083 >> >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
