Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lynnaloo/overlay-video-upload
Downloads a video from Azure Blob Storage, processes and adds a watermark, uploads the new video to ABS
https://github.com/lynnaloo/overlay-video-upload
Last synced: about 1 month ago
JSON representation
Downloads a video from Azure Blob Storage, processes and adds a watermark, uploads the new video to ABS
- Host: GitHub
- URL: https://github.com/lynnaloo/overlay-video-upload
- Owner: lynnaloo
- Created: 2024-07-15T21:29:34.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-18T20:16:59.000Z (4 months ago)
- Last Synced: 2024-07-20T02:24:20.012Z (4 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upload a video with an overlay
Downloads a video from Azure Blob Storage, processes and adds a watermark, returns the video
## Create an Azure Blob Storage account with two containers: one to upload existing videos, a second for uploading processes videos
## Add a `local.settings.json` file using this example:
```
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "python",
"AzureWebJobsFeatureFlags": "EnableWorkerIndexing",
"AZURE_STORAGE_CONNECTION_STRING": "",
}
}
````UseDevelopmentStorage=true` assumes that Azurite is running for local development. For production, this should be a URL to the Blob Storage account for the Azure Function."
## POST HTTP Request to the Function URL with this format:
```
{
"blob_url": "",
"content_tags": "example1, example2"
}
```