Commit Graph

1470 Commits (b0eac342c2480e87751d427cb2cd0e99db122505)

Author SHA1 Message Date
Mikael Finstad 250430a752
fix bug with Arrays
they were failing with "TypeError: CreateListFromArrayLike called on non-object"
1 year ago
Mikael Finstad 25041180bc
improve subtitle conversion 1 year ago
Michael Yaworski c867254eb4 Fix: Lint 1 year ago
Michael Yaworski e3c333a086 Feat: Maintain previous volume when toggling mute 1 year ago
Michael Yaworski aa0254ce1b Fix: Toggle mute when not 100 or 0 volume
This would previously only toggle mute if the
volume was set to 0 or 100.
1 year ago
Mikael Finstad 250328ac59
add arch 1 year ago
Mikael Finstad 250325cb03
show number in batch list #2357 1 year ago
Mikael Finstad 250325a2c2
fix typo 1 year ago
Mikael Finstad af9fe16bb4
fix broken rotation
broken in ffmpeg
https://github.com/mifi/lossless-cut/discussions/2373#discussioncomment-12613560
1 year ago
Mikael Finstad 751287b7cd
fix bug
closes #2365
1 year ago
Mikael Finstad 2503214f86
transfer labels when inverting segments #2362 1 year ago
Mikael Finstad 2503189f04
detect black/scene/silent from current preview track
closes #2354
1 year ago
Mikael Finstad 04739d1144
fix flawed logic 1 year ago
Mikael Finstad 93b9ae783c
run operations only on selected segments 1 year ago
Mikael Finstad 08233f6e80
reformat 1 year ago
Mikael Finstad 1e8a33a4b1
exclude markers
when playing segments in order
1 year ago
Mikael Finstad d84f31fd72
change SEG_NUM and SESG_NUM_INT variables
they will now correspond to the original index of the segment
as shown in the number on the segment list
new variables SELECTED_SEG_NUM and SELECTED_SEG_NUM_INT
can be used for previous behavior (where the numbering is based on the segment's number in the list of *selected* segments).

also minor change: most operations will no longer take place if no segments selected

closes #2335
1 year ago
Mikael Finstad e81d70a0ca
add test
and fix case
1 year ago
Mikael Finstad 9b28db2918
implement action selectSegmentsAtCursor #1284
https://github.com/mifi/lossless-cut/issues/254#issuecomment-1279310708
1 year ago
Mikael Finstad 885ea5282b
combine overlapping segments also combine adjecent #2340 1 year ago
Mikael Finstad 349a1a7a70
add crlf case 1 year ago
Mikael Finstad bce16eb7b9
fix time input placeholder
fixes #2346
1 year ago
Mikael Finstad 1ee797ee13
seek while detecting segments 1 year ago
Mikael Finstad 34bb73fe50
improve loader 1 year ago
Mikael Finstad bcf80b82ff
persist segment selected state #1329 #885 #371
in llc file
1 year ago
Mikael Finstad b53b0cf867
improve no file loaded keys 1 year ago
Mikael Finstad 48ed7219cf
make sure loading is on top of everything 1 year ago
Mikael Finstad 74ba6ed4ea
improve value tuner style 1 year ago
Mikael Finstad 0fa70ca94d
fix export button 1 year ago
Mikael Finstad 77cae51908
fix audio rate and divisible by 2 1 year ago
Mikael Finstad f7dd568d43
play multiple audio tracks simultaneously #256 #936 1 year ago
Mikael Finstad dc6dd25878
improve segment list buttons 1 year ago
Mikael Finstad bb9c950c46
allow selecting all segments 1 year ago
Mikael Finstad c555ce8797
put "between segments" behind markers 1 year ago
Mikael Finstad ccf3e5ab04
filter out initial segment from export
to prevent cutting when not needed (if duration changes)
1 year ago
Mikael Finstad 99e4d497bd
make backspace remove endpoint first
with default binding
1 year ago
Mikael Finstad 2d1860f8d5
refactor away evergreen button 1 year ago
Mikael Finstad 5fca8c085e
open waveform when tuning 1 year ago
Mikael Finstad 814866fd13
usability improvements 1 year ago
Mikael Finstad e7629cf50c
fix bug 1 year ago
Mikael Finstad cbab2f6c55
create initial full segment
when loading file (mimics previous behaviour)
also allow no segments on timeline
1 year ago
Mikael Finstad 63f9969eda
allow adjusting waveform height
also improve value tuner
improve capture format button
1 year ago
Mikael Finstad cfc0060c9b
improve waveform #260
- allow loading full waveform overvoew
- allow taller bottom waveform (10% of window height)
1 year ago
Mikael Finstad 37ae097a2c
improve waveform rendering #260
make it faster
also render around current time
1 year ago
Mikael Finstad b4a8f4c7fe
fix also windows 1 year ago
Mikael Finstad 2503128fb6
adjust test
due to changed behavior in nodejs minor version
https://github.com/nodejs/node/releases/tag/v20.18.3
https://github.com/nodejs/node/pull/54545
1 year ago
Mikael Finstad 2503115490
don't use the word "feather"
https://github.com/mifi/lossless-cut/issues/2128#issuecomment-2712299543
1 year ago
Mikael Finstad 2502204429
improve logging 1 year ago
Mikael Finstad 2502204d28
allow extracting markers as images too 1 year ago
Mikael Finstad 25021840ab
add notice when exporting without cutting
also refactor
1 year ago
Mikael Finstad 250218d93e
refactor 1 year ago
Mikael Finstad 250218c625
add shortcuts #2289
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>up</kbd> Jump & seek to previous segment
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>down</kbd> Jump & seek to next segment
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pageup</kbd> Jump & seek to first segment
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>pagedown</kbd> Jump & seek to last segment
1 year ago
Mikael Finstad 250218f85f
implement streaming detection #2325
also simplify
1 year ago
Mikael Finstad 2502180e53
refac 1 year ago
Mikael Finstad 2502186ef4
improve docs 1 year ago
Mikael Finstad 2502189299
update snap 1 year ago
Mikael Finstad 2502188367
improvements
- implement "fill segment gaps" and "invert segments" for markers too
- new function: select all markers
- import PBF as markers - closes #993
1 year ago
Mikael Finstad 250218b8d9
rename 1 year ago
Mikael Finstad 250218e2d0
Split timeline by byte size
closes #1219
1 year ago
Mikael Finstad 250218bf5f
Feature: Markers
Segments that don't have any end time are now considered markers and rendered differently. Markers are not exported.
All segments will now have a start time defined - llc project file version bumped to v2 (to migrate missing `start` times)

Also: Removed old csv project auto import
1 year ago
Mikael Finstad 250217ffe1
remove unused 1 year ago
Mikael Finstad 2502179303
fix bug 1 year ago
Mikael Finstad 250217fee6
fix broken loop selected segments 1 year ago
Mikael Finstad 25021774bb
refactor away apparentCutSegments
also:
- don't show invert selected segments when inverse cut mode
- fix i18n string
- simplify types
1 year ago
Mikael Finstad 250217344f
fix any types
this also fixes a bug where concat check used the incorrect stream meta "fps" (instead of avg_frame_rate)
1 year ago
Mikael Finstad 25021546f4
start at 1 instead of 0 #2296 1 year ago
Mikael Finstad 572f20981c
add template variables
FILE_EXPORT_COUNT
EXPORT_COUNT

closes #2296
1 year ago
Mikael Finstad 332259d634
refactor 2 years ago
Mikael Finstad ed05c76f23
improve docs #2315 2 years ago
Mikael Finstad cfe7620d2e
add donate button
closes #2318
2 years ago
Mikael Finstad 06cae06f4b
allow editing segments by js expression
closes #2128 #2305
2 years ago
Mikael Finstad edca7521a1
allow creating initial segment 2 years ago
Mikael Finstad 2501215fd3
improve log 2 years ago
Mikael Finstad 59f117af2f
fixes 2 years ago
Mikael Finstad fe7682590b
add tests for edl 2 years ago
Mikael Finstad a7f6b34975
implement CMX3600 EDL import #1340 2 years ago
Mikael Finstad 07723211b3
fix out of disk space not working
exit code is no longer 1
2 years ago
Mikael Finstad ac7af4894f
make playback rate indicator pop
when changing
customer thought it was hard to see currently
2 years ago
Mikael Finstad cb4155799f
show loading indicator for mini waveform
https://github.com/mifi/lossless-cut/issues/260#issuecomment-2546373534
and fix dark mode for mini waveform
2 years ago
Mikael Finstad 241211843b
fix lint 2 years ago
Mikael Finstad 241210ca3b
fix types 2 years ago
Mikael Finstad 241210d103
remember Black/scene/silence detect dialog parameters
#371 #2257
2 years ago
Mikael Finstad 241210db47
allow adjusting cut too also #2256 2 years ago
Mikael Finstad 241210fd98
fix aborting 2 years ago
Mikael Finstad 241210ec39
fix waveform color
use css filter
closes #2262
2 years ago
Mikael Finstad ca8eccf899
upgrade execa and node types 2 years ago
Mikael Finstad 99d1c373ab
upgrade electron #543 2 years ago
Mikael Finstad 2a6f6c5341
log also detect* 2 years ago
Mikael Finstad 0825f5865a
improve log 2 years ago
Mikael Finstad ab372328cd
improve last commands log 2 years ago
Mikael Finstad 9953bd26fc
log/refactor html5ify 2 years ago
Mikael Finstad b4121056a0
refactor cutEncodeSmartPart 2 years ago
Mikael Finstad 714ba033a7
fix bug 2 years ago
Mikael Finstad d7da742c8a
log extract streams 2 years ago
Mikael Finstad 8b7375b44f
improve ffmpeg logging 2 years ago
Mikael Finstad 1ea7adc3ca
log more ffmpeg commands to cli 2 years ago
Mikael Finstad 19a39fd1be
allow disabling remember window position
closes #2240
2 years ago
Mikael Finstad 0114faf2d1
don't create detected segments twice
in mode 2
fixes #2236
2 years ago
Mikael Finstad c9a5aa8893
fix title 2 years ago
Mikael Finstad f82a10656e
add toggle segments button 2 years ago
Mikael Finstad 20da7bbce9
fix types 2 years ago
Mikael Finstad 0ab7db0c38
improve error msg #2232 2 years ago
Mikael Finstad 94a43986cb
always render all thumbs
but abort processes when params change

#2229
2 years ago
Mikael Finstad 0e5e7dffea
warn about adjusting fps and cutting
closes #2190
2 years ago
Mikael Finstad 9120b3b30a
fix output timestamp bug
fixes #2210
2 years ago
Mikael Finstad dedf301810
fix crash
closes #2197
2 years ago
Mikael Finstad 6ddb3970f7
warn if file name is too long
for concat/merge
closes #2200
2 years ago
Mikael Finstad 93fb2d2620
always show template warnings
#2211
2 years ago
Mikael Finstad 82dd1e4208
fix bug #2176 2 years ago
Mikael Finstad cb55bca74c
fix type 2 years ago
Mikael Finstad b4ee589a20
fix lint 2 years ago
Mikael Finstad ca5a678793
warn when falling back to default template
#2188
2 years ago
Mikael Finstad 898eefcadc
prevent alt default action when alt is bound in any keybinding
fixes #2180
2 years ago
Mikael Finstad f444a029f8
add mousetrap type 2 years ago
Mikael Finstad 2f361b4dd6
fix timeline mouse click 2 years ago
Mikael Finstad 8024884363
allow customising preservation
of map_metadata and chapters

fixes #2176
see #1027
2 years ago
Mikael Finstad 789f857e26
convert all non webvtt to webvtt in webm
closes #2179
2 years ago
Mikael Finstad 25f53e7f7e
improve setZoom 2 years ago
Mikael Finstad 3bba13ad42
fix withBlur types 2 years ago
Mikael Finstad 2378ca35b0
fix 2 years ago
Mikael Finstad 4b65d27728
fix seek jerkiness 2 years ago
Mikael Finstad 85a900e15b
fix timeline zoom todo
and fix types
2 years ago
Mikael Finstad 3f502a8944
make timeline time transparent
when hovering it with mouse
closes #2177
also possibly #2116
2 years ago
Mikael Finstad be5dadcc84
allow selecting track when only one
this allows the user to enable ffmpeg assisted playback when audio track is not supported
closes #2144
2 years ago
Mikael Finstad cc202b4845
allow drag-drop working dir
closes #2147
2 years ago
Mikael Finstad b855e9e7d1
implent customisable wheel modifiers #1884
- <kbd>alt</kbd> (customisable) + wheel: seek 1 frame
- <kbd>shift</kbd> (customisable) + wheel: seek keyframe
2 years ago
Mikael Finstad 2452de6de5
fix types 2 years ago
Mikael Finstad f4cfe72b4b
allow auto reassign duplicate keybinding
closes #2154
2 years ago
Mikael Finstad b6645fa445
try to escape last ffmpeg command on windows
also escape quote on linux

closes #2151
2 years ago
Mikael Finstad 55c728761e
remove trash icon in chapters mode
#2157
2 years ago
Mikael Finstad 7230dc549b
improve error handling 2 years ago
Mikael Finstad 9c733742a2
type etc 2 years ago
Mikael Finstad 7d306f7736
refactor 2 years ago
Mikael Finstad 9cdd5edbfb
improve error handling
and types
2 years ago
Mikael Finstad e84b9a8266
append html5ify to ffmpeg log too 2 years ago
Mikael Finstad 0f8ba50d22
refactor 2 years ago
Mikael Finstad a5000a8977
allow revealing config file path 2 years ago
Mikael Finstad fd27f2178e
add types 2 years ago
Mikael Finstad f6c1266588
fix progress bug
closes #2161
2 years ago
Mikael Finstad 4c00987db9
add tests 2 years ago
Mikael Finstad 93fe368487
remove unnecessary code 2 years ago
Mikael Finstad fa7b36f69f
reformat 2 years ago
Mikael Finstad 6c9b1ba708
check if output file is writable before exporting
if it exists
so we can inform user
2 years ago
Mikael Finstad 69f600a0c0
make it more explicit when changing mp4 to mov
and show a notification #1075
2 years ago
Mikael Finstad 590e6a87cd
refactor 2 years ago
Mikael Finstad 67cecb3bb1
reduce flickering
https://github.com/mifi/lossless-cut/issues/2083#issuecomment-2325291719
2 years ago
Mikael Finstad a2d7961903
add support for dji mini gps #2072 2 years ago
Mikael Finstad a4190662b9
improve about dialog
closes #2138
2 years ago
Mylloon b86c1b15e8
fix: notification title on windows (#2139)
* fix windows notification title

* Update src/main/index.ts

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2 years ago
Mikael Finstad 9eafb5683b
fix code 2 years ago
Mikael Finstad 32238d9d02
run simple smoke test 2 years ago
Mikael Finstad 56cd37dde8
enable gopro tmcd track by default
closes #2134
2 years ago
Mikael Finstad a1cf64ac13
add smart cut warning #2020 2 years ago
Mikael Finstad 5d5b4decd4
upgrade file-type 2 years ago
Mikael Finstad 319124196e
work around mp2/mp3 bug in ffmpeg
closes #2129
2 years ago
Mikael Finstad 91fbc0fa95
log ffprobe detected formats 2 years ago
Mikael Finstad 8eef3cbc16
improve types 2 years ago
Mikael Finstad e7d2caf893
re-encode flac when cutting
and warn about it
fixes #1809
2 years ago
Mikael Finstad 1a674fa735
improve types 2 years ago
Mikael Finstad 085d622cac
log extract track command 2 years ago
Mikael Finstad 809bcc958e
improve subtitle rendering 2 years ago
Mikael Finstad 7d52c864d6
make segments list scrollable 2 years ago
Mikael Finstad 624efa7dbc
use template editor for merge too
#2108
and fix some types
2 years ago
Mikael Finstad 9f45e290e6
allow search key name too 2 years ago
Mikael Finstad 19224bff2c
improve batch file color
selected file
2 years ago
Mikael Finstad feaeaec12d
move lodash to devDeps 2 years ago
Mikael Finstad fbe599d53c
fix typo
thx coderabbit
2 years ago
Mikael Finstad 232344fc71
fix typo 2 years ago
Mikael Finstad 71480fabdd
fix typo onSartPlaying 2 years ago
Mikael Finstad 2dac700f40
pull code out from App
also:
- fix types
- fix broken subtitlesByStreamIdRef
- type cleanup choices
- remove unneeded userSeekAbs
- log when revoking urls
2 years ago
Mikael Finstad 1c320f423d
fix open URL on MAS 2 years ago
Mikael Finstad 36fb4dbc50
implement black/silent detect modes
https://github.com/mifi/lossless-cut/discussions/2077#discussioncomment-10246862
also simplify detectIntervals and matchLineTokens
2 years ago
Mikael Finstad c2e504ccc6
err also if all segments match expr
#2059
2 years ago
Mikael Finstad ed3fb95c51
improve text #2108
and make it more clear that you can edit file name
2 years ago
Mikael Finstad c0ee8d7ee8
don't use toast for fatal error 2 years ago
Mikael Finstad 617731b86c
improve startup check
also run it even if we have a customFfPath
closes #2070
2 years ago
Mikael Finstad 016f4ce1b7
improve playback rate
instead always show it in the bottom bar

closes #2109
2 years ago
Mikael Finstad 343ab5a644
improve meta reset button #2113 2 years ago
Mikael Finstad e3da5e841a
auto html5ify ffv1
fixes #2110
2 years ago
Mikael Finstad c3e110ac27
add type 2 years ago
Mikael Finstad 4ccf3180ca
improve seek speed
by waiting for `seeked` event
2 years ago
Mikael Finstad 818a323e7e
implement URL download
closes #1486
2 years ago
Mikael Finstad c495012db2
make toast wider
closes #1504
2 years ago
Mikael Finstad 3daf257688
improve description
closes #1433
2 years ago
Mikael Finstad 7463049ee5
improve settings 2 years ago
Mikael Finstad 1d03b38eb2
use logger 2 years ago
Mikael Finstad f2f98d40a7
implement OS notifications
closes #1510

also respect hideAllNotifications for more notifications
2 years ago
Mikael Finstad 1abf243735
implement task bar progress
closes #1511
2 years ago
Mikael Finstad c5af789121
upgrade i18next 2 years ago
Mikael Finstad 5ec0ae94d7
upgarde electron to 31 2 years ago
Mikael Finstad cc4eddd81c
mute negative progress errors 2 years ago
Mikael Finstad 029ba35c01
show LosslessCut last in app title
(show most interesting stuff first)
2 years ago
Mikael Finstad 06266e4a4d
move reference to tsconfig 2 years ago
Mikael Finstad 6e60133ef7
try to fix broken expressions
(in production) - fixes #2059
also type
and log worker error early
2 years ago
Mikael Finstad ad5032e85d
improve placehodler 2 years ago
Mikael Finstad 6a98e3315b
allow relative timeline seek #2056 2 years ago
Mikael Finstad 8a6dd62d6d
fix bug 2 years ago
Mikael Finstad 94df449d12
fix types 2 years ago
Mikael Finstad cfd51d6ce5
support rendering gps map #2072
experimental and only supports DJI SRT
2 years ago
Mikael Finstad 08e29b2135
refactor 2 years ago