lookup codec ids properly