[FFmpeg-devel] [PATCH] libsvtav1: Add logical_processors option

Mark Thompson sw at jkqxz.net
Fri Feb 12 00:14:50 EET 2021


On 10/02/2021 23:53, Paul B Mahol wrote:
> On Wed, Feb 10, 2021 at 11:08 PM Mark Thompson <sw at jkqxz.net> wrote:
> 
>> On 10/02/2021 17:16, Christopher Degawa wrote:
>>> From: Christopher Degawa <christopher.degawa at intel.com>
>>>
>>> Equivalent to the --lp option for SvtAv1EncApp, and is the only way
>>> to control how much cpu power svt-av1 uses for now
>>>
>>> Not using thread_count as it would be preferable to reserve that until
>>> svt-av1 properly implements a threads option
>>
>> Then what does it actually do?  The description below about the number of
>> logical threads to run sounds pretty much exactly like what the threads
>> option does.
>>
>>
> Threads option is limited to filters that do filtering by calling
> execute(), internal threading code of libavfilter.

This would be from AVCodecContext.thread_count, not anything in libavfilter.

- Mark


More information about the ffmpeg-devel mailing list