I have tried calling FFMPEG from the dockerfile to test if it has installed but it just returns this: Step 5/17 : RUN powershell.exe powershell choco install chocolatey-compatibility.extension -y -force powershell choco install chocolatey-core. 'ffmpeg' is not recognized as an internal or external command, operable program or batch file. Process.Start("cmd.exe", command).WaitForExit() īut I am running into some trouble. ( I am using this guide for C# dockerfile )Īnd my C# Code: string command = $"/C ffmpeg -i \".mp3" Powershell choco install ffmpeg-full -y -force \ If you do not have Scoop installed on your machine, you can check the tutorial here: How to Install Scoop on Windows. Open the terminal and start by updating scoop: scoop update. Powershell choco install chocolatey-core.extension -y -force \ The first and most common method to set up FFmpeg on Windows is to use the scoop package manager. Powershell choco install chocolatey-compatibility.extension -y -force \ Iwr -Uri '' -UseBasicParsing -OutFile $home/choco_install.ps1 \ Set-ExecutionPolicy Bypass -Scope Process -Force \ I found this guide(use 12ft.io to bypass paywall) that says to install chocolatey and then install ffmpeg through that like so: USER ContainerAdministrator I am trying to run CLI ffmpeg via a C# code in a windows container with sdk:6.0-windowsservercore-ltsc2022. I have a C# code that is dependent on FFMPEG via CMD/powershell.
0 Comments
Leave a Reply. |