Hello, I'd say consider these patches deprecated in favor of the [RFC] I just sent, actually doing the decryption inside libavformat might be the simpler solution. Greetings, Reimar D?ffinger