save


Description:

public bool save (Timeline timeline, string uri, owned Asset? formatter_asset, bool overwrite) throws Error

Save the timeline of this to uri.

You should make sure that timeline is one of the timelines that have been extracted from this ( using ges_asset_extract (this);)

Parameters:

this

A Project to save

timeline

The Timeline to save, it must have been extracted from this

uri

The uri where to save this and timeline

formatter_asset

The formatter asset to use or null. If null, will try to save in the same format as the one from which the timeline as been loaded or default to the best formatter as defined in find_formatter_for_uri

overwrite

true to overwrite file if it exists

Returns:

true if the project could be save, false otherwize