I've managed to encrypt my video files using the ffmpeg command below however I can't find a way to save the decrypted output.

ffmpeg -i {file} -encryption_scheme cenc-aes-ctr -encryption_key {key} -encryption_kid {checksum} e.mp4

This post has an example for playing the video back using ffplay which works but I want to save the outout to a file and want it done faster than normal playback speed.

Tryed using decryption_key also but get "Error while decoding stream #0:0: Invalid data found when processing input"

ffmpeg -i {file} -max_muxing_queue_size 9999 -decryption_key {key} d.mp4
  • Crosspost answered at Super user. Please avoid crossposting. It wastes effort. – llogan Dec 17 '19 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.