high level ffmpeg layer for transcoding video to h264/aac format