Background FFMpeg worker powered by Azure Storage Blob/Queue or AWS S3/SQS
The next environment variables are used by an app and shared between both Azure and AWS versions:
| Parameter | Required? | Description |
|---|---|---|
| APPLICATIONINSIGHTS_CONNECTION_STRING | false | Azure App Insights connection string for logging & tracebility |
| FFMpeg__Path | true | FFMpeg full path |
| FFMpeg__Arguments | true | Arguments for FFMpeg conversion |
| Storage__Input__Container | false | Name of azure storage container for input files to convert. Default name: input |
| Storage__Input__Queue | false | Name of azure storage queue for requests to convert file. Default name: input |
| Storage__Output__Container | false | Name of azure storage container for output files after conversion. Default name: output |
| Storage__Output__Queue | false | Name of azure storage queue for results of conversion. Default name: output |
| Delay | false | Delay between job executions in hh:mm:ss format. Default: 00:01:00 |
| Name | true | Name of an application instance for traceability |
| TargetExtension | false | Target extension of output file with dot. If not set - extension of the source file will be used |
| Parameter | Required? | Description |
|---|---|---|
| Storage__ConnectionString | true | Azure Storage account connection string |
Refer to the AWS guide in setting up a connection. No additional parameters are required.
Use pre-built image from DockerHub.
There are multiple tags available:
aws-nightly- latest AWS build for PRaz-nightly- latest Azure build for PRaws-stable- latest AWS build formainbranchaz-stable- latest Azure build formainbranchx.x.xxxx-aws-alpha- image for a particular AWS PR build in Azure DevOpsx.x.xxxx-az-alpha- image for a particular Azure PR build in Azure DevOpsx.x.xxxx-aws- image for a particular AWSmainbranch build in Azure DevOpsx.x.xxxx-az- image for a particular Azuremainbranch build in Azure DevOps
Project:
- Clone project
- Update appsettings.json/secrets.json or set environment variables
- Add
AZ/AWSproperty to MsBuildDefineConstants dotnet runor your favorite IDE
- azure-sdk-for-net - The official Azure SDK for .NET
- aws-sdk-net - The official AWS SDK for .NET.
- FFmpeg - A complete, cross-platform solution to record, convert and stream audio and video.