Kooha icon indicating copy to clipboard operation
Kooha copied to clipboard

Progress bar when processing

Open thomas-shirley opened this issue 2 years ago • 5 comments

Superb app!

When you've recorded a particularly long capture, the 'processing' screen can run for quite some time. A progress bar indicating how much more 'processing' is remaining, would be great.

thomas-shirley avatar Aug 31 '21 16:08 thomas-shirley

thanks! Latest versions apps doesn't require processing anymore (except when cpu is trying to catch up with the encoder), so i think this is fixed

SeaDve avatar Aug 31 '21 23:08 SeaDve

Nice. Which version is that?

On version 1.2.1 I think the loading spinner ran for about 15-20 mins following a 2hr capture - Ryzen 5, Vega Graphics. Not hugely powerful, so some cpu catch up is expected. But I started getting a little twitchy after 10 mins.

thomas-shirley avatar Sep 02 '21 12:09 thomas-shirley

In the newest version, with vega graphics, even with that long video, i think it will just be less than a second of processing, so in theory it will end instantly

When you use gif format though it will probably need to catch up for a few seconds or minutes, especially when you recorded the entire screen, but in my experience, if you only record a portion of your screen with gif format, the stop recording is also almost instant

The version btw is the latetst on git

I experimented a bit a few days ago on computing this "catching up" time, but i dont think that's possible.

SeaDve avatar Sep 02 '21 12:09 SeaDve

I built and ran a little (but not very accurate) test with 1.2.1-838eb55

On a 10 minute capture, the flushing process took approx. 6 minutes for a webm. Does that align with your expectations?

thomas-shirley avatar Sep 02 '21 15:09 thomas-shirley

absolutely not, that shouldn't happen, something is probably wrong

If possible, you can show the log with RUST_LOG=kooha=debug, or if you ran with flatpak, the envvar is already set there

Additionally, you can set -Dprofile to default instead of development, it is currently building as low performance mode (for faster building times) but I don't think thats the reason why it is reaching 6 minutes.

SeaDve avatar Sep 02 '21 23:09 SeaDve