• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by jack 1 · Aug 04, 2010 at 07:54 PM · videorecording

Can I tell Unity to record a video?

I have an animation where the main camera fly's around the terrain basically showing it off, and I would like to know if I can tell unity to "save" this animation in some video extension that I can upload to my website.

Comment
Add comment · Show 10
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image qJake · Aug 04, 2010 at 07:57 PM 4
Share

Please don't use "Animation" to refer to recording a pre-rendered scene. Animations are completely different.

avatar image jack 1 · Aug 04, 2010 at 08:02 PM 0
Share

That's what its called in unity...

avatar image qJake · Aug 04, 2010 at 08:04 PM 2
Share

No, it's called video capture. Animation is what you do to objects in the world to change their properties over time: http://unity3d.com/support/documentation/$$anonymous$$anual/Animation.html

avatar image qJake · Aug 04, 2010 at 08:05 PM 1
Share

By the way, Unity doesn't actually do this (capture video). You need to do it yourself.

avatar image Gizmoi · Jul 08, 2014 at 02:50 PM 6
Share

The guy clearly has recorded an animation within Unity and wants to create a video from it. Calm down fellas.

Show more comments

8 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by qJake · Aug 04, 2010 at 08:03 PM

If you want to record Unity's player output, you can use one of two methods:

JPEG Frames
Every frame, simply call CaptureScreenshot and save each file in order. Then, use video editing software to covert each still frame into a video.

External Video Capture
Simply run your scene fullscreen, or at whatever resolution you would like your video to be, and capture it using an external game video recorder. My personal favorite is Fraps.

Be careful, though, some game video recorders record raw, uncompressed output. You'll need to run these through a converter such as Any Video Recorder in order to convert them into a smaller, compressed format.

Comment
Add comment · Show 7 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jack 1 · Aug 04, 2010 at 08:35 PM 0
Share

A problem I wanted to avoid, but thanks. I use Copernicus myself. Never heard of fraps though.

avatar image BinaryCaveman · Sep 03, 2010 at 11:03 PM 2
Share

Fraps is a screen recorder for Windows, Copernicus is for $$anonymous$$ac. That is probably why you have not heard of it. :)

avatar image cloudyheaven · Mar 17, 2011 at 02:37 PM 0
Share

This works perfectly. And actually i was wondering if it is possible to make unity open a program (like windows movie maker) and put those files in order and then export it ? I already found a script that opens up programs outside Unity:

import System.Diagnostics;

var path:String = "somewhere"; var foo:Process = new Process(); function Start() {
foo.StartInfo.FileName = "Photoshop"; foo.StartInfo.Arguments = path; foo.Start(); }

avatar image blindkoala · May 22, 2012 at 09:25 PM 0
Share

Unity + Vuforia plugin exporting to iOS here:

I'm wondering if anyone has any experience with speeding up the capture of real-time video by putting the CaptureScreenshot call in the LateUpdate method? I'm looking to record a very brief video event and can't drop any frames. I've looked at Texture Rendering the output and then compositing but basically we're after the easiest solution to dependable real-time capture, and I've been reading that the CaptureScreenshot is asynchronous and thereby can't be depended upon.

Also, anyone have experience (or a resource ref) for sending these screens to the iOS document root? We can handle them once they're there.

Cheers...

avatar image shadowriffe · May 22, 2012 at 09:46 PM 2
Share

Camstudio has worked pretty well for me. It doesn't embed any kind of watermark, and it can save straight to .flv or .avi. If your speaker output can be set as a microphone, you can save sound also.

I$$anonymous$$PORTANT! When using third-party screen capture tools, it'll be best to do the capture on a built game and not in the editor. This will make a difference if you don't have a beast of a machine.

Show more comments
avatar image
3

Answer by Disdanes · Mar 22, 2015 at 11:28 PM

Why not use Openbroadcaster? It just came out with multi-platform support : https://obsproject.com/

You can target a screen region and record it locally.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MV10 · Dec 31, 2015 at 02:26 PM 0
Share

Looks awful on high-DPI screens and doesn't correctly handle any of my multiple-monitor configurations.

avatar image decembered · May 21, 2016 at 09:04 PM 0
Share

Tried it, never managed to get clean picture: too much distortion in the output file.

avatar image alexhapki · May 22, 2016 at 09:41 AM 0
Share

I will try OBS soon, I already downloaded it, and let you know how it goes. So far I have been using Icecream Screen Recorder and worked well. It is freeware, for free. All the videos on our channel have been recorded using that. As an example: https://www.youtube.com/watch?v=dWk-3teZ2i4

If you need to change the video format, cut part of it or add different videos you may use Freemake Video Converter.

avatar image
1

Answer by AndrewRH · Feb 13, 2012 at 06:36 PM

Hi,

There's another option!

We created a video capture plugin for Unity that record from the viewport straight to AVI files on disk. It's currently Windows only but we hope to fix that soon. The plugin is called AVPro Movie Capture, check out the demo and documentation on the webpage.

-Andrew

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image El_boy · Apr 19, 2016 at 10:29 AM 0
Share

Very nice! I see as a feature in the asset store: * Write to AVI or $$anonymous$$P4 containers. Does this mean that it now outputs mp4 video as well? Has this been tested in mobile devices? I need users to be able to capture and convert video to mp4 all within the app without relying on external apps.
Thanks!

avatar image
0

Answer by agrygorenko · Dec 22, 2012 at 03:06 AM

Try ScreenRecorder extension , it does video capture on Mac and iOS.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image raptorkwok · Jul 13, 2015 at 04:26 AM 0
Share

this extension is deprecated and removed from Asset Store already.

avatar image
0

Answer by James P Fulton · Jan 17, 2014 at 10:03 AM

MTS Video Converter is also a versatile MTS to AVI Converter software, which has the ability to convert MTS/M2TS file to AVI video with super high speed and perfect ...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Record the entire level and save that video in Desktop/Gallery of PC/Android [In-Game] 2 Answers

Recording AR Foundation video feed 2 Answers

Threading Application.CaptureScreenshot() 1 Answer

Video Recording for upload later 1 Answer

Record and Share Game Play Video in WebGL 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges