Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new mp4 rendering is extremely slow #63

Open
kurzemnieks opened this issue Jan 23, 2018 · 10 comments
Open

new mp4 rendering is extremely slow #63

kurzemnieks opened this issue Jan 23, 2018 · 10 comments

Comments

@kurzemnieks
Copy link

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?

@kurzemnieks
Copy link
Author

Is Recorder still being worked on? No activity for quite a while :(

@TheChrisED
Copy link

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

@caseypugh
Copy link

+1 - I just found this issue but seems like the same thing I am encountering #67

@kurzemnieks are you on Windows?

@TheChrisED
Copy link

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.

@kurzemnieks
Copy link
Author

@caseypugh yes, I'm on Windows 10

@dustinkerstein
Copy link

Same issue here on the latest asset store release and Unity 2018.1.0b8 on Windows 10.

@Tbernard33
Copy link

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.

@marijneken
Copy link

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.

@Arakade
Copy link

Arakade commented Jun 11, 2018

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants