Add dependency for mediainfo, and use it