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

1149 Commits

Author SHA1 Message Date
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
Mikael Finstad
2d705e5454
fix a bug
where a h265 file would not auto convert to supported format, because png was identified as a playable video stream
fixes #931
2021-11-17 12:09:53 +07:00
Marco Rolappe
5e0f6e1a63
Adjust handling of FCP/DaVinci Resolve timeline XML file content (#839)
* Adjust handling of FCP/DaVinci Resolve timeline XML file content

Check for element existence and handle alternative format (not having project.children hierarchy).

* make more DRY

* add test

Co-authored-by: marco rolappe <m_rolappe@web.de>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2021-11-15 20:46:30 +07:00
Mikael Finstad
5e2d8891c7
improve trash logic 2021-11-15 13:15:09 +07:00
Matt Klaber
6cc18f1d8e
Change playback speed exponentially (#840)
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2021-11-14 23:11:43 +07:00
Mikael Finstad
9ea7dcd46e
add test for xmeml #839 2021-11-14 22:24:26 +07:00
Michael Yaworski
3db3241ccd
Remove deleted files from batch (#861)
* Remove deleted files from batch

* improve a bit

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2021-11-14 22:03:45 +07:00
Vitalii Shvetsov
11502b84ed
Upgrade ESLint and add useCallback (#914)
* Improvements:

- Upgrade ESLint

* Missing useCallback.

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2021-11-14 20:41:21 +07:00
Mikael Finstad
2568f5cd0f
rearrange state a bit
also add missing setDispositionByStreamId on reset
2021-11-13 20:46:32 +07:00
Mikael Finstad
a8c288a728
fix lint 2021-11-13 18:43:50 +07:00
Mikael Finstad
833ab45c58
fix issue with newer ffmpeg version 2021-11-13 18:39:28 +07:00
Mikael Finstad
9666ce4a2c
run "power on self test" on startup 2021-11-13 18:27:02 +07:00
Mikael Finstad
98da22e8dc
Upgrade ffmpeg to 4.4.1
except mac
Remove ffmpeg-ffprobe-static, use scripts instead

https://github.com/flathub/no.mifi.losslesscut/pull/11
2021-11-13 18:26:32 +07:00
Mikael Finstad
0ba15d0ee4
fix regression 2021-10-30 22:59:02 +07:00
Mikael Finstad
9c77e74d14
improve inverse #909 2021-10-30 22:43:41 +07:00
Mikael Finstad
c1089d0a81
change pbf to utf-16
seems to be the official format
https://github.com/mifi/lossless-cut/issues/867#issuecomment-950345845
2021-10-24 22:39:49 +07:00
Mikael Finstad
17a33dd5df
allow drag-drop edl formats
csv, pbf, edl(mplayer), cue and xml (xmeml)
2021-10-24 22:30:43 +07:00
Mikael Finstad
9a6b689377
implement more lax potplayer matching #867 2021-10-24 22:29:49 +07:00
Mikael Finstad
f77066d4bd
add cancel button to i18n 2021-09-04 22:20:25 +07:00
Mikael Finstad
bc62fa0d06
Improve performance by batching react updates 2021-08-28 21:56:58 +07:00
Mikael Finstad
4b524d4e5c
paralellize 2021-08-28 21:47:55 +07:00
Mikael Finstad
d3c8fce967
Implement batch file list #89 2021-08-28 21:47:43 +07:00
Mikael Finstad
deba4e28de
fix lint 2021-08-28 14:24:39 +07:00
Mikael Finstad
9479fa996d
make waveform ffmpeg less verbose 2021-08-28 14:22:06 +07:00
Mikael Finstad
6bc5bb394f
commit forgotten code
fixes #836
2021-08-28 14:21:52 +07:00
Mikael Finstad
fb2adaf677
implement subtitle viewing #250
limitation: does not work with 'fastest' preview (due to canvas overlaying the video)
2021-08-28 14:21:09 +07:00
Mikael Finstad
86a41809ad
move icon back 2021-08-27 23:29:56 +07:00
Mikael Finstad
f3872728d0
improve tracks ui #482 2021-08-27 23:22:08 +07:00
Mikael Finstad
6041a95f6e
Improve tracks screen #482
- select/deselect all by type (audio/video/subtitle)
- deselect / select all tracks option
- improve tracks screen UX
2021-08-27 23:11:28 +07:00
Mikael Finstad
9cd8f13f7b
Implement support for exporting attachment streams as files 2021-08-27 23:10:15 +07:00
Mikael Finstad
d64464ab01
remove duplicate line 2021-08-27 23:08:04 +07:00
Mikael Finstad
230b035286
implement per-stream disposition
allows for adding cover art to videos #673
2021-08-27 17:16:22 +07:00
Mikael Finstad
cd57d6cbe3
fix brokne mapInputStreamIndexToOutputIndex
it would not take into account disabled streams
2021-08-27 17:13:34 +07:00
Mikael Finstad
0d1cb5c091
refactor 2021-08-27 13:26:45 +07:00
Mikael Finstad
6c7b63d9c2
Store "working" in a ref so we can avoid race conditions 2021-08-27 13:18:14 +07:00
Mikael Finstad
612d883bd0
remove fairly useless notifications 2021-08-27 11:51:26 +07:00
Mikael Finstad
d9fd31a199
fix flawed out directory detection logic 2021-08-27 11:51:09 +07:00
Mikael Finstad
a7a9c2785f
skip subtitles for previews
they can cause trouble
2021-08-26 23:59:04 +07:00
Mikael Finstad
82a608d44e
reduce verbosity of ffprobe 2021-08-26 23:58:48 +07:00
Mikael Finstad
b7678510c7
Improvements
- Simplify and streamline preview file logic
- Allow remember preview choice (convert to supported format) #829
- Improve error handling
2021-08-26 23:58:38 +07:00
Mikael Finstad
96086d307f
improve merge/concat dialog
and don't auto sort by file name #832
2021-08-26 16:36:12 +07:00
Mikael Finstad
822a366235
add "-" to allowed sanitized chars 2021-08-26 16:35:22 +07:00
Mikael Finstad
fc7d4de774
allow colon in filename on linux #830
also fix issue where tags were not being sanitized
2021-08-26 16:35:09 +07:00
Mikael Finstad
41458bb7e9
Use x264 again for preview #722 2021-08-26 00:16:25 +07:00
Mikael Finstad
c004d82b1e
refactor 2021-08-25 23:19:38 +07:00
Mikael Finstad
a0a7ba33b5
improve "done" toast 2021-08-25 22:54:13 +07:00
Mikael Finstad
e688f151b6
UI improvements
- Upgrade evergreen-ui
- improve stream selector
- improve buttons
- add default error toast
- better error handling

https://github.com/segmentio/evergreen/releases/tag/v5.0.0
https://evergreen.segment.com/introduction/v6-migration-guide
2021-08-25 22:21:30 +07:00
Mikael Finstad
71e01f8485
Add check for output file length on windows #745 2021-08-25 16:00:09 +07:00
Mikael Finstad
8e1ad813d6
default to mov when formatData.tags.major_brand === 'XAVC' #367 2021-08-25 15:33:04 +07:00
Mikael Finstad
34355c0df3
Convert to supported format also on PIPELINE_ERROR_DECODE #804 2021-08-25 15:29:44 +07:00
Mikael Finstad
dffd1e448e
add supported conversion: "Fastest: Low playback speed (audio remux), likely to fail" #424
also refactor a bit
2021-08-25 14:54:29 +07:00
Mikael Finstad
4330ed9c76
Feature: invert all segments on timeline
also simplify inverseCutSegments logic
2021-08-25 13:36:04 +07:00
Mikael Finstad
fafb1510c8
improve text 2021-08-25 00:25:34 +07:00
Mikael Finstad
ba6407c1b3
reduce timeout for audio volume 2021-08-24 22:56:36 +07:00
Mikael Finstad
6c2376cfc2
try to fix #670 2021-08-24 22:56:25 +07:00
Mikael Finstad
f133cfd484
improve text 2021-08-24 22:55:54 +07:00
Mikael Finstad
079327dac3
allow controlling audio playback volume
closes #307
#125
2021-08-24 21:22:56 +07:00
Mikael Finstad
c63d61d472
support Mplay EDL types 1,2,3 also #609 2021-08-24 20:23:27 +07:00
Mikael Finstad
3e6730e00f
fix metadata crash #720
also useMemo to improve performance
2021-08-24 19:43:39 +07:00
Mikael Finstad
662ff44d83
reduce default notification durations #802 2021-08-24 17:58:08 +07:00
Mikael Finstad
46323867ff
Don't show capture screenshot when "Hide informational notifications" #802 2021-08-24 17:57:38 +07:00
Mikael Finstad
4e06dbcb9e
fix bug 2021-08-24 17:34:04 +07:00
Mikael Finstad
65b1157ddb
refactor 2021-08-24 17:34:00 +07:00
Mikael Finstad
4c30c91307
improve feedback 2021-08-24 17:33:50 +07:00
Mikael Finstad
b2cdbdb937
Simplify file open logic
so drag-drop works exactly the same as file->open and cmd line args
2021-08-24 17:33:40 +07:00
Mikael Finstad
adcf79a6c2
Improvements
- Allow editing segment tags #427
- Store main project file as .lcc (JSON5 format), for future flexibility. existing CSV will still be loaded and converted to .llc #545
- Rename menu items to Export/import project (as we are not changing the save location) #593
2021-08-24 16:21:26 +07:00
Mikael Finstad
4a1ec76a90
allow longer label names when sanitize is disabled #427 2021-08-24 01:18:05 +07:00
Mikael Finstad
490e9aa746
improve close icon 2021-08-24 00:44:32 +07:00
Mikael Finstad
6a756e6eee
improve sanitize 2021-08-24 00:44:25 +07:00
Mikael Finstad
faf70568dc
Add partial support for segment tags #427 #814
allows importing from cue files
does not support loading/saving
2021-08-24 00:44:11 +07:00
Mikael Finstad
0e6f69ac1d
improve english 2021-08-23 23:54:45 +07:00