[Mono-osx] Opening Processes in C#, not working with Mono

Asriel pingu2 at gmail.com
Thu Jul 16 20:06:35 EDT 2009


Hey there,

I'm working on a project, and part of it parses video files and can either
export smaller video files, export it to audio files, or give a snapshot of
the video.

To do this, it's using ffmpeg.exe and mp3split.exe , and it opens FFMpeg
with this code:
 Process ffmpegProcess = new Process();
ffmpegProcess.StartInfo.FileName = ConstantSettings.PathFFmpeg;
ffmpegProcess.StartInfo.UseShellExecute = false;
ffmpegProcess.StartInfo.CreateNoWindow = true;
string ffmpegSnapshotProgArgs = "";

With PathFFmpeg being 
private static string pathFFmpeg = @"Utils" + Path.DirectorySeparatorChar +
"ffmpeg" + Path.DirectorySeparatorChar + "ffmpeg.exe";

The project works on Windows, and on OS X, it goes through as if it works,
except the process never actually runs. I think it may have something to do
with the fact that ffmpeg.exe can't be run in mono, but perhaps there's a
way to invoke a mac version of it or something?

Any ideas would be wonderful.
Thanks
-- 
View this message in context: http://www.nabble.com/Opening-Processes-in-C-%2C-not-working-with-Mono-tp24526141p24526141.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list