C0untFloyd / roop-unleashed

Evolved Fork of roop with Web Server and lots of additions
GNU Affero General Public License v3.0
2.34k stars 540 forks source link

Stuttering #910

Closed RoopUser closed 2 months ago

RoopUser commented 2 months ago

Describe the bug Using 4.2.6 and not having changed anything I am getting stuttering on the output videos. I am using h264_nvenc, but unsure if it has any impacts.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Details What OS are you using?

Are you using a GPU?

image

RoopUser commented 2 months ago

This happens when outputting to libx264, as well.

Bigboooy21 commented 2 months ago

Dont know if this is related, but for me it happens when I use the "Use last frame" option when no face is detected. When I use "retry rotated" its fine.

RoopUser commented 2 months ago

That must be it! I just noticed it happening too since the release (when I started using the option). Will confirm...

C0untFloyd commented 2 months ago

Most likely that option. This inserts the previous frame if no face was detected. This prevents face flickering but introduces noticeable stuttering if there is no face for a longer time. I think the number of frames to re-use the old should be exposed to the user (currently 15 if I'm not mistaken).