Reading caps to get media metadata