I found similar problem on a server, reinstalling a different version of ffmpeg fixed the problem.