GPAC Configuration file documentation
GPAC Version 1.0.0
Applications in the GPAC framework use a configuration file common to libgpac and modules (video and audio output, compositor modules). This configuration file is called GPAC.cfg. It is located:
This document describes player-specific options defined in section General and old DirectFB options described in section DirectFB.
Check GPAC wiki for the documentation of libgpac core options and filter options configuration.
The General section of the config file holds player-specific options.
StartupFile [value: filename]Specifies file to load upon startup of most clients (Osmo4/MP4Client). If not specified, no file is loaded.
LogFile [value: filename, Android only]Specifies where to output GPAC's log. By default, the logs are written to stdout. Note that GPAC may be compiled without log support. This is not used by MP4Client.
Logs [value: tool[:tool]@level:tool[:tool]@level, Android only]Specifies log level for each tool. For more information on available tools and levels, check GPAC wiki.
NoMIMETypeFetch [value: "yes" "no"]Specifies whether mime type should be fetched when checking a link to a new file (currently deprecated).
LastWorkingDir [value: string]Indicates the last directory from which a file was opened.
iOSDocumentsDir [value: string, iOS only]Path to the iOS document directory for the client (automatically set upon first launch of the player).
The "DirectFB" section of the config file holds the configuration options for the DirectFB output module. You may also want to check the official documentation.
DisableAcceleration [value: "yes" "no"]Forces to disable hardware acceleration.
DisableDisplay [value: "yes" "no"]Specifies the DisableDisplay parameter value.
FlipSyncMode [value: "waitsync" "wait" "sync" "swap"]Specifies the flip sync mode.
DisableBlit [value: "yes" "no"]Forces to disable hardware blitting.
WindowMode [value: "X11" "SDL"]Specifies the underlying windowing library.