Skip to content

Commit 0a293c9

Browse files
authored
Update tutorial-parallel-dotnet.md
Update ffmpeg version + links
1 parent 63450ec commit 0a293c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/batch/tutorial-parallel-dotnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In this tutorial, you convert MP4 media files in parallel to MP3 format using th
3030

3131
* A Batch account and a linked Azure Storage account. To create these accounts, see the Batch quickstarts using the [Azure portal](quick-create-portal.md) or [Azure CLI](quick-create-cli.md).
3232

33-
* [Windows 64-bit version of ffmpeg 3.4](https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.4-win64-static.zip) (.zip). Download the zip file to your local computer. For this tutorial, you only need the zip file. You do not need to unzip the file or install it locally.
33+
* [Windows 64-bit version of ffmpeg 4.3.1](https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-21-full_build.zip) (.zip). Download the zip file to your local computer. For this tutorial, you only need the zip file. You do not need to unzip the file or install it locally.
3434

3535
## Sign in to Azure
3636

@@ -42,7 +42,7 @@ Use the Azure portal to add ffmpeg to your Batch account as an [application pack
4242

4343
1. In the Azure portal, click **More services** > **Batch accounts**, and click the name of your Batch account.
4444
3. Click **Applications** > **Add**.
45-
4. For **Application id** enter *ffmpeg*, and a package version of *3.4*. Select the ffmpeg zip file you downloaded previously, and then click **OK**. The ffmpeg application package is added to your Batch account.
45+
4. For **Application id** enter *ffmpeg*, and a package version of *4.3.1*. Select the ffmpeg zip file you downloaded previously, and then click **OK**. The ffmpeg application package is added to your Batch account.
4646

4747
![Add application package](./media/tutorial-parallel-dotnet/add-application.png)
4848

@@ -79,7 +79,7 @@ Also, make sure that the ffmpeg application package reference in the solution ma
7979

8080
```csharp
8181
const string appPackageId = "ffmpeg";
82-
const string appPackageVersion = "3.4";
82+
const string appPackageVersion = "4.3.1";
8383
```
8484

8585
### Build and run the sample project
@@ -258,7 +258,7 @@ for (int i = 0; i < inputFiles.Count; i++)
258258
string outputMediaFile = String.Format("{0}{1}",
259259
System.IO.Path.GetFileNameWithoutExtension(inputMediaFile),
260260
".mp3");
261-
string taskCommandLine = String.Format("cmd /c {0}\\ffmpeg-3.4-win64-static\\bin\\ffmpeg.exe -i {1} {2}", appPath, inputMediaFile, outputMediaFile);
261+
string taskCommandLine = String.Format("cmd /c {0}\\ffmpeg-4.3.1-2020-09-21-full_build\\bin\\ffmpeg.exe -i {1} {2}", appPath, inputMediaFile, outputMediaFile);
262262

263263
// Create a cloud task (with the task ID and command line)
264264
CloudTask task = new CloudTask(taskId, taskCommandLine);

0 commit comments

Comments
 (0)