Cap icon indicating copy to clipboard operation
Cap copied to clipboard

feat: add playback speed control and visualization for video segments

Open virajbhartiya opened this issue 7 months ago • 6 comments

Features Added

  • New "Clips" tab in the ConfigSidebar for controlling segment speeds
  • Speed presets (0.25x to 4x) and custom speed input
  • Visual indicators in the timeline when a clip has modified speed
  • Current speed indicator in the player during playback
  • Visual styling with blue stripes for clips with non-default speed

Motivation

I've been wanting this feature for so long that I decided to implement it myself! Cap has become an essential tool in my workflow, and the ability to speed up/slow down specific sections will make it even more powerful for creating polished videos.

I love this product and hope this contribution helps make it even better for everyone. Looking forward to your feedback!

virajbhartiya avatar May 04 '25 05:05 virajbhartiya

@richiemcilroy @Brendonovich Can you Please take a look at this?

virajbhartiya avatar May 04 '25 08:05 virajbhartiya

Does this PR actually implement clip retiming or is it just the editor UI?

Brendonovich avatar May 04 '25 16:05 Brendonovich

Yes it implements the functionality and the editor UI changes

virajbhartiya avatar May 04 '25 17:05 virajbhartiya

Did you forget to push some code? You've made no changes to the Rust code in charge of playback or exporting that would be necessary to implement this

Brendonovich avatar May 04 '25 19:05 Brendonovich

Oh yes I had forgotten to push the backend changes

virajbhartiya avatar May 04 '25 20:05 virajbhartiya

Pushed the backend changes as well @Brendonovich.

virajbhartiya avatar May 05 '25 03:05 virajbhartiya

Could this be merged?

EricWiener avatar Jun 11 '25 11:06 EricWiener

This wasn't working for me and I needed speed editing soon so I added https://github.com/CapSoftware/Cap/pull/632 but feel free to use this instead

EricWiener avatar Jun 11 '25 13:06 EricWiener