Add codec detection for MP3 and Ogg Vorbis transcoding
Remove debug code