mdb.cli¶
mdb – a command line for inspecting Avid media databases.
mdb summary FILE container geometry, class census, HEAD mdb mobs FILE one line per mob: name, kind, rate, path mdb paths FILE every media path the database names mdb obj FILE 0x109a0 dump one object, property by property mdb class FILE WINL dump every object of one class mdb tree FILE 0x10a43 walk a mob’s tracks, sequences and clips mdb attrs FILE 0x10a43 an object’s Avid attribute tree mdb find FILE “text” which objects contain this text mdb owner FILE 0x1f40 which entry wrote the byte at this offset mdb classes FILE HEAD’s class dictionary (the metadict) mdb validate FILE integrity checks; exit 1 on any error
- cmd_classes(f, args)[source]¶
The class dictionary, and which Python class each 4CC resolves to.
Four answers are possible per row, and the difference matters when a file from a newer Media Composer turns up. typed means the library has a class for that 4CC; alias means the 4CC differs from a known one only in case, which is Avid’s typo rather than a new class (the dictionary of both reference samples declares
ASPIandASpi); inherited means neither, but the file’s own dictionary named an ancestor the library does know; generic means none of those, and the object still reads – every property by OMF name – just without typed attributes.- Return type: