x


Creating a video from Unity

Has anyone tried to create a video from the rendered output in Unity.

I would like to be able to create replays of my game, and upload the replay to youtube or another video sharing site. I guess i can use EncodeToPNG and friends to get one frame, but has anyone tried to actually create a movie on the fly from the extracted screenshots?

more ▼

asked Apr 07 '10 at 03:20 PM

KvanteTore gravatar image

KvanteTore
1.5k 8 15 33

That'd be great! I was hoping it would be possible to throw the unity video output directly into a stream, like VLC can do either to a unencoded video, encoded video, used as a video input to recording devices or to any receiving video stream host. Too bad no answers on this even up to today!

Nov 12 '10 at 01:34 PM Cawas

I ended up making an in-game record/playback functionality for the replay functionality in our game. Being a free webgame it kind of makes sense, as it would mean anyone watching a replay would already be in the game, ready to play :)

Nov 17 '10 at 10:57 AM KvanteTore

Hi, could I ask you if you found any other way to create replays and to upload the unity video output directly ? Making it easier for players to publish their achievements.. Thanks in advance.

Feb 17 '11 at 02:35 PM Vini

@Vini, no. I ended up making an in-game replay system instead.

Feb 21 '11 at 04:19 PM KvanteTore
(comments are locked)
10|3000 characters needed characters left

6 answers: sort voted first

Hi!

There's another option.. We've written a fast capture plugin that integrates directly into Unity to allow you to make captures in the editor or in a build.

The plugin is called AVPro Movie Capture can you can download a demo and view the documentation on the webpage.

-Andrew

more ▼

answered Feb 13 '12 at 05:04 PM

AndrewRH gravatar image

AndrewRH
51 1 1 2

I've spent too little time on unity answers lately, and didn't see this until now, but it is exactly what I was looking for back in 2010. Don't need it right now though, but I'll keep it in mind :)

Jul 24 '12 at 06:16 AM KvanteTore
(comments are locked)
10|3000 characters needed characters left

Use Screenflow, Screenflick, Snapz Pro, etc. if you're using OS X, or some equivalent app if you're on Windows. You can use this script on the wiki, but that's not really appropriate for standard gameplay since it changes the timescale to get a perfectly even framerate.

more ▼

answered Apr 07 '10 at 08:24 PM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

I was thinking more along the lines to have it integrated in the game so that it can be done effortlessly by players

Apr 08 '10 at 10:02 AM KvanteTore

Auto-export from the game would be cool. For video capture, fraps is the best "equivalent app ... on Windows" that I was able to find.

Jan 01 '11 at 06:11 PM yoyo
(comments are locked)
10|3000 characters needed characters left

use fraps software its good FPS recorder . http://www.fraps.com/download.php

more ▼

answered Jan 31 '11 at 09:42 AM

Nasr gravatar image

Nasr
32

FRAPS certainly works well for fullscreen games. Have not tried WebPlayer.

May 01 '12 at 01:04 AM Waz
(comments are locked)
10|3000 characters needed characters left

If you are doing your scripting in c# you probably want to do something similar to this:

http://stackoverflow.com/questions/397754/record-video-of-screen-using-net-technologies

more ▼

answered Apr 22 '10 at 03:06 AM

lathomas64 gravatar image

lathomas64
178 6 7 19

Yep, looks promising, although it doesn't actually provide a solution :)

Apr 22 '10 at 10:09 AM KvanteTore
(comments are locked)
10|3000 characters needed characters left

Sorry but Fraps will not "see" games that run in Unity. I am currently testing a browser-based Unity game and neither Screenshots or Movies work using Fraps. Fraps works fine in everything else though...go figure.

I need it to take screenshots & movies for bug reporting back to the developers.

TQQdles™,

Dolnor Numbwit Eternal Testing Newbie

more ▼

answered Mar 09 '12 at 07:43 AM

Dolnor gravatar image

Dolnor
1

You can always set up Fraps to use the DWM-Interface, which makes Fraps record everything shown on the Windows Vista / Windows 7-Desktop.

Dec 04 '12 at 09:28 PM Gruni
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x280

asked: Apr 07 '10 at 03:20 PM

Seen: 9277 times

Last Updated: Feb 15 at 02:40 PM