Use ffmpeg to encode Dolby Digital (AC-3) stream