Add transcoding base code