1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 18:32:34 +01:00
Commit Graph

933 Commits

Author SHA1 Message Date
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