r/UnityHelp • u/19SilentReader12 • Oct 30 '21
Record a video from a web camera
Hi, I am trying to record a video from a web camera on my laptop. I have used this script (https://docs.unity3d.com/560/Documentation/ScriptReference/VR.WSA.WebCam.VideoCapture.html). Everything works fine, the video is recorded. BUT, I need to see what I am recording. I tried to add a webcamtexture script. The result was - empty mp4 file. Then I tried to add webcamtexture to a 3d object and record what camera sees in Unity. It was good, but don't want it this way, because I need to add a 3d object in the scene, which I don't want to be seen in the recorded video.
Is there any way for recording a video while I can see what am I recording?
Thanks for any answers :)
3
Upvotes