Add method to extract media info from media files.