1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 11:43:17 +01:00
Commit Graph

1219 Commits

Author SHA1 Message Date
Mikael Finstad
9dc2c641d1
open file when clicking on dropzone 2023-04-04 21:22:42 +09:00
Mikael Finstad
0d3fe99b77
add "title" column
to tracks table

closes #1530
2023-04-04 21:09:51 +09:00
Mikael Finstad
709cbf69a0
make export project only export selected segments 2023-04-04 16:46:29 +09:00
Mikael Finstad
44813b4f39
Allow copying selected segments to clipboard
by pressing ctrl/cmd+c

closes #1535
2023-04-04 16:45:55 +09:00
Mikael Finstad
0afa76a165
add preference for color intensity
https://github.com/mifi/lossless-cut/discussions/1507
2023-04-03 09:27:30 +09:00
Mikael Finstad
10f8092d15
improve colors
https://github.com/mifi/lossless-cut/discussions/1507
2023-04-03 00:03:33 +09:00
Mikael Finstad
8f4a309038
allow slashes in output files
allows for creating custom directory structures based on labels etc
closes #1532
2023-04-02 22:31:35 +09:00
Mikael Finstad
56e5fc2139
move play segments button 2023-03-30 00:02:43 +09:00
Mikael Finstad
b80cf667a9
add fix for bug 2023-03-28 15:38:16 +09:00
Mikael Finstad
b26119b06c
add fd to whitelist
fixes #1518
2023-03-28 14:01:02 +09:00
Mikael Finstad
38b4157d7e
add slovene 2023-03-12 17:02:38 +08:00
Mikael Finstad
e4dc5445ca
fix bug 2023-03-12 16:53:00 +08:00
Mikael Finstad
4d1da9be5f
fix lint 2023-03-12 16:52:55 +08:00
Mikael Finstad
3612e78f10
remove line 2023-03-12 16:52:50 +08:00
Mikael Finstad
574abcb19a
improvements
- implement full screen waveform #260
- make thumbnails not overlap timeline #483
- allow thumbnails at the same time as waveform #260
- fix waveform color in light mode
- fix waveform window overlaps
- make tracks screen dark mode too
- add more borders and dark mode fixes
2023-03-12 16:51:15 +08:00
Mikael Finstad
4b7fb42111
fix lint 2023-03-11 21:14:13 +08:00
Mikael Finstad
f8c24260d6
use about dialog 2023-03-11 21:11:54 +08:00
Mikael Finstad
8c729cd439
fix <code> bug 2023-03-11 18:11:11 +08:00
Mikael Finstad
dcfb459ca6
ui improvements 2023-03-10 21:59:52 +08:00
Mikael Finstad
2cabe20584
improve select 2023-03-10 15:09:07 +08:00
Mikael Finstad
391cab538c
improve export confirm 2023-03-10 15:08:58 +08:00
Mikael Finstad
365e1fd1a8
improve translations
closes #1499
2023-03-10 14:22:24 +08:00
Mikael Finstad
56eec1fa3f
add a check on project file open 2023-03-10 14:04:24 +08:00
Mikael Finstad
fd881553a1
fix translation issue
fixes #1498
2023-03-10 13:37:50 +08:00
Mikael Finstad
fe9865e788
auto-convert mjpeg to supported format
fixes #1505
2023-03-10 12:53:45 +08:00
Mikael Finstad
088c77fcc9
remove mixBlendMode
too slow when many keyframes
2023-03-10 12:53:22 +08:00
Mikael Finstad
9b027bc762
implement dark/ight mode
still not 100%, but
closes #733
2023-03-10 12:12:48 +08:00
Mikael Finstad
759c079747
implement invert selected segments #1503 2023-03-09 15:00:39 +08:00
Mikael Finstad
14b63787c4
i18n "All Files"
fixes #1495
2023-03-05 12:52:56 +08:00
Mikael Finstad
1e34639db9
support more timecode formats in input field
Right click to paste
closes #1217
2023-03-04 22:50:06 +08:00
Mikael Finstad
e499da6fbc
fix bug 2023-03-04 22:48:50 +08:00
Mikael Finstad
5c9b626c08
fix bug 2023-03-04 21:20:49 +08:00
Mikael Finstad
471fc897a9
add note about #1487 2023-03-04 21:20:43 +08:00
Mikael Finstad
d8ccbc1a31
fix mov_text subtitle export #1371 2023-03-04 20:19:13 +08:00
Mikael Finstad
eef9430c36
fix translation issue #1495 2023-03-04 16:06:10 +08:00
Mikael Finstad
c2f775c58d
allow clearing working directory also on MAS build 2023-03-04 15:43:28 +08:00
Mikael Finstad
86f451539a
remember "allow multiple instances" #371 2023-02-19 17:44:11 +08:00
Mikael Finstad
d252ed3a14 use fontsource 2023-02-19 14:45:11 +08:00
Vlad Loktionov
86196b3be5 fonts: replaced with Open Sans SC 2023-02-19 14:45:11 +08:00
Vlad Loktionov
7e45ce3c76 fonts: changed to Noto Sans SC (salt) 2023-02-19 14:45:11 +08:00
Vlad Loktionov
41b40330e6 use proper font stack 2023-02-19 14:45:11 +08:00
Vlad Loktionov
6492bd8b0c fix language names in lower case 2023-02-19 14:45:11 +08:00
Mikael Finstad
9130924e14
fix logic issue with smart cut
closes #1483
2023-02-19 14:15:35 +08:00
Mikael Finstad
5347dbdff0
fix a bug with clear segments 2023-02-19 13:50:25 +08:00
Mikael Finstad
a22dcdc92c
pluralize english vars 2023-02-18 23:47:22 +08:00
Mikael Finstad
eb963ee601
upgrade i18n packages
- this upgrades translation json format from v3 to 4
- replace i18next-scanner with i18next-parser (former doesn't support json v4)
- and enable pluralization support #346
2023-02-18 23:18:08 +08:00
Mikael Finstad
a1c3fb25bc
add keyboard action
for "combine overlapping segments" #1478
2023-02-18 11:13:39 +08:00
Mikael Finstad
d64060d2e4
use file name when exporting project
closes #1480
2023-02-18 11:11:05 +08:00
Mikael Finstad
c923d99f17
dim also deselected files in timeline 2023-02-18 11:07:38 +08:00
Mikael Finstad
ff3fb745a5
implement preview of all segments #253 2023-02-17 17:12:15 +08:00
Mikael Finstad
1718d843bf
fix canvas player bugs
https://github.com/mifi/lossless-cut/issues/253#issuecomment-1433898805
2023-02-17 14:02:29 +08:00
Mikael Finstad
a3fbcb9fbe
fix source i18n typo 2023-02-16 23:47:01 +08:00
Mikael Finstad
ef406daa6e
move to vitest 🚀 2023-02-16 23:40:09 +08:00
Mikael Finstad
89844d40a0
fix flawed mas permission logic 2023-02-16 23:22:27 +08:00
Mikael Finstad
1715c2bb01
move to vite
closes #971
2023-02-16 23:22:05 +08:00
Mikael Finstad
4cda6579a7
improve cleanup after export #1425 2023-02-16 18:47:49 +08:00
Mikael Finstad
ff56c44a32
implement play only current segment
closes #574
2023-02-16 17:29:46 +08:00
Mikael Finstad
bc4edf9829
add flag --disable-networking
closes #1418
2023-02-16 16:37:24 +08:00
Mikael Finstad
d2414e9c4e
respect more hideAllNotifications 2023-02-16 16:22:07 +08:00
Mikael Finstad
57f09198eb
refactor/improve media loading logic 2023-02-16 16:12:20 +08:00
Mikael Finstad
e9840d793d
implement reduced motion
closes #1410
2023-02-16 13:14:15 +08:00
Mikael Finstad
c5374d0859
improve animations 2023-02-16 12:32:48 +08:00
Mikael Finstad
a09b9aff52
refactor and improve timeline logic 2023-02-16 11:49:09 +08:00
Mikael Finstad
76f1883aa9
upgrade framer motion 2023-02-16 11:32:17 +08:00
Mikael Finstad
abda91ff5f
remove unused motion 2023-02-16 11:31:33 +08:00
Mikael Finstad
dea968d558
add merge with current file option
https://github.com/mifi/lossless-cut/issues/691#issuecomment-1426675660
2023-02-15 21:32:32 +08:00
Mikael Finstad
5bb67f8078
log ffmpeg stderr
also add progress to fix invalid duration
2023-02-15 21:15:45 +08:00
Mikael Finstad
98ff495e10
improve concat output filename extension handling 2023-02-15 13:42:59 +08:00
Mikael Finstad
7abc292d37
dim colors in invert mode 2023-02-15 13:36:19 +08:00
Mikael Finstad
ca36b7573c
fix sort disable in invert mode 2023-02-15 13:35:33 +08:00
Mikael Finstad
814c813185
add keyboard shortcuts
for align segs to keyframes and shift segment times
2023-02-08 16:22:37 +08:00
Mikael Finstad
cd2527e7d7
add some code for future use
see #255
2023-02-08 16:16:07 +08:00
Mikael Finstad
ebb284c308
disable some redundant logging 2023-02-08 16:14:12 +08:00
Mikael Finstad
05348e9bd0
pull out code 2023-02-05 21:29:09 +08:00
Mikael Finstad
a5b02fadf0
refactor: move out segments functionality 2023-02-05 21:11:24 +08:00
Mikael Finstad
0eeef0c924
implement align segments to keyframes 2023-02-05 19:08:28 +08:00
Mikael Finstad
56fc47fb92
fix bug (double shift) 2023-02-05 18:08:58 +08:00
Mikael Finstad
2f754d2a03
sanity check file sizes after merge files #1453
also notify about export confirm dialog
2023-02-05 17:33:24 +08:00
Mikael Finstad
1b3811a786
improve extract png/jpg streams 2023-02-04 20:00:49 +08:00
Mikael Finstad
3c46486cf3
improve export screen
show warning if cutting thumbnail stream
show warning if selected uncommon avoid_negative_ts
2023-02-04 20:00:49 +08:00
Mikael Finstad
a49a7a80c6
display track index + 1 2023-02-04 20:00:49 +08:00
Mikael Finstad
14558e31ff
add hvc1 workaround #1444 2023-02-04 20:00:49 +08:00
Mikael Finstad
20e213cce1
remove format (no longer exists) 2023-02-04 20:00:49 +08:00
Mikael Finstad
6f6a35af7f
use kbps for audio
closes #1451
2023-02-03 17:48:23 +08:00
Mikael Finstad
44cf3511f4
improve notice 2023-02-03 17:33:30 +08:00
Mikael Finstad
97f7e2c88a
improvements
- improve concat/merge success dialog and error dialog
- improve error classification (ENOENT)
2023-02-03 17:27:11 +08:00
Mikael Finstad
f7047160a1
workaround ffmpeg dv bug
closes #1450
2023-02-03 15:47:20 +08:00
Mikael Finstad
a120e554dc
fix bug 2023-02-03 15:45:34 +08:00
Mikael Finstad
f5ea3daecb
zero pad SEG_NUM #1446 2023-02-03 15:45:34 +08:00
Mikael Finstad
eccdf691ac
don't close merge dialog on click 2023-02-03 15:45:34 +08:00
Mikael Finstad
7d8e166a36
improve remember convert to supported format
make it so that it will also remember the choice if using hotkey (but not if reopening the dialog from the menu)
closes #1376
2023-01-27 23:43:27 +09:00
Mikael Finstad
e776ac3aa2
allow auto close file on export #1425
and optionally cleanup
2023-01-27 17:03:30 +09:00
Mikael Finstad
cf789a9fb0
restore previous scroll behavior
fixes #1432
2023-01-27 15:02:49 +09:00
Mikael Finstad
5f8107de98
fix problem with title bar #1435 2023-01-27 13:29:01 +09:00
Mikael Finstad
633c068aa5
improve export mode ux 2023-01-27 13:17:19 +09:00
Mikael Finstad
16c9f8b002
improve random segment generation
make sure random segment start time is also randomized
also clamp end time
2023-01-20 00:12:19 +09:00
Mikael Finstad
4f018b0f12
fix bug 2023-01-20 00:11:53 +09:00
Mikael Finstad
69681ce7d3
fix unhandled rejection 2023-01-16 12:35:01 +08:00
Mikael Finstad
9db8866760
improve extra tracks progress #1370 2023-01-16 12:34:39 +08:00
Mikael Finstad
7ea3d4c1a5
No med spynorsk mordliste 🇳🇴 2023-01-15 18:21:54 +08:00
Mikael Finstad
c98014c7b9
preserve streams when fixing duration
fixes #1415
2023-01-15 18:01:32 +08:00
Mikael Finstad
e9c96ce563
workaround trashItem issue #29598
fixes #1381
2023-01-15 17:55:14 +08:00
Mikael Finstad
d7922b9465
add setting to disable auto updates
fixes #1386
also #1418
2023-01-15 17:36:25 +08:00
Mikael Finstad
16cd41f287
add setting to disable hevc #88 2023-01-15 17:27:45 +08:00
Mikael Finstad
d3c70e4788
fix bug with waveform
fixes #1416
2023-01-09 12:43:16 +08:00
Mikael Finstad
f1a9ea0e1d
show progress in title
closes #1417
2023-01-09 12:39:14 +08:00
Mikael Finstad
c1113c13d9
fix lint 2023-01-07 00:07:47 +08:00
Mikael Finstad
f8a5f10db1
refactor 2023-01-07 00:04:20 +08:00
Mikael Finstad
141919f0a9
make extract all streams only extract enabled streams
closes #1335
2023-01-06 23:52:53 +08:00
Mikael Finstad
62706e1380
improve readme 2023-01-06 23:51:39 +08:00
Mikael Finstad
84535c8f8e
implement abort
closes #524
2023-01-06 23:28:46 +08:00
Mikael Finstad
e49bfee750
refactor 2023-01-06 22:57:27 +08:00
Mikael Finstad
81979ecc0f
simplify 2023-01-06 22:53:19 +08:00
Mikael Finstad
655725eaec
improve headers 2023-01-06 22:49:39 +08:00
Mikael Finstad
eaa8512e36
reorganize settings 2023-01-06 22:49:01 +08:00
Mikael Finstad
75f768dad7
always use timecode format setting
also when exporting files
2023-01-06 22:48:52 +08:00
Mikael Finstad
572a0caf1a
improve extract frames
allow extract frames with timestamp files names or file numbers
closes #1139
2023-01-06 22:24:14 +08:00
Mikael Finstad
9332fad5a1
improvements
- Capture the best image every nth second
- Capture exactly one image every nth second #1139
- Capture exactly one image every nth frame #1139
- Capture frames that differ the most from the previous frame
- fix broken progress (duration)
- refactor
2023-01-06 20:10:57 +08:00
Mikael Finstad
2c76993953
improve frame capture
- allow setting capture frame method https://github.com/mifi/lossless-cut/issues/88#issuecomment-1364636200
- allow changing quality #1141 #371
2023-01-06 14:19:39 +08:00
Mikael Finstad
c5b3885c80
add some hevc support checking
#88 #1375 #1407
2023-01-05 23:05:25 +08:00
Mikael Finstad
97ba07d264
improve report url 2023-01-05 23:02:26 +08:00
Mikael Finstad
e155af886a
fix bug 2023-01-03 18:39:15 +08:00
Mikael Finstad
aacfe02d49
improve warning 2023-01-03 18:39:09 +08:00
Mikael Finstad
be6a2627ae
set default export save dialog path
fixes #1393
2023-01-03 18:38:54 +08:00
Mikael Finstad
d76c923730
improve success dialog 2023-01-03 18:12:38 +08:00
Mikael Finstad
5d8103e805
format detection improvements
- improve detection of mp4/mov #1353
- use adts for aac (ipod was incorrect)
2023-01-03 17:45:58 +08:00
Mikael Finstad
d505af52ac
refine avc1 warning
#280
2023-01-03 17:44:03 +08:00
Mikael Finstad
54e377f112
simplify 2023-01-03 12:12:14 +08:00
Mikael Finstad
faa07424fb
rewrite checking logic
replace axios with ky
and add fake app check
2023-01-02 17:17:41 +08:00
Mikael Finstad
967fe22cbe
improvements
- fallback sanitize properly (force filenamify)
- improve export failed feedback #1409
- add more invalid chars to filename check
- always show out seg error in export page
2022-12-31 16:53:24 +08:00
Mikael Finstad
55e9a0a088
clamp progress to 100% 2022-12-31 16:20:41 +08:00
Mikael Finstad
cac788c441
show warning when ffmpeg vtag issue
also improve cut finished dialog
closes #1406
closes #280
respect "hide all notifications" more
2022-12-31 16:20:04 +08:00
Mikael Finstad
95e6a5d198
implement combine overlapping segments
https://github.com/mifi/lossless-cut/issues/1334#issuecomment-1367786230
2022-12-30 16:15:22 +08:00
Mikael Finstad
e937cd0979
improvements
- make zoom exponential
- make segments copyable - fixes #719
2022-12-30 12:47:39 +08:00
Mikael Finstad
64966590e2
create segments from:
- scene changes
- keyframes

closes #1398

also limit max number of segments
and improve parameters dialog
2022-12-29 18:22:24 +08:00
Mikael Finstad
60bf1a5c5f
implement detect silence
closes #1334

also allow chnaging parameters of black detect #623
2022-12-28 23:55:41 +08:00
Mikael Finstad
11206692cc fix lint 2022-11-24 13:38:33 +08:00
Mikael Finstad
eee11d3e62 remoev unused 2022-11-24 13:38:33 +08:00
Mikael Finstad
6026c8e364 upgrad react 2022-11-24 13:38:33 +08:00
Mikael Finstad
123c3a3402 move away from unmaintained react-hammerjs 2022-11-24 13:38:33 +08:00
Mikael Finstad
2f79332fdb fix isDev 2022-11-24 13:38:33 +08:00
Mikael Finstad
abdac785a4 fix deprecation 2022-11-24 13:38:33 +08:00
Mikael Finstad
563f4a27c1 enable native h265/hevc support #88 2022-11-24 13:38:33 +08:00
Mikael Finstad
65a0b9e138 remove open
use instead shell.showItemInFolder #714
2022-11-24 13:38:33 +08:00
Mikael Finstad
c4441127d3 use shell.trashItem instead of trash
closes #537
2022-11-24 13:38:33 +08:00
Mikael Finstad
1799547353 upgrade electron #714 2022-11-24 13:38:33 +08:00
Mikael Finstad
f6251983cc
improve error msg 2022-11-22 22:10:30 +08:00
Mikael Finstad
b319fce589
don't copy dvb_teletext by default
fixes #1343
2022-10-20 12:33:55 +02:00
Mikael Finstad
9283fbeb43
add zoom modifier key setting #1287
also refactor/simplify user settings hook
2022-10-19 19:25:41 +02:00
Mikael Finstad
20fa1b2124
improve error message from ffprobe
fixes #1342
2022-10-19 17:39:27 +02:00
Mikael Finstad
479569e378
improvements
cleanup help menu
remove help dialog
remove action toggleHelp
add action toggleLastCommands
2022-10-19 17:27:48 +02:00
Mikael Finstad
56bf836b12 improve smart cut 2022-10-15 12:03:21 +02:00
firstzerg
c9175d4270 fix smartcut with segment between keyframes
due https://github.com/mifi/lossless-cut/issues/126
2022-10-15 12:03:21 +02:00
Mikael Finstad
f3fd5df45b
improve concat UI #1327 2022-10-14 21:03:47 +02:00
Mikael Finstad
0803858575
improve black detect
allow black detect to work on start/end times of selected segment
closes #1226
2022-10-14 20:08:58 +02:00
Mikael Finstad
f801094d66
improve merge menu
show the Open files-dialog if the Merge menu item is clicked without any files already open
had to rearrange a lot of code due to deps

fixes #1316
2022-09-29 13:35:29 +02:00
Mikael Finstad
cefc6e6ccc
make it more clear when export confirm is disabled
many users get confused
2022-09-29 13:22:57 +02:00
Mikael Finstad
43180cee65
implement cover art from timeline
closes #1100
2022-09-29 13:19:58 +02:00
Mikael Finstad
ceda857d6d
concat improvements
- when merging files, the output file name will always contain a unique suffix to prevent overwriting any existing files
- the UI will allow the user to enter a custom output file name
- rename getOutPath
2022-09-11 22:53:00 +02:00
Mikael Finstad
a3396a6a77
fix waveform logic #1269 2022-09-04 15:06:56 +02:00
Mikael Finstad
9faf22e6b6
show all errors in a dialog #455
when there's a concat mismatch
2022-08-16 22:28:15 +02:00
Mikael Finstad
8dac8e60cd
improve duplicate name error
fixes #1138
2022-08-12 20:55:38 +02:00
Mikael Finstad
9161278e54
add a setting for overwriting output file
fixes #916
2022-08-12 20:54:33 +02:00
Mikael Finstad
9a2e21a178
add warning if missing output extension
fixes #1083
2022-08-12 19:57:40 +02:00
Mikael Finstad
d1faac4146
upgrade file-type and speedup detection 2022-08-12 19:47:04 +02:00
Mikael Finstad
36f34aff60
improve error message on startup #1114 2022-07-25 17:59:17 +08:00
Mikael Finstad
3f9f731d42
add DV to auto-html5ify 2022-07-21 17:01:45 +08:00
Mikael Finstad
c513c7e144
fix performance regression
fixes #1097
2022-07-20 22:40:44 +08:00
Mikael Finstad
21e044a33d
improve error report text 2022-07-20 14:34:06 +08:00
Mikael Finstad
d73d9a3282
fix bug 2022-07-20 14:33:47 +08:00
Mikael Finstad
2c12477b04
implement simple support for FCPXML 2022-07-17 14:36:57 -07:00
Mikael Finstad
dbcd598e82
make heading fixed
fixes #1220
2022-07-17 12:12:19 -07:00
Mikael Finstad
fe897b5f4b
check file compatibility in concat dialog
show warning if any mismatches

#1146 #455 #1203 #547
2022-06-29 16:33:01 -07:00
Mikael Finstad
1849679448
refactor/reuse 2022-06-29 16:22:14 -07:00
Mikael Finstad
c204354446
fix smart cut bug
coincidentially discovered in #1190
2022-06-15 11:56:19 -07:00
Mikael Finstad
00c2771996
add forgotten file 2022-06-15 11:55:37 -07:00
Mikael Finstad
6ac77c5eea
xmeml: support multiple <track>
fixes #1195
2022-06-15 11:55:22 -07:00
Mikael Finstad
2364edad7f
set default path for open dialog
...to last opened path

fixes #724
see also #1092
2022-06-07 19:41:00 -07:00
Mikael Finstad
51e224593a
add keyboard shortcut for create random segments 2022-06-07 18:44:58 -07:00
Mikael Finstad
f2ac570a97
improve smart cut speed #126 2022-05-23 23:12:21 -07:00
Mikael Finstad
bb304c8fd7
implement random segments
closes #1153
2022-05-23 22:31:48 -07:00
Mikael Finstad
3f794c68b0
show stream disposition in table #1152
also make table more compact
2022-05-23 21:42:16 -07:00
Mikael Finstad
3ccf49f3a7
fix lint 2022-04-04 13:26:52 +08:00
Mikael Finstad
01be8af526
auto cleanup invalid key bindings 2022-04-04 13:17:53 +08:00
Mikael Finstad
2d885496cb
fix youtube parsing short hours bug
also allow hyphen before chapter name

fixes #1102
2022-04-04 13:16:20 +08:00
Mikael Finstad
96ca1598e0
shift only selected segments 2022-03-28 14:42:00 +08:00
Mikael Finstad
4fba378381
fix buggy logic and rename 2022-03-28 14:31:50 +08:00
Mikael Finstad
09336f99cd
implement option to shift segments start/end/both 2022-03-28 14:28:17 +08:00
Mikael Finstad
97dda50ab0
implement black scene detection
closes #623
2022-03-18 17:51:24 +08:00
Mikael Finstad
eb8d832d36
fix lint 2022-03-18 15:42:20 +08:00
Mikael Finstad
f3738fab91
default to override extension if mov
fixes #1075
2022-03-18 15:40:08 +08:00
Mikael Finstad
f8ce5614a3
improve tests 2022-03-18 15:16:00 +08:00
Mikael Finstad
6ab341ce53
improve segment terminology
fixes #1062
2022-03-18 00:11:11 +08:00
Mikael Finstad
4b175b6843
export improvements 2022-03-17 23:51:34 +08:00
Mikael Finstad
7799107299
improve invert cut segments
fixes #1078
2022-03-17 23:28:37 +08:00
Mikael Finstad
b79bd490d5
fix lint 2022-03-17 23:26:11 +08:00
Mikael Finstad
d43e47ca40
improve logic 2022-03-17 23:25:50 +08:00
Mikael Finstad
ef6f8b0c7c
include export mode in report 2022-03-17 18:29:08 +08:00
Mikael Finstad
44ca797526
allow frame seek with audio files too
regression: fixes #1079
2022-03-17 18:28:59 +08:00
Mikael Finstad
0d423b5968
change export mode button into a select 2022-03-14 13:16:36 +08:00
Mikael Finstad
c0aabf53cf
try to support arm64 #1056
but without ffmpeg
2022-03-09 23:40:09 +08:00
Mikael Finstad
90126d92b1
move merge options into separate dialog
also add option to clear batch

closes #1063
2022-03-09 22:43:35 +08:00
Mikael Finstad
6c10630996
fix overflow 2022-03-09 22:36:05 +08:00
Mikael Finstad
2eb9565db0
implement label selected segments #993 2022-03-07 01:32:42 +08:00
Mikael Finstad
0f5d79d43b
add icon 2022-03-06 23:07:05 +08:00
Mikael Finstad
9bdc93275d
Implement Extract all frames as images
closes #1033
2022-03-06 23:06:58 +08:00
Mikael Finstad
d4cd0e1d37
rename event:
invertAllCutSegments->invertAllSegments
2022-03-06 21:52:48 +08:00
Mikael Finstad
82e08fbdd1
rename events
selectPrevSegment->jumpPrevSegment
selectNextSegment->jumpNextSegment
2022-03-06 21:50:48 +08:00
Mikael Finstad
49cd7f1996
Rename events
toggleCurrentSegmentEnabled->toggleCurrentSegmentSelected
enableOnlyCurrentSegment->selectOnlyCurrentSegment
enableAllSegments->selectAllSegments
disableAllSegments->deselectAllSegments
2022-03-06 21:48:43 +08:00
Mikael Finstad
772ff9b7d8
add hotkey for remove selected segments 2022-03-06 21:45:15 +08:00
Mikael Finstad
3a533f0b14
don't propagate seg check click 2022-03-06 21:35:22 +08:00
Mikael Finstad
ca58a14397
rename segIndex->segColorIndex
to avoid confusion with array index
2022-03-06 21:34:46 +08:00
Mikael Finstad
cf9347904b
allow removing multiple segments 2022-03-06 21:18:34 +08:00
Mikael Finstad
2ff8689d40
don't allow adding 0 length seg at end of timeline 2022-03-06 21:16:54 +08:00
Mikael Finstad
02af27534f
implement fill gaps between segments
https://github.com/mifi/lossless-cut/issues/993#issuecomment-1059752710
2022-03-06 16:54:12 +08:00
Mikael Finstad
86701ba0a2
implement "select segments by label"
https://github.com/mifi/lossless-cut/issues/993#issuecomment-1059907511
2022-03-06 16:39:12 +08:00
Mikael Finstad
956577f875
show selected segments in export dialog 2022-03-06 16:02:30 +08:00
Mikael Finstad
cb9d31a2a9
fix bug 2022-03-06 15:54:02 +08:00
Mikael Finstad
c48f2dd2f3
change segments to export into select segments
allows more flexibility
2022-03-06 15:53:58 +08:00
Mikael Finstad
6d8981798d
chapters improvments #993
improve pbf parsing with test fixtures
with chapters only export, add gap chapters between segments
2022-03-05 01:16:02 +08:00
Mikael Finstad
cc3a5260d1
refactor 2022-03-02 17:41:48 +08:00
Mikael Finstad
0b97e1f62e
add i18n 2022-03-02 16:33:39 +08:00
Mikael Finstad
26a8f78d6f
add i18n 2022-03-02 15:31:45 +08:00
Mikael Finstad
e043054e01
add i18n 2022-03-02 14:13:55 +08:00
Mikael Finstad
f0690130ab
allow configuring where to store project file
this will also give less dialogs on MAS builds initially (only one needed for working dir)

closes #1004
2022-03-02 14:04:36 +08:00
Mikael Finstad
f1097d5970
fix bug 2022-03-02 13:58:45 +08:00
Mikael Finstad
26783a1338
implement shift all segments times 2022-03-01 23:10:25 +08:00
Mikael Finstad
39322472e4
implement increase/descrease volume hotkeys #254 2022-03-01 18:26:20 +08:00
Mikael Finstad
37f142a9e1
fix play button #1048 2022-03-01 17:49:01 +08:00
Mikael Finstad
8578886f5c
allow using external ffmpeg executable #400 2022-03-01 14:30:30 +08:00
Mikael Finstad
402b8290af
reduce react prop drilling
also fix issue with keyframe cut button not working
2022-03-01 13:53:44 +08:00
Mikael Finstad
70438f44fb
fix lint 2022-03-01 00:36:44 +08:00
Mikael Finstad
0bb436f02e
make it possible to bind escape
it will close the dialog
2022-03-01 00:33:35 +08:00
Mikael Finstad
354fce616c
add key binding for fix invalid duration
https://github.com/mifi/lossless-cut/issues/254#issuecomment-1054103948
2022-03-01 00:33:13 +08:00
Mikael Finstad
11e1f81726
implement smart cut #126
also improve concat ffmpeg command logging - closes #954
2022-02-28 15:07:51 +08:00
Mikael Finstad
1b4262d951
move html5ify 2022-02-27 23:39:31 +08:00
Mikael Finstad
ad6aaae089
refactor 2022-02-27 22:54:22 +08:00
Mikael Finstad
713c808cd9
refactor concatfiles 2022-02-27 22:53:13 +08:00
Mikael Finstad
42cd78339f
reorder 2022-02-27 22:48:11 +08:00
Mikael Finstad
4733ba6a4a
try to improve canvas player #272 2022-02-26 15:04:02 +08:00
Mikael Finstad
b5ba38adb2
make sure to select previous item when deleting from batch list
https://github.com/mifi/lossless-cut/issues/89#issuecomment-1049996634
2022-02-25 12:21:42 +08:00
Mikael Finstad
eab8a2c9b5
move sorting from merge to batch files
closes #1043
2022-02-24 22:50:59 +08:00
Mikael Finstad
bdb050492f
improve batch list selection
https://github.com/mifi/lossless-cut/issues/89#issuecomment-1049831536
2022-02-24 20:57:35 +08:00
Mikael Finstad
7c28d66025
specify copy per stream mapping
that way we can avoid warnings like:
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream X, only the last option will be used.
2022-02-24 18:37:32 +08:00
Mikael Finstad
dfb0a5cb76
losslessly convert pcm_bluray to pcm_s24le
for non-mpegts output formats

fixes #476
fixes #895
2022-02-24 17:59:03 +08:00
Mikael Finstad
3f91f70e7f
fix missing codecs 2022-02-24 17:58:16 +08:00
Mikael Finstad
55f2eb83ca
default to mov when pcm audio
fixes #947 #163 #367 #948
2022-02-24 17:34:51 +08:00
Mikael Finstad
6126848e19
improve error report 2022-02-24 16:49:43 +08:00
Mikael Finstad
d4cf3aac23
auto-convert mov_text to srt
when trying to put it in matroska
webm too (webvtt)
closes #418
2022-02-24 16:49:33 +08:00
Mikael Finstad
2105b93a35
add webm t ocommon formats 2022-02-24 16:39:54 +08:00
Mikael Finstad
37950e736e
remove menu from batch list
(one less click)
2022-02-24 16:03:05 +08:00
Mikael Finstad
a37eedc337
fix color bug 2022-02-24 15:42:29 +08:00
Mikael Finstad
392962729a
stream improvements
- manually copy disposition when concat (ffmpeg doesnt automatically)
- auto-convert any subtitle to mov_text when output is mp4 #418
2022-02-24 15:32:11 +08:00
Mikael Finstad
1e352a6d75
fix bug 2022-02-24 12:50:33 +08:00
Mikael Finstad
c11286eb21
improve menu labels
someone thought it would merge right away when clicking
2022-02-24 12:28:10 +08:00
Mikael Finstad
01c9ebd1c7
allow overriding per-stream options
means we can no longer use ffmpeg's default mapping
for mp4/mov, use vtag hvc1 instead of the default unsupported hev1
fixes #1032
2022-02-24 12:27:50 +08:00
Mikael Finstad
bd50d25b85
refactor/reuse 2022-02-23 22:13:07 +08:00
Mikael Finstad
12960ffb57
refactor 2022-02-23 21:46:18 +08:00
Mikael Finstad
684a45b694
refactor 2022-02-23 21:42:42 +08:00
Mikael Finstad
5fe8c088e0
improve format detection in concat/merge dialog
and allow selecting any output format

fixes #1032
2022-02-23 21:22:29 +08:00
Mikael Finstad
b4641aeb22
re-introduce merge menu item 2022-02-23 21:16:02 +08:00
Mikael Finstad
a7d6138bd3
increase size of concat dialog
easier to handle large files
2022-02-23 19:43:35 +08:00
Mikael Finstad
bce1914268
refactor 2022-02-23 19:43:19 +08:00
Mikael Finstad
152b889040
refactor 2022-02-23 19:27:18 +08:00
Mikael Finstad
18e9bf5819
refactor 2022-02-23 19:10:11 +08:00
Mikael Finstad
7136e3677c
refactor 2022-02-23 19:01:14 +08:00
Mikael Finstad
dfffd04b94
fix missing keyframe seek shortcuts
fixes #1038
2022-02-23 18:30:34 +08:00
Mikael Finstad
8956a52cc9
upgrade fast xml parser 2022-02-23 18:29:17 +08:00
Mikael Finstad
23cbd73e93
upgrade lint and support esm
fix lint too
2022-02-21 14:16:15 +08:00
Mikael Finstad
e0aa5b1a51
need to check input file dir also on MAS
because we now write project file next to input file
2022-02-21 00:04:12 +08:00
Mikael Finstad
a71c4411d3
improve error message when loading file #937 2022-02-20 21:11:55 +08:00
Mikael Finstad
f402ff8763
fix lint 2022-02-20 20:45:09 +08:00
Mikael Finstad
e28b5130eb
add shortcuts for disable/enable segments #254
Add keyboard shortcut for "Include ONLY this segment in export", e.g. only currently selected segment, because some people often want to export only current segment and would like to not click a menu every time.
2022-02-20 20:44:42 +08:00
Mikael Finstad
04346f7e85
add play/pause hotkey
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.
2022-02-20 20:29:58 +08:00
Mikael Finstad
c2cb1f5501
add shortcut shift+j for toggling keyboard shortcut dialog #654
also allow resetting key config #726
2022-02-20 20:12:58 +08:00
Mikael Finstad
1a59be3e75
improve key list 2022-02-20 18:35:29 +08:00
Mikael Finstad
14ae45780b
implement hotkeys
jumpTimelineStart (ctrl+home)
jumpTimelineEnd (ctrl+end)
reorderSegsByStartTime,
invertAllCutSegments,
createFixedDurationSegments,
createNumSegments,
shuffleSegments,
clearSegments,
toggleSegmentsList,
toggleStreamsSelector,
extractAllStreams,
convertFormatCurrentFile,
convertFormatBatch,
concatBatch,
toggleKeyframeCutMode,
toggleCaptureFormat,
toggleStripAudio,
setStartTimeOffset,
2022-02-20 18:34:10 +08:00
Mikael Finstad
a63d67423e
revert back tip 2022-02-20 17:25:17 +08:00
Mikael Finstad
464f0cd544
fix slowness 2022-02-20 17:23:27 +08:00
Mikael Finstad
3e89e60981
Implement dynamic keyboard mapping #254
with UI to control mappings
2022-02-20 17:23:18 +08:00
Mikael Finstad
8f7eeb4fb2
fix bug 2022-02-19 23:28:15 +08:00
Mikael Finstad
cba0103bf3
implement natural langauge sort #844 #210 2022-02-19 22:19:24 +08:00
Mikael Finstad
d342dde961
prevent hiding template editor if click again
fixes #873
also allow click to add variable
2022-02-19 21:17:12 +08:00
Mikael Finstad
e777aba0d1
fix test 2022-02-19 21:01:00 +08:00
Mikael Finstad
6926df5f00
show error also if resulting duplicates
fixes #894
2022-02-19 20:52:53 +08:00
Mikael Finstad
53384a8bb3
fix open file logic 2022-02-19 17:51:16 +08:00
Mikael Finstad
3c4b996e03
move merge / batch functionality
from top menu into a menu on the batch file list
this means now you first open files in a batch, then either merge or batch convert them
2022-02-19 16:25:53 +08:00
Mikael Finstad
016d41f703
improve segment colors and ui 2022-02-18 22:14:16 +08:00
Mikael Finstad
364fb0df7a
improvemenst
remove frame rounding when seeking #585
also show video fps
improve split
cleanup refs and current time logic
2022-02-18 17:42:35 +08:00
Mikael Finstad
cbf693b798
refactor 2022-02-18 16:08:18 +08:00
Mikael Finstad
8795532430
simplify html5ify
fix html5ify progress on batch
2022-02-18 15:58:56 +08:00
Mikael Finstad
c7bfcd63d4
fix lint 2022-02-18 15:40:33 +08:00
Mikael Finstad
61b7ca2e44
implement shuffle segments order 2022-02-18 14:34:20 +08:00
Mikael Finstad
19527802ef
fix lint 2022-02-18 14:27:42 +08:00
Mikael Finstad
8d39cd4042
pull out batch files list 2022-02-18 14:27:21 +08:00
Mikael Finstad
bdd19b3afd
pull out loading component 2022-02-18 14:19:43 +08:00
Mikael Finstad
40f8bbc762
simplify settings 2022-02-18 14:13:13 +08:00
Mikael Finstad
81653eeb6b
improve cut/merge/chapters ui logic 2022-02-18 13:58:08 +08:00
Mikael Finstad
fe88b3d6f6
implement import csv with frame numbers #1024 2022-02-14 12:08:57 +08:00
Mikael Finstad
691624ea5e
minor improvements 2022-02-14 00:13:45 +08:00
Mikael Finstad
e57fcb1096
when importing EDL file, don't delete existing EDL
allows for combining EDL from multiple sources #993
2022-02-13 23:35:30 +08:00
Mikael Finstad
42d3a8981a
improve logic 2022-02-13 22:57:47 +08:00
Mikael Finstad
5607fda8df
cleanup temp file 2022-02-13 22:46:04 +08:00
Mikael Finstad
158964fe08
fix odd bug 2022-02-13 22:32:47 +08:00
Mikael Finstad
3615268a46
implement segments to chapters mode #993 2022-02-13 22:27:23 +08:00
Mikael Finstad
7b040c8ae9
fix pbf parsing #993 2022-02-13 17:40:02 +08:00
Mikael Finstad
badac2dcba
enlarge export button 2022-02-13 17:25:06 +08:00
Mikael Finstad
7f5351a300
improve bottom bar and colors #1016 2022-02-13 17:21:51 +08:00
Mikael Finstad
b698b5f445
improve ui 2022-02-13 16:12:12 +08:00
Mikael Finstad
4b1fab189b
consolidate bottom menus 2022-02-13 16:02:43 +08:00
Mikael Finstad
e7526b077e
make batch list resizable #89 2022-02-13 15:52:20 +08:00
Mikael Finstad
ee74ce5530
remove unused 2022-02-13 15:42:17 +08:00
Mikael Finstad
1e77420fd1
fix infinite loop on commandedTime = 0 (or end of video) 2022-02-13 15:37:29 +08:00
Mikael Finstad
b7f1993330
improve batch file list layout 2022-02-13 15:34:32 +08:00
Mikael Finstad
7621729afc
rewrite layout to use flex 2022-02-13 15:34:32 +08:00
Mikael Finstad
18793beccf
move sidesheet where it belongs 2022-02-13 15:34:32 +08:00
Mikael Finstad
ead6d85dbb
renam menus 2022-02-13 15:34:32 +08:00
Mikael Finstad
1d33b6b90a
don't open first file of batch
to make it faster to load batches
2022-02-13 15:34:32 +08:00
Mikael Finstad
64c7811037
implement chapters viewing
also consolidate getFormatData and getAllStreams
2022-02-13 15:34:32 +08:00
Mikael Finstad
6870cd7e85
improve order 2022-02-13 15:34:32 +08:00
Mikael Finstad
20a1b506d3
allow appending files to batch list 2022-02-13 15:34:32 +08:00
Mikael Finstad
9ffc781c29
combine batch list and merge list #89
- add button to merge current batch list
- show more options in merge dialog
- allow preserving metadata when merging also when not using allStreams #1008
- remember concat/batch choice #371
2022-02-07 00:50:57 +07:00
Mikael Finstad
e2175ab825
fix error message
when output directory doesn't have enough space to save the file
fixes #1015
2022-02-06 14:40:16 +07:00
Mikael Finstad
97b5840f69
make sure disposition is not forced to default for mkv
also refactor/simplify disposition logic a bit

closes #972
2022-01-18 15:52:31 +07:00
Mikael Finstad
7cd06f9c91
fix input logic #988 2022-01-18 14:13:50 +07:00
Mikael Finstad
8efdc585f4
fix a bug of formatting/rounding #988 2022-01-18 14:11:50 +07:00
Mikael Finstad
acca967a4a
improve timeout logic 2022-01-15 23:57:56 +07:00
Mikael Finstad
59b3d4d932
improve comments 2022-01-15 23:57:38 +07:00
Mikael Finstad
78aa756cf2
add warning about #896 2022-01-15 23:30:48 +07:00
Mikael Finstad
ac127e88ab
improve waveform and keyframes
- allow up to 1000 keyframes in buffer before recycling #563
- buffer the last 100 rendered waveform segments #260

also:
- implement timeout/kill for ffprobe after 30 sec
2022-01-15 23:02:36 +07:00
Mikael Finstad
848120da5a
fix lint 2022-01-15 20:46:07 +07:00
Mikael Finstad
d0b2f05113
add setting for auto convert to supported format
also remove unnecessary notification
closes #414
2022-01-15 20:44:05 +07:00
Mikael Finstad
e001f2d2fa
show percent when zoomed in #888 2022-01-15 17:12:53 +07:00
Mikael Finstad
701828f2a9
improve convert to supported format dialog
be smarter about relevant options
2022-01-15 12:31:07 +07:00
Mikael Finstad
9e9d63fd93
add remux video and enc audio option
for html5ify
closes #870
2022-01-15 12:07:27 +07:00
Mikael Finstad
7f6e7ed6f7
implement remove item from batch list #89
also optimize contextMenu (useMemo)
2022-01-15 00:48:41 +07:00
Mikael Finstad
69a3b91926
Implement more consistent segment colors #625 2022-01-15 00:06:41 +07:00
Mikael Finstad
87df1c5e5f
implement go to timecode #625
inputted value
`g` key or right click timeline context menu
2022-01-14 22:54:33 +07:00
Mikael Finstad
9e05ec3498
make current time more visible #625
also show it when at the end of timeline
2022-01-14 22:27:56 +07:00
Mikael Finstad
d2caed1f09
Make hand icons point up towards timeline #625 2022-01-14 21:43:01 +07:00
Mikael Finstad
5534574df7
always save llc inside source directory
also refactor getOutPath
closes #905
2022-01-14 18:03:42 +07:00
Mikael Finstad
72b9fe53a4
rename 2022-01-14 17:00:02 +07:00
Mikael Finstad
375ee5d1d4
implement export frame numbers csv #878 2022-01-14 16:55:56 +07:00
Mikael Finstad
0ca64b0392
use formatTimecode more places #878 2022-01-14 16:18:46 +07:00
Mikael Finstad
f72b2e6e59
fix font size 2022-01-14 15:57:21 +07:00
Mikael Finstad
6b5857b902
allow showing timecode as frame counts #878 2022-01-14 15:57:14 +07:00
Mikael Finstad
3df67d6bdc
upgrade cra 2022-01-14 13:03:47 +07:00
Mikael Finstad
cf61f22c8f
auto convert trec format
closes #975
2022-01-11 16:29:14 +07:00
Mikael Finstad
72229d07d5
make it easier to understand if in simple mode
#958
2022-01-05 16:35:29 +07:00
Mikael Finstad
384d3ca697
always convert tags to string
fixes #879
2021-12-22 14:18:29 +07:00