

Var launchPath = ("ffmpeg", ofType: "") ĬompressTask.StandardInput = NSFileHandle. Make sure they are in the path for the user running the service.

The problem is that when I try to execute the command I get the following error: "NSInvalidArgumentException: launch path not accessible"Īnd I can't find out why this happens, I use the following code in the service ( The error occurs when calling the Launch () method of the NSTask): public void ExecuteFFmpeg() For local transcoding to work you will have to install ffmpeg, ghostscript and ImageMagick. I have a Xamarin Forms project with Mac support and I am trying to implement FFmpeg, so I have downloaded the Static build from its official page and added it as in the resources folder of the Mac project with the build action in Content, then I have created a service that will basically remove the audio from a video that I indicate in a path with a FFmpeg command, to do the service I have based on the following answer and I have adapted it to C #:
