1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-26 04:02:51 +01:00
Commit Graph

886 Commits

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