Wrap ffmpeg API into transcoder