Background FFMpeg worker using Azure Storage Queues
The next environment variables are used by an app:
Parameter | Required? | Description |
---|---|---|
APPLICATIONINSIGHTS_CONNECTION_STRING | false | Azure App Insights connection string for logging & tracebility |
Storage__ConnectionString | true | Azure Storage account connection string |
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 |
FFMpeg__TargetExtension | false | Target extension of output file with dot. If not set - extension of source file will be taken |
Use pre-build image from DockerHub.
There are multiple tags available:
nightly
- latest build for PRstable
- latestmain
versionx.x.xxxx-alpha
- image that corresponds to a particular PR build in Azure DevOpsx.x.xxxx
- image that corresponds to a particularmain
branch build in Azure DevOps
Project:
- Clone project
- Update appsettings.json or environment variables
dotnet run
or your favotire IDE
- azure-sdk-for-net - The official Azure SDK for .NET