Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
1
Question by Prefab · Nov 15, 2015 at 07:49 AM · editoraudiovideoframeraterecord

How to record a video (with sound) without a framerate drop?

I have scripted together a simple animation sequence. It is a combination of a character's blendshapes lip synched to some audio while particle effects happen and the camera is slowly moving. I would now like to record a video of this to put onto YouTube. Later down the track I will be using a similar technique to record my cutscenes.

So I've tried to do this by putting Unity into play mode and using CamStudio to do the recording. The output video has incredible lag with many frames are being dropped. I have tried several recordings with different video settings each time but the result so far has been very choppy and unusable. I have even tried the free URecord asset, but since it doesn't record audio it is imprecise to manually try to synch up the audio with the lip synched animation.

There are many videos on the asset store that use footage from Unity, how is everyone doing this without the FPS drop?

Comment
Add comment
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 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Le-Pampelmuse · Nov 15, 2015 at 07:58 AM

Does your scene run on a high enough framerate to be able to record a 30 fps video? ;)

I dont know CamStudio, but how do you record the video? At which fps are you recording, what compression is it using, resolution etc. Do you record the area where the play window is, or fullscreen? Have you tried building the scene and recording from the .exe? This might help since the Editor does more rendering and calculations than just the game running by itself.

For Youtube, a 720p video with 30fps is enough of a good quality to showcase things.

Try Microsoft Expression Encoder, its free AND quite powerful for being free. Record areas, choose fps, and so on.

Fraps would be the best option but I don't know the limitations of the demo version.

Comment
Add comment · Show 4 · 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 Prefab · Nov 15, 2015 at 09:23 AM 0
Share

Ok I tried $$anonymous$$icrosoft Expression Encoder. The framerate is great even when recording the Unity Editor, but your suggestion about the exe is a great idea. The only issue with $$anonymous$$EE is that it does not output uncompressed video. I need to edit and crop the recording in a video editor. If I do that on a compressed clip, when I output it from the video editor it will be compressed again, which is no good. I have tried Fraps before but didn't really like it. I will try it again. Any other suggestions?

avatar image Le-Pampelmuse Prefab · Nov 15, 2015 at 10:07 AM 2
Share

I'm not sure what you want to achieve with an "uncompressed" video file, especially if you just want to upload it to Youtube.

Furthermore I should inform you that this question is not necessarily for Unity Answers, since it is "How to record any 3D application without fps drop" and not about Unity in general. Here a quick re$$anonymous$$der: http://answers.unity3d.com/page/faq.html

Try asking on http://forum.unity3d.com/ this is the right page for this kind of question.

The only real advice I could give you regarding the Unity side of your question was to try it on the .exe of your build and close any other application, like web-browser, media players, paint programs, downloads and filesharing, messaging. Your HDD, GPU and CPU should be on the least load possible before attempting to record. You can check that in the Task $$anonymous$$anager.

Anything else is more user preference than definitive solution and doesn't belong here.

Hope you can get the wanted result soon! :)

avatar image Prefab Le-Pampelmuse · Nov 15, 2015 at 12:07 PM 0
Share

I thought that maybe someone would know of a Unity extension that exports video from inside the editor, since this is better than trying to use a screen recorder. In the end Fraps ended up being the solution. It took some time playing around with it, but it was able to not drop any frames. Thank you for suggesting it. If URecord is updated to include audio it will be the in editor solution I was looking for. Hope this helps others :)

Show more comments

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.

Follow this Question

Answers Answers and Comments

36 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 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

Is there a unity feature/plugin that will allow me to record audio (from the user’s playlist) and video that's being played on the phone? 0 Answers

Video imported without audio (but editor recognizes the sound) 0 Answers

Undo.Record: Recording variables within array elements 0 Answers

Animated GIF and Audio Instead of Video? 3 Answers

Screenshot Movie with Audio Capture 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges