On 8 September 2016 at 14:12, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:

> 2016-09-07 17:59 GMT+02:00 Kristijonas Malisauskas <k...@sportcaster.dk>:
> > First thing i would suggest doing is setting your
> > AVCodecContext to use more threads
> >
> > for ex: videoCtx->thread_count = 4;
>
> I believe default is to use all cpu cores.
>
> Please do not top-post here, Carl Eugen


Apologies - I was following what other people were doing - re top-posting.

When I set the thread_count correctly (using a dict, setting to "auto" and
before the codec was opened) based on a later reply it made a significant
difference to speed.  So my guess would be that it defaults to 1 CPU core
or 1 thread.

Simon
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to