Improved transcoder