[FFmpeg-devel] [PATCH] ffmpeg_filter: use nb_threads=1 on unused filtergraph

DeHackEd git at dehacked.net
Fri Nov 17 03:25:50 EET 2017


Hello,

Simple one-line patch to avoid creating threads on a filtergrpah which does not
get used during execution. This saves a superfluous thread creation and
tear-down cycle.

Besides cleanliness, the main driver for this feature is a system I have access
to with a large number of cores/threads. Threads count towards ulimits and the
default of 1 filtergraph thread per CPU thread is undesirable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmpeg_filter-use-nb_threads-1-on-unused-filtergraph.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171116/a445e996/attachment.bin>


More information about the ffmpeg-devel mailing list