Click here to Skip to main content
15,888,155 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone!
I using Process to run ffmpeg, when it running how can I pass parameters.(after Process.Start())
C#
ffmpeg.exe -f dshow -i video="Integrated Webcam":audio="Microphone (High Definition Audio Device)"  webcam.flv

when run in command line, press key "Q" to quit.
While on Process, then how to stop
Posted
Comments
Mayank Vashishtha 26-Aug-14 23:26pm    
What do you want exactly? To Stop the running process or to pass a value?
son0nline 27-Aug-14 0:13am    
i want pass a value
Sergey Alexandrovich Kryukov 27-Aug-14 0:15am    
Why?!!
—SA
Sergey Alexandrovich Kryukov 27-Aug-14 0:14am    
Why? why?!
—SA
Mayank Vashishtha 27-Aug-14 0:22am    
Lemme also add. :-) Why?

1 solution

You cannot do it after process start. If it was your application, you could program if for such communication using one or another form of IPC, but then using Process.Start would be pointless, because you would rather do it in the same process.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900