Please refer vott-replace-paths-web for web implementation.
Converts your VoTT projects portable to an other local file path or an Azure Blob Storage container.
- Python 3.10.x
- pycryptodome
$ pipenv sync
$ pipenv shell # To enter your virtual environment
$ python -m pip install -r requirements.txt
Converted files will be output to "output/" under the directory where the vott file is located.
Please specify below parameters.
- -k: The security token to load/store your vott project.
- -s: The new video path (= Source connection)
- -t: The vott/assets file path (= Target connection)
$ python main.py \
-k security_key_security_token \
-s path/to/video_source_path \
-t path/to/vott_file_directory
Please specify below parameters.
- -k: Security token to load/store your vott project.
- -t: VoTT/Assets file path
- -a: Azure blob storage account name
- -c: Azure blob storage container name
- -sas: SAS string for your Azure blob storage
$ python main.py \
-k security_key_security_token \
-t path/to/vott_file_directory \
-a your_azure_storage_account_name
-c your_azure_container_name
-sas sas_for_reading_your_container
If you find some bug, feel free to create an Issue or PR!
This code is based on the update-vott-assets, Thanks!