Refactored encoder
Added titles to audio streams
Fixed call to encode subtitles