Display metadata from video and audio files.
Display metadata for a given file in the console
mediainfo file
Store the output to a given file along with displaying in the console
mediainfo --Logfile=out.txt file
List metadata attributes that can be extracted
mediainfo --Info-Parameters