Custom output path formats helps you store output files in a more organized way by creating keywords-driven folders structures, which can look like this:
my-path/:video_id/:profile/:id- will create subfolders with names based on video id, profile name and encoding id.
my-path/:original/:date/:id- this example would add subfolders named after source file name, upload date and encoding id
You can set the path format either at a Factory or Profile level. When using API you can also use path_format for Video object to achieve the same goal.
The following keywords can be combined to create a path format:
ID of the encoding.
ID of the video.
Original filename of the uploaded video
Upload date in YYYY-MM-DD format
Profile name used by the encoding. For the source video
Resolution of the video or the encoding (e.g. 1280x720)
By default, if
path_format is not being set anywhere, it is set to
Path formats should be unique for each encoding.
outputs_path_format/path_format is not set for Video, Factory, Profile objects. Since there are a number of ways to set this, here is the order in which path format is being applied:
If it is empty for the Video object, we are checking if it is set for Profile etc.
Updated about 2 months ago