Configurable transcoding