Simple_viewer glitches when rendering videos
Hey, I’m getting quite a lot of glitches in videos rendered from simple_viewer with and without 3DGUT.
The resolution suddenly drops every few seconds, strange blocky artifacts, skipped frames etc. I can see all of these happen in realtime while it’s rendering, and they all end up in the final video too.
Would it possible to somehow offline render videos instead, rather than just dumping frames from the viewer?
I also noticed that if you lower the viewer resolution while rendering to help with the playback, it actually renders at this low res and just encodes at whatever video resolution you set.
cc @JunchenLiu77 for vis
Any ideas about this? It's not really possible to render a clean 3DGUT video due to all these glitches. Example here: https://www.youtube.com/watch?v=7QLPDKROrI0
@RongLiu-Leo I think you figured out a fix for this? Should we merge it?
This PR works well for current logic. Please have a look. It performs better compared to current logic, but sometimes still jumps given a high FPS. See the PR for details.