mifi / lossless-cut

The swiss army knife of lossless video/audio editing
https://losslesscut.app/
GNU General Public License v2.0
25.99k stars 1.25k forks source link

๐ŸŽน Keyboard shortcuts and workflow #254

Open mifi opened 4 years ago

mifi commented 4 years ago

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).

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 commented 4 years ago

.

mifi commented 4 years ago
mifi commented 4 years ago

๐Ÿ‘€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

implementation in losslesscut:

mifi commented 4 years ago
mifi commented 4 years ago
mifi commented 4 years ago

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

alsab200 commented 4 years ago

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 commented 4 years ago

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: 1) 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.. 2) 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.. 3) When exporting segments-files.. include label name if any in the file name .. 4) 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

mifi commented 4 years ago

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.

Fujosej commented 4 years ago

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.

mifi commented 4 years ago

-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 commented 4 years ago

-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

davidp57 commented 4 years ago

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 !

mifi commented 4 years ago

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

mifi commented 4 years ago
fedorvinogradov commented 3 years ago
tarve commented 3 years ago

Please add shortcut key for rotation

mifi commented 3 years ago

I have added R for changing rotation

mifi commented 3 years ago
mifi commented 3 years ago
tarve commented 3 years ago

I have added R for changing rotation

Thanks a lot.

mifi commented 3 years ago
markusd1984 commented 3 years ago

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 commented 3 years ago

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

mifi commented 3 years ago

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

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 commented 3 years ago
markusd1984 commented 3 years ago

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

1024mb commented 3 years ago

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.

scrool commented 3 years ago
mattack1 commented 3 years ago

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..

mifi commented 3 years ago

Please add a keyboard shortcut for "Label a segment".

already implemented: Return

mifi commented 3 years ago

From https://github.com/mifi/lossless-cut/issues/723#issuecomment-821840162 :

scrool commented 3 years ago

Please add a keyboard shortcut for "Label a segment".

already implemented: Return

Nice! I'm having trouble to find it in keyboard shortcuts section of integrated help. I'm using version 3.29.0 from FlatHub.

taozi1996 commented 2 years ago
mifi commented 2 years ago

From #570:

mifi commented 2 years ago

From #553: Allow modifier keys when using scroll on timeline for rougher jumps/finer control

mifi commented 2 years ago

from email:

I came with idea for feature that would speedup cutting dramaticaly. When we set, start or end cut, we do it at current video position. But usually when going through video, we go very fast and miss the correct position. So we have to go back few seconds every time. If we could set start/end cut 3 or 4 seconds back from current position, we would not have to jump back.

mifi commented 2 years ago

have now implemented dynamic keyboard mapping as well as many new assignable actions. WIll be out in the next version:

Screenshot 2022-02-20 at 18 37 40

Assignable shortcuts so far:

Show/hide help screen
Play/pause
Play/pause (no reset speed)
Speed up playback
Slow down playback
Speed up playback more
Slow down playback more
Step backward 1 frame
Step forward 1 frame
Seek backward 1 sec
Seek forward 1 sec
Seek backward 1% of timeline at current zoom
Seek forward 1% of timeline at current zoom
Jump to cut start
Jump to cut end
Jump to start of video
Jump to end of video
Seek to timecode
Add cut segment
Remove current segment
Mark in / cut start point for current segment
Mark out / cut end point for current segment
Label current segment
Split segment at cursor
Select previous segment
Select next segment
Reorder segments by start time
Invert all segments on timeline
Create fixed duration segments
Create num segments
Shuffle segments order
Clear all segments
Show sidebar
Edit tracks / metadata tags
Extract all tracks
Zoom in timeline
Zoom out timeline
Toggle zoom between 1x and a calculated comfortable zoom level
Export segment(s)
Capture snapshot
Delete source file
Convert current file to supported format
Batch convert files to supported format
Previous file
Next file
Close batch
Merge/concatenate files
Cut mode
Capture frame format
Keep or discard audio tracks
Change rotation
Set custom start offset/timecode
Undo
Redo
Close current screen
oliko-tk commented 2 years ago

an option to be able to export in JPG all the frames of a range or segment #1033

tjdennis commented 2 years ago

Your release page lists that we can assign keys for next and previous frame, but I don't see those in the settings dialog. Seek previous keyframe Seek next keyframe

Using the ALT key has problems when Windows takes it to focus the app's menu instead and then none of the other keys work until you press ALT again. If I could move the keyframe seek to SHIFT+cursor it would be a lot nicer. I never need to jump to cut start or end.

Thanks!

mifi commented 2 years ago

Hi @tjdennis - unfortunately i accidentally left those keys out. I will be fixed in the next release https://github.com/mifi/lossless-cut/commit/dfffd04b94c373373cf367651b7f484da12c1fd4 You could still change them in your config.json file if you know how to edit json files. Reference: https://github.com/mifi/lossless-cut/blob/4733ba6a4aa4ad806ea5c7a68d9b068b55f0efd9/public/configStore.js#L33

tjdennis commented 2 years ago

Thanks! I found the file and made the changes. Works great!

cristianvogel commented 2 years ago

big up to LLC ! nothing as smart as this editor anywhere around imo...

I would suggest a binding for Fix Duration .. because that is one of things I have to do a lot in LLC , due to other programs not closing the renders properly.

mifi commented 2 years ago

I would suggest a binding for Fix Duration .. because that is one of things I have to do a lot in LLC , due to other programs not closing the renders properly.

Thanks for the suggestion. I added that hotkey, will be avail in the next version

Mojavve commented 2 years ago

Fantastic keybind update! Made my autohotkey script completely obsolete. Only thing missing for me are binds for changing the playback volume. I tend to change my playback volume quite a lot and I also tend to listen to other things while editing so I like changing it in LLC rather than changing my overall volume.

mifi commented 2 years ago

@Mojavve good idea

mifi commented 2 years ago

Suggested from #1045:

On-Memory commented 2 years ago

Suggested from #1045: minimize window (currently CTRL/CMD+M) - this must be handled differently because it's a menu shortcut now...

I would suggest to add a shortcut key of hidden software, thanks a lot!

jtagcat commented 2 years ago
  • [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.

Could this be turned off in the settings? It's really annoying to be near (ยฑ5-10m) the desired point, and have the position jump in 30m-1h intervals or even to beginning/end. (Using alt-โ†, alt-โ†’ to jump between keyframes.)

mifi commented 2 years ago

@jtagcat I'm not sure I understand, why would it jump in 30m intervals. Can you let go of the keys for a second so the exponential factor can reset to 1?