Get ffmpeg settings from ayon-core

I’m currently working on a publish plugin for Adobe Animate, and I’d like to be able to fetch the ffmpeg settings from the ayon-core > Create Render settings in the “Extract Render” script to ensure our outputs are kept consistent. Is there a way we can get these settings?

yes, you can get any settings of any plugin.
but, it depends on where you want to get the settings.

Example1: Get settings during the publish process

use this inside publish plugins

# Instance Plugin
instance.context.data["project_settings"]
# Context Plugin
context.data["project_settings"]

Real example:

Example 2: Get settings in standalone scripts

Where you query the settings using the current bundle. I can’t remember if there’s a function in ayon python api that gets settings directly but you can check it.