You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run FFMPEG on Mac to compress a video I´m getting
An error occurred trying to start process '/opt/homebrew/bin/ffmpeg' with working directory '/Users/s2k/Desktop/AdminCenter/AdminCenter/bin/Debug/net8.0-maccatalyst/maccatalyst-arm64/AdminCenter.app'. Operation not permitted
I can run it on terminal without any issues but once I try using maui it doesn't
I´ve tried using FFMPEGCore and direct start via Process, both with the same message...
// Prepare the FFmpeg process
var ffmpegProcess = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "/opt/homebrew/bin/ffmpeg",
Arguments = $"-i \"{inputFilePath}\" -vcodec mpeg4 -vtag xvid -qscale:v 5 \"{outputFilePath}\"",
RedirectStandardOutput = true,
RedirectStandardError = true,
UseShellExecute = false,
CreateNoWindow = false
}
};
// Start the FFmpeg process
ffmpegProcess.Start();
// Capture output and error messages (optional)
vmh.OutputText = await ffmpegProcess.StandardOutput.ReadToEndAsync();
string error = await ffmpegProcess.StandardError.ReadToEndAsync();
// Wait for the process to exit
ffmpegProcess.WaitForExit();
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.100 SR10
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
MAC Catalyst Sonoma
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered:
@South2AK this seems like an access issue. Set access under "System Preferences > Security & Privacy > Privacy", giving disk access to the terminal and whatever program you're making.
Description
When trying to run FFMPEG on Mac to compress a video I´m getting
An error occurred trying to start process '/opt/homebrew/bin/ffmpeg' with working directory '/Users/s2k/Desktop/AdminCenter/AdminCenter/bin/Debug/net8.0-maccatalyst/maccatalyst-arm64/AdminCenter.app'. Operation not permitted
I can run it on terminal without any issues but once I try using maui it doesn't
I´ve tried using FFMPEGCore and direct start via Process, both with the same message...
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.100 SR10
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
MAC Catalyst Sonoma
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: