keijiro / FFmpegOut

Video capture plugin for Unity with FFmpeg.
MIT License
932 stars 149 forks source link

MacOS - "Native error= Access denied" when recording video #64

Open steoberg opened 3 years ago

steoberg commented 3 years ago

Hello,

when I try to export a video on a mac I get the following error. It works fine on windows.

Win32Exception: ApplicationName='/Users/user/Documents/Project/Assets/StreamingAssets/FFmpegOut/macOS/ffmpeg', CommandLine='-y -f rawvideo -vcodec rawvideo -pixel_format rgba -colorspace bt709 -video_size 1920x1080 -framerate 60 -loglevel warning -i - -pix_fmt yuv420p "/Users/user/Documents/Project/Assets/StreamingAssets/movie.mp4"', CurrentDirectory='', Native error= Access denied System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at :0) System.Diagnostics.Process.Start () (at :0) (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) (at :0) FFmpegOut.FFmpegPipe..ctor (System.String arguments) (at Assets/FFmpegOut/Runtime/Internal/FFmpegPipe.cs:22)

Pretty sure it worked also on a mac a while ago at least. Can it be a MacOS update?

Thanks

keijiro commented 3 years ago

I have no idea about it. I'm not actively working on this package anymore. I'd recommend using Unity Recorder instead.

LwRed commented 1 year ago

Hello, quite Simple MacOS has write permission to enable before I well get a try