From 73559ef693ce1f828e80a8ce30eb84a1ffeed6e6 Mon Sep 17 00:00:00 2001 From: "Peter K. Shultz" Date: Mon, 28 Sep 2020 11:22:21 -0700 Subject: [PATCH 1/2] Update Program.cs Fix broken link and application package path --- BatchDotnetTutorialFfmpeg/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BatchDotnetTutorialFfmpeg/Program.cs b/BatchDotnetTutorialFfmpeg/Program.cs index a670b5f..5161ef5 100644 --- a/BatchDotnetTutorialFfmpeg/Program.cs +++ b/BatchDotnetTutorialFfmpeg/Program.cs @@ -312,7 +312,7 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str // Specify the application and version to install on the compute nodes // This assumes that a Windows 64-bit zipfile of ffmpeg has been added to Batch account // with Application Id of "ffmpeg" and Version of "3.4". - // Download the zipfile https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.4-win64-static.zip + // Download the zipfile https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-21-full_build.zip // to upload as application package pool.ApplicationPackageReferences = new List { @@ -389,7 +389,7 @@ private static async Task> AddTasksAsync(BatchClient batchClient string outputMediaFile = String.Format("{0}{1}", System.IO.Path.GetFileNameWithoutExtension(inputMediaFile), ".mp3"); - string taskCommandLine = String.Format("cmd /c {0}\\ffmpeg-3.4-win64-static\\bin\\ffmpeg.exe -i {1} {2}", appPath, inputMediaFile, outputMediaFile); + 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); // Create a cloud task (with the task ID and command line) and add it to the task list CloudTask task = new CloudTask(taskId, taskCommandLine); From ee228ed769c7424241bd0b7030090c6bcbee22a7 Mon Sep 17 00:00:00 2001 From: "Peter K. Shultz" Date: Mon, 28 Sep 2020 11:37:20 -0700 Subject: [PATCH 2/2] Update Program.cs --- BatchDotnetTutorialFfmpeg/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BatchDotnetTutorialFfmpeg/Program.cs b/BatchDotnetTutorialFfmpeg/Program.cs index 5161ef5..1f5a19f 100644 --- a/BatchDotnetTutorialFfmpeg/Program.cs +++ b/BatchDotnetTutorialFfmpeg/Program.cs @@ -311,7 +311,7 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str // Specify the application and version to install on the compute nodes // This assumes that a Windows 64-bit zipfile of ffmpeg has been added to Batch account - // with Application Id of "ffmpeg" and Version of "3.4". + // with Application Id of "ffmpeg" and Version of "4.3.1". // Download the zipfile https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-21-full_build.zip // to upload as application package pool.ApplicationPackageReferences = new List