I need help putting two quotes round to strings in this line of code.
System.Diagnostics.Process.Start("CMD.exe", "\"/C ffmpeg -loop 1 -i input.png -i " + value + " -acodec libvo_aacenc -vcodec h264 -shortest " + value + ".mp4\"");
I am trying to pass two custom arguments to ffmpeg in CMD.exe, how ever if the file has spaces it fails and does nothing.
The way to fix this is to put two quotes around it like " + value + ", but that brings up a bunch of errors.
I've tried things like "\"" + value + "\""
but it just brings up a ton of errors.