Skip to main content

Quick and simple video obfuscation

Project description


PyPI Release tests PyPI Version

Quick and simple video obfuscation


Encrypted Video:


Decrypted Video:



pip install sanzan



With password

sz -e original.mp4 -o encrypted.mp4 -pw <password>

With randomly generated key

sz -e original.mp4 -o encrypted.mp4

On streams

sz -e -o encrypted.mp4


With password

sz -d encrypted.mp4 -o decrypted.mp4 -pw <password>

With keyfile

sz -d encrypted.mp4 -o decrypted.mp4 -k <keyfile>

More Usage

When encrypting, use the optional -k flag to specify the path of the generated keyfile.

sz -e original.mp4 -o encrypted.mp4 -k <generated keyfile>

Use the optional -p flag to view a real time preview of the output. This flag can be used alone or along with the -o argument.

sz -d encrypted.mp4 -o decrypted.mp4 -k <keyfile> -p

Use the optional -s flag to hide the progress bar. Might improve performance.


  • cv2.waitKey is unable to maintain a consistent playback framerate for cv2.imshow.
  • Audio is not yet supported.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Sanzan-0.0.16.tar.gz (4.5 kB view hashes)

Uploaded source

Built Distribution

Sanzan-0.0.16-py3-none-any.whl (4.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page