lossless-cut icon indicating copy to clipboard operation
lossless-cut copied to clipboard

🎹 Keyboard shortcuts and workflow

Open mifi opened this issue 4 years ago • 68 comments

I want this issue to be a place where we can vote and discuss which functions shall be bound to keyboard shortcuts. You can leave an upvote on the shortcuts/functions you want the most, or add a comment with new suggestion(s).

  • [x] The main feature I'm working on implementing is user-customizable keyboard shortcuts

Ideally this would have an entry in "Settings" but a (text, json, ...) config file would be better than nothing

See #654 #726

‼️ Please leave a 👍 on the comments that you would like to see implemented below

mifi avatar Feb 21 '20 05:02 mifi

.

mifi avatar Feb 21 '20 05:02 mifi

  • [x] Being able to change the seek time from 1 sec or 1/60 sec by using an exponential acceleration when repeatedly pressing a key.

mifi avatar Feb 21 '20 05:02 mifi

👀Being able to change the seek time from 1 sec or 1/60 sec by using arrow-keys in combination with shift/ctrl/alt for different speeds (speed parameter in seconds adjustable for each combination). From VLC:

Very short backwards jump	key-jump-extrashort	Shift-Left
Very short forward jump	key-jump+extrashort	Shift-Right
Short backwards jump	key-jump-short	Alt-Left
Short forward jump	key-jump+short	Alt-Right
Medium backwards jump	key-jump-medium	Ctrl-Left
Medium forward jump	key-jump+medium	Ctrl-Right
Long backwards jump	key-jump-long	Alt-Ctrl-Left
Long forward jump	key-jump+long	Alt-Ctrl-Right

Update: now left/right will jump 1 sec while ctrl/cmd+left/right will jump 1% of the timeline at the current Zoom. alt + left/right will jump to next/prev keyframe

mifi avatar Feb 21 '20 05:02 mifi

  • [x] Seek to next/prev keyframe

mifi avatar Feb 21 '20 05:02 mifi

  • [x] Jump to next/prev cut segment Update: now implemented using up/down keys

mifi avatar Feb 21 '20 05:02 mifi

  • [x] Zoom in/out timeline

Update: This is now implemented with CTRL+mouse wheel Also need shortcut key combo

mifi avatar Feb 21 '20 05:02 mifi

Keyboard Shortcuts: I dont know if its already included but frame by frame would be very helpful.. Best implementation is in Potplayer, my experience, f for Forward d for backwards.. To me most important thing is if you press f key continously playback would be like slowmotion and flawless.. More importantly frame-BACK dont work in most of the most known video players.. You can try, with mp4 files especially, it works "flawlessly" If you can achieve it here would be great.. Also thank you for implementing our suggestion for saving the project..

alsab200 avatar Feb 23 '20 13:02 alsab200

Excuse if tis is not the right place, but since I started here..

  1. FYI Appending a second file doesnt work as with ver. 3.8.0.. It doesnt show up.. Enhancement:
  2. Segments list panel at the right.. It takes too much space; it would be best to be able to turn it ON or OFF just like the left panel for tracks..
  3. also an option to strip everything (may be when implementing Full Screen View) and leave only timelime line showing segments to make the video display as large as possible..
  4. When exporting segments-files.. include label name if any in the file name ..
  5. If you use the space key to pause or to start the playback is not smooth.. Seems like there is some jump.. Thank you very much for a great program again and wish the best

alsab200 avatar Feb 23 '20 13:02 alsab200

Keyboard Shortcuts: I dont know if its already included but frame by frame would be very helpful..

Frame stepping is implemented. use , and .

  1. FYI Appending a second file doesnt work as with ver. 3.8.0.. It doesnt show up..

The audio/video tracks don't show up in the track selector? What file are you trying to add? Btw appending files in the time domain is not supported, only including tracks.

  • Segments list panel at the right.. It takes too much space; it would be best to be able to turn it ON or OFF just like the left panel for tracks..

Have added a toggle button.

  • When exporting segments-files.. include label name if any in the file name ..

This has now been implemented

5. If you use the space key to pause or to start the playback is not smooth.. Seems like there is some jump..

I have now improved performance in the newest prerelease version.

mifi avatar Feb 26 '20 03:02 mifi

Hi there , love LC. I tried latest 3.11.0 release and here are some thoughts.

-It would be nice if i can change the amount i wanna scrub/seek with my mouse scroll , right now it scrubs/seeks for 6+ seconds and thats it.

-There is also a bug i think with mouse scroll , when i zoom in using ctrl + mouse scroll , regular scrub/seek with mouse scroll no longer works after that, only if i set it to zoom 1x.

-About paning the timeline , i think an automatic pan would be really nice if its possible , right now when i am zoomed in , it gets stuck in one place and i dont have mouse scroll left / right binds. The only solution is to change zoom level and it snaps back to playhead.

image -It's nice , but in my case i need a setting to change my arrow keys to 1/5/10 sec seek.

-Jump to cut start / Jump to cut end, need a hotkeys , or a custom one , every user should be able to set it to whatever they want.

-Another insteresting addition would be a bind to toggle back to zoom 1x and whatever zoom you were in.

I think ultimately , there has to be a rebind feature for every user to change their hotkeys to whatever they are comfortable with.

Fujosej avatar Feb 28 '20 11:02 Fujosej

-It would be nice if i can change the amount i wanna scrub/seek with my mouse scroll , right now it scrubs/seeks for 6+ seconds and thats it.

I will have to look into this. On my mac when using trackpad, it seeks very smoothly. I think this is an issue on non Macs.

-There is also a bug i think with mouse scroll , when i zoom in using ctrl + mouse scroll , regular scrub/seek with mouse scroll no longer works after that, only if i set it to zoom 1x.

