Transcoding

Adding proper support for transcoding.  Right now performs operations by command-line calls.