Tried with the above code but its not working. When we run ffmpeg with the same code we need to remove the final "\" after ffmpeglog.log to generate the log.
When I am using
" -i \"d:\\wildlife.wmv 2> \"D:\\ffmpeglog.log\""
The log is not generating but cannot remove the "\" from the string since its throwing Newline constant error.
How can I use
" -i \"d:\\wildlife.wmv 2> \"D:\\ffmpeglog.log""
instead of the previous code. Or we need to make some changes in the configuration? Current configuration is as follows.
startProcess.CreateNoWindow = true;
startProcess.ErrorDialog = false;
startProcess.UseShellExecute = false;
startProcess.RedirectStandardOutput = true;
startProcess.RedirectStandardError = true;
startProcess.RedirectStandardInput = true;
Please advise.