![]() ![]() Var launchPath = ("ffmpeg", ofType: "") ĬompressTask.StandardInput = NSFileHandle. ffmpeg -f avfoundation -i '1:0' Screen.mov Note that the '1:0' is ' 1 Capture screen 0: 0 Soundflower (2ch)' I suspect that the reason your audio doesnt sound good is due to a bit depth discrepency. 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() 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 #:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |