[FFmpeg-devel] [PATCH] cpu: Limit the number of auto threads in 32 bit builds

2022-09-05 Thread Martin Storsjö
Limit the returned value from av_cpu_count to sensible amounts in 32 bit builds. This chosen limit, 64, is somewhat arbitrary - a 32 bit process is capable of creating much more than 64 threads. But in many cases, multiple parts of the encoding pipeline (decoder, filters, encoders) all create a po

Re: [FFmpeg-devel] [PATCH] cpu: Limit the number of auto threads in 32 bit builds

2022-09-05 Thread Andreas Rheinhardt
Martin Storsjö: > Limit the returned value from av_cpu_count to sensible amounts > in 32 bit builds. > > This chosen limit, 64, is somewhat arbitrary - a 32 bit process > is capable of creating much more than 64 threads. But in many > cases, multiple parts of the encoding pipeline (decoder, filter

Re: [FFmpeg-devel] [PATCH] cpu: Limit the number of auto threads in 32 bit builds

2022-09-05 Thread Martin Storsjö
On Mon, 5 Sep 2022, Andreas Rheinhardt wrote: Martin Storsjö: Limit the returned value from av_cpu_count to sensible amounts in 32 bit builds. This chosen limit, 64, is somewhat arbitrary - a 32 bit process is capable of creating much more than 64 threads. But in many cases, multiple parts of

Re: [FFmpeg-devel] [PATCH] cpu: Limit the number of auto threads in 32 bit builds

2022-09-05 Thread Andreas Rheinhardt
Martin Storsjö: > On Mon, 5 Sep 2022, Andreas Rheinhardt wrote: > >> Martin Storsjö: >>> Limit the returned value from av_cpu_count to sensible amounts >>> in 32 bit builds. >>> >>> This chosen limit, 64, is somewhat arbitrary - a 32 bit process >>> is capable of creating much more than 64 threads