I built a WPF app that uses System.Diagnostics.Process
to run ffmpeg.exe. In there I added an "External" folder to hold the ffmpeg files.
Then just did something like
new ProcessStartInfo()
{
FileName = @"External\ffmpeg\bin\x64\ffmpeg.exe",
...
}
Which worked just fine.
Now I want to port this project to .Net Maui to leverage its cross-platformness so my app can be run on PC or Mac.
My question is where do I add the ffmpeg files in the Maui project? Do I Just put them in "Resources/Raw" and do some kind of check in my code to see which version use; do I make a "Resources" folder in "Platforms/Windows" and "Platforms/MacCatalyst" and add the appropriate files there?
Side Note: I know almost nothing about Mac.