ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files.