Open kurzemnieks opened 6 years ago
Is Recorder still being worked on? No activity for quite a while :(
I experienced this issue as well. I'm recording 360° videos with Unity 2018.1.0b4. At first it records at about 5fps and then drops to below 1. Looking at the Task Manager I noticed that at the beginning of the recording 10% CPU and 80% GPU power are used. When the recording drops to 1fps CPU usage drops to 1% and GPU usage drops to 25%.
System: Unity 2018.1.0b4 Recorder 0.2.0032 Windows 10.0.16299 Intel Core i7 4930K @3.4GHz NVIDIA GeForce GTX 1070 8GB VRAM
+1 - I just found this issue but seems like the same thing I am encountering https://github.com/Unity-Technologies/GenericFrameRecorder/issues/67
@kurzemnieks are you on Windows?
I just ran into an unrelated problem with the project I'm recording in and went to a backup. Recording in the backed up version of the project worked with 5fps all the way through. I recorded a 2 minute video without seeing a drop. So far I couldn't find a reason why, though.
@caseypugh yes, I'm on Windows 10
Same issue here on the latest asset store release and Unity 2018.1.0b8 on Windows 10.
Same issue here. When my framerate drop at 1 it messes up with my grass. I got trees and grass animated by a wind effect and while recording, the both have different speed... I also have particles wich are not affected.
Any thoughts ? I thought it was related to that framerate, but I may be wrong.
I noticed the same thing just last week. I also discovered that it's related to having the audio recording disabled. Once I enabled audio recording, the speed stayed constant throughout the whole recording. But not having a bitrate setting, made me revert to using the old MP4 recorder anyway.
Interesting about the audio thing, maybe that's why my attempt to use the new AsyncGPUReadback API suffered problems:
https://forum.unity.com/threads/unity-recorder-update.509458/page-3#post-3512712 https://forum.unity.com/threads/unity-recorder-update.509458/page-3#post-3512869 https://forum.unity.com/threads/unity-recorder-update.509458/page-3#post-3512893 https://forum.unity.com/threads/unity-recorder-update.509458/page-3#post-3513013
Summary: Deep profiling says MediaEncoder is becoming slower and slower. (With or without AsyncGPUReadback after 72 frames, FPS drops and gets worse with 0.25 FPS after 130 frames.)
New MP4 rendering is extremely slow compared to legacy MP4 rendering. When choosing new MP4 - for first few seconds it records fast, and then framerate drops to less than 1fps (even on 720p). While legacy mp4 renders at constant 7-8fps @4k.
ps: Can you also add bitrate settings to new MP4 rendering?