Avidemux Forum

Participate => User interface and Usability => Topic started by: Crass Spektakel on March 08, 2025, 05:20:45 PM

Title: Keybinding to skip 1, 5, 20, n keyframes
Post by: Crass Spektakel on March 08, 2025, 05:20:45 PM
There is this really useful keybinding to skip forward and backwards to keyframes which allows me to seek through videos pretty fast...

But not fast enough. I would love to have an option to not jump to the next but the fifth, twentieth or just n keyframe.

Why?

I often cut recordings from games which are HUGE. Usually 3-6 hours and 50-200GByte big and I have to cut out a lot. Finding the good bits is utterly tedious, even with my 5Hz 12 core system and an SSD peaking at 6GByte/s my system barely is fast enough for tripple replay speed. Skipping more keyframes would be a BLAST for productivity for me.

Many thanks for listening to me.
 
Title: Re: Keybinding to skip 1, 5, 20, n keyframes
Post by: szlldm on March 08, 2025, 07:17:56 PM
You can use the navigation slider, or the jog wheel.
Title: Re: Keybinding to skip 1, 5, 20, n keyframes
Post by: Crass Spektakel on April 16, 2025, 03:21:55 PM
Seriously, that one is even slower in seeking. MUCH slower.
Title: Re: Keybinding to skip 1, 5, 20, n keyframes
Post by: szlldm on April 16, 2025, 04:57:41 PM
you can use Python scripting:
forward 20 keyframe script:
#PY  <- Needed to identify #
adm=Avidemux()
g=Gui()

g.QtGuiSetBusyCursor(1)
adm.seekKeyFrame(20)
g.QtGuiSetBusyCursor(0)

backward 20 keyframe script:
#PY  <- Needed to identify #
adm=Avidemux()
g=Gui()

g.QtGuiSetBusyCursor(1)
adm.seekKeyFrame(-20)
g.QtGuiSetBusyCursor(0)

save these into the custom script folder
then you can keybind to ALT + something shortcuts in the Tools menu / Script Shortcuts