MediaInfo Inspector
Posted: 05 Nov 2016, 14:58
FileBot uses
MediaInfo to read properties like {vc}, {ac}, {channels}, {resolution}, etc from the container file. You can access any MediaInfo property directly via the {general}, {video}, {audio} and {text} bindings.
Open FileBot ➔
Edit Format ➔
View Bindings ➔
Select Media File ➔
Open MediaInfo

e.g. get Title property from the general media properties:
e.g. get Recorded_Date property from the general media properties and match the YYYY pattern:
e.g. get the Format_Profile property from the first video stream:
e.g. get the DisplayAspectRatio/String property from the first video stream:

Use the built-in MediaInfo Inspector to export raw MediaInfo properties for a selected file:
Open FileBot ➔
Edit Format ➔
View Bindings ➔
Open MediaInfo ➔ Copy to Clipboard
Use the mediainfo script to export raw MediaInfo properties for all your files:
Use -mediainfo --format to test custom bindings on all your files:
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.







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.