I've tried this way, but there's still a problem with the key. ffmpeg says "Invalid data found when processing output". You can see
here that they had the same problem (comments at the end).
I've uploaded the key files I'm using, the thing is that I don't know what's wrong in it.
Thanks