1
\$\begingroup\$

I want to capture video from cameras and save them in Unity. There is a function Application.CaptureScreenShot() but it only captures images. There is another function that only captures images, too.

It's said to be possible to capture images and attach them together to make a video file but I think it uses a lot of resources and makes the process heavy and in the end there is still no sound.

I mean ingame cameras not reall cameras. I want to capture videos from game

Is there any other way for me to record sound?

\$\endgroup\$

3 Answers 3

2
\$\begingroup\$

Use what's built into Unity - the video capture API. Note that it says,

You must enable the WebCam and Microphone capabilities to use the VideoCapture API.

Otherwise google "unity video capture library" - there are some results on the Unity Store.

\$\endgroup\$
2
  • \$\begingroup\$ realy my bad. i think didn't explain completely. i mean cameras in the game not reall cameras and webcams. sorry \$\endgroup\$
    – virtouso
    Commented May 14, 2017 at 14:05
  • \$\begingroup\$ can you remove your answer to let other people know this question still need answer? thank you \$\endgroup\$
    – virtouso
    Commented May 14, 2017 at 15:25
1
\$\begingroup\$

I think the best answer for least spend of time is "video capture" plugin that is in asset store for free. but to use it and removing al bugs you have to get "SteamVR" plugin in asset store because "video capture" uses some "SteamVR" feature.

\$\endgroup\$
-4
\$\begingroup\$

You could simply create a proper build and do a normal screen recording of the game. Why does it have to be recorded inside Unity?

\$\endgroup\$
4
  • 2
    \$\begingroup\$ sorry but you answer could be a comment. you cant want from a user to open a screen capture app to record your favorite video. believe me \$\endgroup\$
    – virtouso
    Commented May 14, 2017 at 14:43
  • \$\begingroup\$ Ah then I didn't get your question right. You want that the end user can record videos. Wasn't clear for me. For mobile I know Everyplay which is capable of this. \$\endgroup\$
    – M156
    Commented May 14, 2017 at 15:07
  • \$\begingroup\$ unfortunately I need it for pc. and there is no free plugin for it. can you remove you answer to let people know this question still needs answer. thank you. \$\endgroup\$
    – virtouso
    Commented May 14, 2017 at 15:24
  • \$\begingroup\$ The people know because you didn't accept an answer yet, no worries. \$\endgroup\$
    – M156
    Commented May 14, 2017 at 15:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .