- Home /
Activating multiple external programs via Unity
Hello community,
I´m currently developing a horror game for my bachelor thesis. I want people to test it and while they play it I want to accomplish 2 things.
I want to start a webcam to record their reactions
I want to start a program to record what they see in the game (fraps for example)
I know that I can open external programs like this:
Application.OpenURL ((Application.dataPath) + "/mjpeg-player/sample2.html");
System.Diagnostics.Process.Start(Application.dataPath + "/theApplication.exe");
or
System.Diagnostics.Process.Start("notepad.exe");
But the question is, can I actually start and end my webcam AND fraps at the same time and make them record + save the data via Unity?
Is it possible? And if yes, how would I accomplish that? Any help is appreciated.
You could have a look at Everyplay plug in. It is free and should solve your recording issue.
Answer by tanoshimi · Jun 25, 2015 at 05:23 AM
Why not just use a WebCamTexture to read and save the webcam video directly within Unity?
I didn`t know about this, but it looks like it could work! I will try it. Unfortunetely it will take some time to post an update here. At least I know that theres a way to do it.Thank you.