Custom FFMpeg transcoder