[FFmpeg-devel] [RFC] ffmpeg: default to single thread when hwaccel is active

Timo Rothenpieler timo at rothenpieler.org
Wed Sep 29 20:22:04 EEST 2021


On 29.09.2021 19:17, Dennis Mungai wrote:
> A potential downside to this would be on QSV's side, which needs at least
> 2  threads to prevent dead-locking, see
> https://github.com/Intel-Media-SDK/MediaSDK/blob/master/_studio/mfx_lib/scheduler/linux/src/mfx_scheduler_core_ischeduler.cpp#L90-L93

Is that even controlled by the avcodec threads parameter?
I can't find any occurrence of "numberOfThreads" anywhere in the entire 
codebase.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210929/d237f0a2/attachment.bin>


More information about the ffmpeg-devel mailing list