WIP: transcode, cleanup collect, was generally working at some point
WIP: transcoding, it's possible it sort of works now