Skip to main content
Version: 3.2.x

setGlobal

Function· Source

mpegCoder.setGlobal(dumpLevel=None)

A function used for setting global configurations. If a configuration is not specified, that item will not be changed.

Arguments

Requires

ArgumentTypeRequired
Description
dumpLevelintThe level of dumped log. This level will only influence mpegCoder logs, FFMpeg logs and some codec logs. A few codec, like libx265 is not influenced by this configuration. Avaliable values: 0: Silent executing; 1: (default) Dump basic informations; 2: Dump all informations.

Example

Disable all logs except errors

mpegCoder.setGlobal(dumpLevel=0)