I think this is also an issue on windows/linux when there is no left/right mouse wheel or trackpad. because on mac I can scroll horizontally and it lets me scroll the timeline when zoomed in. I have to find a solution for this, but for now it seems to work if you SHIFT+wheel, because then Windows will convert the vertical mouse wheel events to horizontal events

-Jump to cut start / Jump to cut end, need a hotkeys , or a custom one , every user should be able to set it to whatever they want.

I have changed back to 1 sec seek and with 1% seek at current zoom when holding CTRL

-Another insteresting addition would be a bind to toggle back to zoom 1x and whatever zoom you were in.

Have added a similar feature where Z toggle zoom between 1 and a "comfortable zoom level" which is defined as a 100 seconds window

mifi avatar Mar 04 '20 17:03 mifi

-About paning the timeline , i think an automatic pan would be really nice if its possible , right now when i am zoomed in , it gets stuck in one place and i dont have mouse scroll left / right binds. The only solution is to change zoom level and it snaps back to playhead.

this one is now implemented

mifi avatar Mar 06 '20 04:03 mifi

First, thanks a lot for this excellent tool that is very efficient !

I don't know if it's been said elsewhere, but I found disturbing that after having pressed L a few times to increase playback speed (btw it works perfectly, and does not stutter at all, not like in Adobe Premiere :+1: ), when I press K two times it does not go back to playing at 100% speed. Not sure that I am clear, so let me try another way : Expected : L L L L L L (500% speed) K (pause) K (100% speed) Actual : Expected : L L L L L L (500% speed) K (pause) K (500% speed)

Again, thanks !

davidp57 avatar May 23 '20 11:05 davidp57

@davidp57 is this how it usually works in other software? (remember speed after pressing k)

mifi avatar Jul 09 '20 12:07 mifi

  • [x] Requested key shortcut: Change rotation (See #334)

mifi avatar Jul 09 '20 12:07 mifi

  • [x] It would be great to have a shortcut not only for selecting cuts (up/down arrows) but also for jumping to these cuts' edges (starting/ending) with the frame seeker (don't know how to call that thing). Maybe with CTRL+up / CTRL+down ?

fedorvinogradov avatar Oct 15 '20 20:10 fedorvinogradov

Please add shortcut key for rotation

tarve avatar Oct 27 '20 09:10 tarve

I have added R for changing rotation

mifi avatar Nov 26 '20 14:11 mifi

  • [x] Requested: Order segments by start time shortcut

mifi avatar Nov 26 '20 14:11 mifi

  • [x] Requested: Jumping to cut start/end

mifi avatar Nov 26 '20 14:11 mifi

I have added R for changing rotation

Thanks a lot.

tarve avatar Nov 26 '20 15:11 tarve

  • [x] Separate Pause and Play shortcuts. The standard "toggle" play/pause shortcut is always useful of course, so I'm not talking about replacing that - just adding new shortcuts to specifically start or stop. #570

mifi avatar Jan 18 '21 22:01 mifi

Long backwards jump key-jump-long Alt-Ctrl-Left Long forward jump key-jump+long Alt-Ctrl-Right

Update: now left/right will jump 1 sec while ctrl/cmd+left/right will jump 1% of the timeline at the current Zoom. alt + left/right will jump to next/prev keyframe

CTRL+ALT to jump frames Because using arrow keys feels more native to use for frame by frame moves when we have all the other modifier keys combination for jump moves with arrows and since CTRL+ALT+L/R seems to be not used anymore😄an ideal combination to CTRL+L/R and ALT+L/R, thanks.

markusd1984 avatar Jan 27 '21 14:01 markusd1984

SHIFT+L/R cycle through ALL segments cuts Because currently it only cycles through the current selected segment, and thus not possible to move unto the next or previous segments.

Update: left/right arrows combo

markusd1984 avatar Jan 27 '21 14:01 markusd1984

Some editing software (not as much as with the J-K-L navigation, see #652) use

  • [ ] CTRL + J Key: Delete everything from before current position, this is currently SHORTCUT I
  • [ ] CTRL + K Key: Cut (Split) at current position, this is currently SHORTCUT B
  • [ ] CTRL + L Key: Delete everything from after current position, this is currently SHORTCUT O The combination of both navigation and edit using the same keys (only differing by a qualifier key) result in faster navigation/editing - once your brain has connected the wires ;-)

Note: Please do not remove SHORTCUT I and O, these are also pretty common and you should not break the UX of I/O'ers.

From https://github.com/mifi/lossless-cut/issues/653#issue-807987097

mifi avatar Feb 16 '21 22:02 mifi

  • [x] Jump to start of timeline, Ctrl + Home is a standard Windows command to do this in many programs.

mifi avatar Apr 02 '21 08:04 mifi

Just realised i meant L/R as in Left/Right arrows in combination with Shift :)

markusd1984 avatar Apr 02 '21 22:04 markusd1984

I think no shortcut should be using the ALT key or make it so the app doesn't use the ALT key to focus to the menu bar. There have been a lot of times where I'm browsing the video through the keyboard and I'm jumping between frames using ALT + -> or ALT + <- and sometimes I just mistake or simply don't want to jump to other frame anymore and only press the ALT key and instead of being able to keep browsing with the keyboard the app focuses to the menus and I have to click on the video or somewhere else to keep using the keyboard to control the app.

1024mb avatar May 15 '21 18:05 1024mb

  • [x] Please add a keyboard shortcut for "Label a segment".

scrool avatar Aug 10 '21 17:08 scrool

I haven't used the speedup feature (since most of the files I edit are MPEG2 that it doesn't support natively), but I definitely would WANT it to remember after pausing..

mattack1 avatar Aug 10 '21 18:08 mattack1