Update FFmpeg API to the latest, resample audio