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

Allow editing quality/speed in the editor #903

Open
karaggeorge opened this issue Jul 22, 2020 · 11 comments
Open

Allow editing quality/speed in the editor #903

karaggeorge opened this issue Jul 22, 2020 · 11 comments

Comments

@karaggeorge
Copy link
Member

Right now, our conversion processes use good defaults for quality. For most conversions there's two parameters:

  • crf which has lower and upper limits depending on the encoder, that sets the average bitrate, therefore how lossless the quality is (0 is lossless, but documentation says that values up to 17-18 appear pretty much lossless to the human eye)

  • preset which can have values like fast, slow etc, showing how much time the encoder will spend. Making it faster, makes the conversion faster sacrificing quality and size, making it slower, means that it'll take longer but it'll get smaller size and better quality.

I'm thinking we can add a small button with an icon, that pops up a popup with 2 sliders (like fps). One for each of those, labeled Quality and Speed or something like that, defaulting to our current default values.

For gif, since we're using gifsicle I think we could use lossy instead.

Not sure if that's something people want/need so we can get some feedback. Maybe our good defaults are not worth adding more options. I've just seen a bunch of software allow at least one export Quality slider, allowing adjustments to quality/size.

@sindresorhus
Copy link
Member

A quality slider might make sense, but I think a speed thing is too much. Also important to note that nobody has actually requested a quality setting, so not sure how much demand there might be for it, especially now that we have lossy compression for GIF.

@karaggeorge
Copy link
Member Author

Yeah I agree. No one has asked for it, other than noticing gif sizes being too big, but with gifsicle that might be covered. I've just been messing with ffmpeg options a lot lately and saw it as a possible feature if we get requests for it at some point

@erawhctim
Copy link

Not sure if this is related/relevant here, but another idea I had when trying to slim down high-res videos: What about a resolution % button with some reasonable defaults (25/50/75/100)? When exporting captures of my android device, it'd be nice to be able to set the resolution to a smaller percentage (but keep the aspect ratio). I feel like I'd use a 50% or 75% option all the time.

@karaggeorge
Copy link
Member Author

Do you mean something like #895 ? If so, that is currently in the works 😄

@erawhctim
Copy link

Yep! That's exactly what I was looking for :) thanks for the link, looking forward to it

@superdump
Copy link

Just noting that personally I would appreciate having the quality slider too. I know most people will prefer fast over better quality, but I would prefer the opposite. I'm generally using kap to screen capture stuff that I want to share with others. I'll capture once and it will be viewed many times. Quality is more important to me.

@alexmtrmd
Copy link

I definitely would like to see speed editor. Sometimes the recording made is too slow and i would like to speed it up.

@skllcrn
Copy link
Member

skllcrn commented Nov 19, 2021

Have you tried the kap-playback-speed plugin @alexmtrmd?

@alexmtrmd
Copy link

Have you tried the kap-playback-speed plugin @alexmtrmd?

No, but thank you. Let me check it out

@devgonz
Copy link

devgonz commented Jan 30, 2023

I immediately noticed the poor quality in my screen capture. I needed this slider feature. I think the people who would request it are just abandoning for a different tool.

@timothyis
Copy link
Member

I immediately noticed the poor quality in my screen capture. I needed this slider feature. I think the people who would request it are just abandoning for a different tool.

Please feel free to contribute @devgonz 👍🏼 Much appreciated

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

No branches or pull requests

8 participants