Unity Editor screen recording Artifact: Unity Recorder

Summary: Reporting on the progress of work you are still using screenshots or screen recording software? To try Unity Recorder plug-in, a stop solution screenshots, screen recording, panorama, panoramic video recording, especially for special-shaped wonders, super-resolution. (This plug can be used only in the Unity editor)

Hello, I am eternally new study followed the eruption of Unity, I called the Little new, this is my learning summary report this week oh.

Wisdom and little new here to give you New Year's it! Chinese New Year can only house home, then use Unity to do some fun things right!

Little new: "Chi brother, I recently received a small project, we need to report progress today, to record a screen, but I've got a problem!"

Dazhi: "What problem?"

Little new: "If a normal touches simple screen recording, screen recording software on the whole, but to get some resolution of this wonderful project, 8000 * 1200 resolution, I use screen recording software record does not come out so much ah, my. but not so large resolution display. "

Dazhi: "Do you have any feasible solution is not found?"

Little new: "I saw that what to write in the screenshot file inside the program, then these screenshots then into video, feel good trouble Oh, there is no simple way on the Internet?"

Dazhi: "That must happen, Unity Recorder with this plugin."

Little new: "so familiar ... so familiar ... Oh, I think of it, last time, the last mentioned Timeline!!"

Dazhi: "Yes, you saw no practical use to operate to encounter practical problems would never have thought it?"

Small New scratched his head: "Hey."

Dazhi: "to review summarize it."

Unity Recorder plug-in

Unity Recorder is a recording tool editor ( only for the editor ), you may be Unity scene and animation, animated or video recording Timeline in run mode.

This plugin so what good is it?
Compared to direct recording screen has several advantages such:

  • You can customize the output resolution is no longer limited by the resolution of the screen
  • You can record simultaneously a plurality of seats (plurality of output Camera lenses)
  • Output supports multiple types of output (video frame sequence, GIF, and comprising a panorama video panorama 360)
  • Good video picture compression
  • And can be used with Timeline

1 how to install it?

Unity2018.3 and later Package Manager can be installed, the previous version can search for "Unity Recorder" download and install the Asset Store.

After installation, you can open the recording window menu bar (Window> General> Recorder> Recorder window).

After the screen below:

2 Using the process is Shane?

  1. Open the Recorder window
  2. Add a record type, add Recorder:

  • Animation Clip: recording a movie clip
  • Movie: Record a video
  • Image Sequence: a sequence of frames pictures
  • GIF Animation: FIG movable GIF format
  • Audio: only Audio Recording
  1. Once you've configured Recorder, click on the Record button to start recording. Recorder plurality of simultaneously output multiple formats.

3 How to record a video?

Unity Recorder most common feature is recording a video, in particular, recorded a profiled resolution video.

1, add a Recorder Movie
2, primarily to modify the inside of the Capture options, the other can keep the default configuration.

Capture option to acquire an image from which, there are several options:

  • Game View: Game view, a view that is Game show what, what you recorded, including those UI
  • Targeted Camera: specified camera. The camera can see what it recorded what
  • 360 View: 360 panoramic, 360-degree panorama from a recording position of the camera
  • Render Texture Asset: acquiring image data from the Render Texture
  • Texture Sampling: When rendering resolution than the output resolution of large, multi-sampling can use this option to reduce the output image jagged.

** Of course, we are still the most commonly Game view this option. ** Game View When you select this option, the following Output Resolution You can select multiple resolutions, but for the most commonly used profiled resolution is still Match Window Size or Custom.

在这有一个需要注意的地方是:Match Window Size选项会使用Game窗口设置的固定分辨率,而不一定是当前显示的分辨率。

一定要注意的是Game窗口分辨率设置使用Fixed Resolution,这样输出的视频分辨率就会和平时开发的分辨率一致。

4 如何截屏?

有时候可能需要截一张大分辨率的图片,这时候直接用截图软件是不行的。那怎么办呢?

可以使用Unity Recorder中的Image Sequence,这个功能会录制下来一张张的序列帧图片。

那你可能会问了,这录制出来的是很多张啊?啊喂,你不会从中选一张么?

如何输出透明背景的图片/视频?
有时候我们想要图片的背景是透明的,那怎么办呢?这时候需要设置两个地方:

首先将Capture设置为非Game View的选项,比如选择Targeted Camera时,Camera的背景部分(天空盒或者Solid Color)就会是透明的。

然后图片格式设置为PNG(视频需要时WEBM),勾选Capture Alpha选项。这样输出的图像/视频,相机的背景就会是透明的。

如何录制全景图或者全景视频?

录制全景视频(Movie)全景图(Image Sequence)的时候,需要将Capture设置为360 View。

录制全景时,会根据设置的Source的相机位置进行360全景的录制。
Cube Map设置了录制时的分辨率,Output设置了输出的分辨率。

Stereo设置是否录制成双目的视频,Stereo Separation设置左视图和右视图在相机Y轴上的的角度。

如何与Timeline一同使用?

在Timeline上添加Recorder Track,然后在Track上添加Clip。

设置Clip的属性,Timeline播放到这时,就会自动开始相关设置的录制。

总结

在Unity中,只要是在编辑器中有录制需求的,几乎都可以用Unity Recorder解决,还不去试一下?

【扩展学习】对Timeline&Cinemachine感兴趣的童鞋:更多教程在洪流学堂公众号回复timeline获取,免费获取图文手册,不仅仅有Unity Recorder视频教程。


好了,今天就就让小新絮絮叨叨到这里了。没讲清楚的地方欢迎评论,不点赞收藏我可能不会回复你的哦(¬、¬) (¬_¬)

我是大智,你的技术探路者,下次见!

别走!点赞收藏哦!

好,你可以走了。

发布了138 篇原创文章 · 获赞 72 · 访问量 29万+

Guess you like

Origin blog.csdn.net/zhenghongzhi6/article/details/104089418