Improved transcode backend, compiling

Needs a better interface, testing