Thanks, by i tried the debian multimedia repo on both debian 6 and 7 (old and new stable), but i still get the error.
It does not give me any problem on an old ubuntu 10.04 as you said, i will try to compile an old version of ffmpeg, maybe the problem is that it wants an outdated version and...