Skip to content

Encoding Attributes

André Schild edited this page Aug 27, 2021 · 3 revisions

To limit CPU usage to 1 or more threads (cores) use this:

EncodingAttributes attrs= new EncodingAttributes(); attrs.setDecodingThreads(2); attrs.setEncodingThreads(2);

Clone this wiki locally