






e.g. get Title property from the general media properties:
Format: Select all
{ media.Title }
e.g. get Recorded_Date property from the general media properties and match the YYYY pattern:
Format: Select all
{ media.RecordedDate.match(/[0-9]{4}/) }
e.g. get the Format_Profile property from the first video stream:
Format: Select all
{ video[0].FormatProfile }
e.g. get the DisplayAspectRatio/String property from the first video stream:
Format: Select all
{ video[0].DisplayAspectRatioString }







Shell: Select all
filebot -script fn:mediainfo /path/to/files --mode raw

Shell: Select all
filebot -mediainfo -r /path/to/files --format "{vc} | {ac} | {channels} | {resolution} | {duration} | {f}"
If you have issues with MediaInfo bindings such as {vc}, {ac}, {channels}, {resolution}, {duration}, etc, check the raw MediaInfo data to see what FileBot sees.