reverted from libav back to ffmpeg