switch from ffmpeg to libav