|
-
May 15th, 2013, 01:03 PM
#1
[RESOLVED] Process.Start() => speed-- vs. Console
Hi,
I want to make the process of ffmpeg visible to a progressbar. While caring for it, I mentioned that running ffmpeg via
Code:
strCmdText = "-y -i \"" + path + "\"";
strCmdText += " -async 1 -vf yadif -c:v libx264 -b:v 1024k -r 30 -bf 1 -an nul.avi";
Process.Start(new ProcessStartInfo("lib\\ffmpeg.exe", strCmdText));
is about 2/3 slower than running it in console (app: 130 progress fps, console: 400 progress fps).
I already tried to run the Process.Start in an extra thread.
The CPU usage is 75% while running in console, but 100% while running in the app.
RAM usage is the same.
Is there a way to fix this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|