rollback to ffmpeg 1.2