node.js - Is it possible to decode an AES encrypted video with node-webkit file on the fly? -
with file-encryptor , node-webkit simple encrypt local videofile (webm) local encrypted file myvideo.dat
.
but there way decrypt , view video? without temp file?
the file-encryptor encrypts webm container, should encrypt video stream webm encryption rfc. use webm_crypt tool repository https://chromium.googlesource.com/webm/webm-tools/.
for example:
$ webm_crypt -i video.webm -o encrypted_video.webm
this generate key file named vid_base_secret.key
$ webm_crypt -i video.webm -o encrypted_video.webm -video_options base_file=vid_base_secret.key
in wiki of webm project can find more information although relatively new.
Comments
Post a Comment