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

1149 Commits

Author SHA1 Message Date
Mikael Finstad
059b30c4b8 add note 2020-02-20 11:53:35 +08:00
Mikael Finstad
76995daee4 export data streams as separate files by default 2020-02-20 11:15:05 +08:00
Mikael Finstad
542d4ef946 reduce springyness 2020-02-20 10:56:18 +08:00
Mikael Finstad
228adc844c improvements
-icon
-auto convert to dummy if cannot playback
2020-02-20 00:56:33 +08:00
Mikael Finstad
acbefef259 minor improvements 2020-02-19 15:41:33 +08:00
Mikael Finstad
2b256aa083 improve wheel scroll 2020-02-19 13:16:49 +08:00
Mikael Finstad
9defcc9bfe lint 2020-02-19 13:02:56 +08:00
Mikael Finstad
e4ebd604cc remove old file 2020-02-19 13:02:45 +08:00
Mikael Finstad
85c8d47058 fix division by zero 2020-02-19 12:56:37 +08:00
Mikael Finstad
dbb58053ed use correct extension for format 2020-02-19 12:56:30 +08:00
Mikael Finstad
296a3a2ad5 fix bug 2020-02-19 12:56:10 +08:00
Mikael Finstad
e01cc243eb improve stream info 2020-02-19 12:56:05 +08:00
Mikael Finstad
765caff34f implement zoom #113 2020-02-19 12:55:51 +08:00
Mikael Finstad
4c14cde1d1 fix crash 2020-02-18 22:22:13 +08:00
Mikael Finstad
0cfe65e890 improvements
- Show stream info
- add cute loader
2020-02-18 22:17:14 +08:00
Mikael Finstad
9973878175 add shortcut for close file 2020-02-18 17:07:10 +08:00
Mikael Finstad
da32b097ee fix text 2020-02-18 17:07:02 +08:00
Mikael Finstad
6906b69996 prompt before quit #229 2020-02-18 17:06:57 +08:00
Mikael Finstad
f73f7691e1 many improvements
- allow include streams from other files #214
- confirm on replace existing file
- allow select more formats
- fix output extension issue
- confirm open and close when editing existing file #229
- improve ui
2020-02-18 16:43:10 +08:00
Mikael Finstad
581bc52868 improve text 2020-02-17 00:16:35 +08:00
Mikael Finstad
c1d6711861 fix shriking of icon when narrow seg 2020-02-17 00:01:17 +08:00
Mikael Finstad
fa65b283ae add hevc as output codec 2020-02-17 00:01:01 +08:00
Mikael Finstad
c7278bac71 harden 2020-02-16 23:36:33 +08:00
Mikael Finstad
59d5700f9e update help 2020-02-16 23:09:56 +08:00
Mikael Finstad
2c3312c1fd delete source hotkey #114 2020-02-16 23:09:17 +08:00
Mikael Finstad
0edf133bac Allow invert cutting (remove instead of keep segments) #247 #128 #189 2020-02-16 22:45:54 +08:00
Mikael Finstad
3b72b20ca4 mose wheel scrolling #248 2020-02-16 20:53:29 +08:00
Mikael Finstad
bab424131f UI improvements #128 #189 2020-02-16 20:38:45 +08:00
Mikael Finstad
bb601d2545 improve segments 2020-02-16 13:04:07 +08:00
Mikael Finstad
e913982dc4 Many UI improvements #189
- support arbitrary stream selection #214
- implement mute playbakc #125
2020-02-16 12:33:38 +08:00
Mikael Finstad
5b69fd9a3b cleanup some deps 2020-02-15 21:04:44 +08:00
Mikael Finstad
e0f001c08b fix bug 2020-02-15 20:29:16 +08:00
Mikael Finstad
bf1b8e281c make active segment more visible 2020-02-15 16:18:54 +08:00
Mikael Finstad
d91ca6373a improve feedback 2020-02-15 15:57:40 +08:00
Mikael Finstad
4109c7c1cd close file #155 2020-02-15 15:09:05 +08:00
Mikael Finstad
2cea3c1a03 improve help sheet and add banner 2020-02-15 14:53:32 +08:00
Mikael Finstad
700c501b08 Automatically start NEW cut segment
#168
2020-02-15 00:03:57 +08:00
Mikael Finstad
9ed3b4a40e Implement convert with audio #94 2020-02-14 14:22:11 +08:00
Mikael Finstad
085b72591e suppor timecode running time #211 2020-02-14 13:48:58 +08:00
Mikael Finstad
f8db1ee045 add menu item to html5ify (fastest) 2020-02-14 13:13:55 +08:00
Mikael Finstad
bd636466e6 Detect existing html5ified
fixes #138
2020-02-14 12:44:16 +08:00
Mikael Finstad
a86808c003 simplify logic 2020-02-14 12:30:46 +08:00
Mikael Finstad
9b574f7f8c auto remove dummy vid 2020-02-14 12:25:16 +08:00
Mikael Finstad
0c65d6eee5 extract also raw data streams 2020-02-14 12:13:50 +08:00
Mikael Finstad
6b67f6546d rewrite to modern hooks 2020-02-14 12:06:15 +08:00
Mikael Finstad
ee3d7eb6ae include all streams also in merge #227 2020-02-12 22:26:54 +08:00
Mikael Finstad
5edaafa828 show segment time #224 2020-02-12 00:48:40 +08:00
Mikael Finstad
40646d2feb fix text 2020-02-12 00:41:34 +08:00
Mikael Finstad
a4108210ee improve trash #228 2020-02-12 00:40:10 +08:00
Mikael Finstad
095be5c92d Clarify unsupported codecs #232 2020-02-11 23:55:35 +08:00
Mikael Finstad
e68c4c01c7 fix #237 2020-02-11 23:26:15 +08:00
Mikael Finstad
23c17f2862 fix #236 2020-02-11 23:15:53 +08:00
Mikael Finstad
72145c46fc fix error when opening LC first time on mac 2020-02-11 22:16:48 +08:00
Mikael Finstad
7ca8524f12 fix warning 2020-02-11 22:16:48 +08:00
Mikael Finstad
736ed005b2 fix strange bug 2020-02-11 22:16:47 +08:00
Mikael Finstad
fe55f38ac0 fix ununsed arg 2019-11-05 02:14:47 +08:00
Mikael Finstad
f4d2dd9cdf allow drag drop multiple files to merge
also fix breaking electron change to showOpenDialog
and fix react warnings
2019-11-05 02:11:07 +08:00
Mikael Finstad
b33df356d5 Fix #195 2019-11-04 19:31:43 +08:00
Mikael Finstad
d0667d0f21 improve update checker 2019-11-04 19:29:56 +08:00
Mikael Finstad
f9e43a3bb4 upgrade build system
- change to electron-builder
- upgrade electron to 7
- use ffmpeg-static
2019-11-04 11:32:03 +08:00
Mikael Finstad
f4fb54fff6 Improvements
- add low FPS support for HEVC/H265 and PRORES using ffmpeg per-frame rendering
- rotation previews
- refactoring
2019-11-04 00:19:36 +08:00
Mikael Finstad
ce3a6d48b8 Add about/version on non mac too #161 2019-08-13 12:39:26 +02:00
Mikael Finstad
3cd1e012c4 lint 2019-08-12 22:19:07 +02:00
Mikael Finstad
b388d4f47c allow selecting output format #173 2019-08-12 22:04:43 +02:00
Mikael Finstad
73482bdf52 Fix for TS with unknown streams #170 2019-06-13 15:34:48 +02:00
Mikael Finstad
02a10bc306 attempt to fix https://github.com/mifi/lossless-cut/issues/141 2019-05-06 21:11:08 +02:00
Mikael Finstad
7c34b50f7f allow custom output dir for merge and extract also 2019-05-06 20:02:23 +02:00
Mikael Finstad
397b8b6bf8 Auto delete segments on merge #147 2019-05-06 17:37:09 +02:00
Mikael Finstad
e16d235a38 allow merge with multi cut
should cover #98
2019-01-29 00:07:38 +01:00
Mikael Finstad
0051e4d289 implement multi cut feature 🎉
#12
2019-01-28 18:09:54 +01:00
Mikael Finstad
2a44d0b648 include all streams by default 2019-01-28 18:01:43 +01:00
Mikael Finstad
89cc588714 improve cut section rendering 💪 2019-01-28 14:31:30 +01:00
Mikael Finstad
75839487b0 change menu text 2019-01-28 12:50:21 +01:00
Mikael Finstad
461e909e47 add default subtitle codec too 2019-01-28 12:49:57 +01:00
Mikael Finstad
9dc15267c8 fix merge extension 2019-01-28 12:49:36 +01:00
Mikael Finstad
e7f61dca61 implement extract all streams #106 2019-01-28 03:23:05 +01:00
Mikael Finstad
cfaa11028e Implement merge function
Also upgrade to react 16, sweetalert2 8 and refactor a bit
2019-01-28 02:25:31 +01:00
Mikael Finstad
8817c2c80b modernize code and use sweetalert2 2019-01-28 00:21:53 +01:00
Mikael Finstad
328a2cd6f8 add help text on drop box 2019-01-27 15:28:48 +01:00
Mikael Finstad
dc04cee6b5 make description a bit better 2019-01-12 21:14:02 +00:00
Mikael Finstad
4491c97102 Make keyframe cut the default option
people are having success with this so make it default
See discussion in #13
2019-01-12 21:13:52 +00:00
Mikael Finstad
278d91c1ba allow setting a time offset 2019-01-12 17:43:18 +00:00
Mikael Finstad
c24202e7b5 reintroduce edit menu so we can copy/paste 2019-01-12 17:33:56 +00:00
Mikael Finstad
959bcf8182 fix broken throttle code 2018-09-30 22:24:45 +02:00
Mikael Finstad
68da79caf9 upgrade eslint and fix 2018-09-30 22:08:36 +02:00
Mikael Finstad
f46be1781c fix edit menu removal 2018-09-25 00:19:57 +02:00
Mikael Finstad
3e3f046685 Add trash source function 2018-09-24 23:23:25 +02:00
Mikael Finstad
31c8b86e50 Allow for testing keyframe cut
This means a button for toggling whether -ss should be before -i or after (default)
See discussion #13 and #79
Also some text/button enchancements
2018-09-09 20:50:21 +02:00
Mikael Finstad
197c2f9418 transfer timestamp when html5ifying also 2018-09-09 20:43:54 +02:00
Mikael Finstad
aab07e848f make info boxes different from buttons 2018-09-09 20:04:20 +02:00
Mikael Finstad
4111b08c80 explicitly set customOutDir state also 2018-09-09 18:48:52 +02:00
Mikael Finstad
edd80ff6cb remember certain settings across file loads #85 2018-09-09 18:36:08 +02:00
Mikael Finstad
c13e54f5a3 Don't set cutEndTime when duration arrives
Instead make cutEndTime === undefined mean that there is no cut end
The problem was that duration can change later
...when starting to playback
2018-07-17 23:04:48 +02:00
Mikael Finstad
c6a75600cf Add exit menu item 2018-06-24 20:31:10 +02:00
Mikael Finstad
a75e47432f Add button to strip audio (#71) 2018-06-05 21:28:03 +02:00
Mikael Finstad
027790c93e Progress gear invisible if video is white in upper-left corner #77 2018-06-03 15:49:42 +02:00
matdv
0a3b716591 Add option to include all streams (#76)
* Add option to include all streams
2018-05-23 23:08:19 +02:00
Mikael Finstad
ab05f0d2a4 Implement travis building & releasing
Also bump ffmpeg to 4.0
2018-05-22 23:28:51 +02:00
Mikael Finstad
ef54e1b29f Allow pre-formatting or pre-encoding the video for more format support
Will still cut in original file.
2018-05-21 00:56:27 +02:00
Mikael Finstad
80afd9c91b remove forgotten imports 2018-05-21 00:55:32 +02:00
Mikael Finstad
a5ef299f4e Simplify loading according to new electron api 2018-05-21 00:50:05 +02:00
Mikael Finstad
24e1aa5bcd Swap keyboard.js with Mousetrap
mousetrap will not trigger when in input fields
2018-05-17 22:14:26 +02:00
Mikael Finstad
3cc6fbecc9 Use new ES features 2018-05-17 12:08:11 +02:00
Mikael Finstad
3a03d0b119 cleanup 2018-05-15 18:37:19 +08:00
Mikael Finstad
06f05fbfed Only render range if valid 2018-05-15 18:37:03 +08:00
Mikael Finstad
17ee2798ec Implement manual input field for cutting range
Format duration with : in GUI (still . in files)
Minor improvements
Move cut time indicators for more horizontal space
2018-05-15 18:36:33 +08:00
Mikael Finstad
4493aa5572 Bugfixes
Fix issue with two dots in extension
Also don't cut end if endpoint is the end of the video
2018-02-18 13:59:42 +01:00
Mikael Finstad
5bf0c15d3e Implement version check 2018-02-17 15:15:30 +01:00
Erik Fonselius
8b54a7cc2d Offset modified date to respect the frame offset (#55) 2018-02-11 14:09:01 +01:00
Mikael Finstad
0e23be39d1 Reset title too when dragging file 2018-02-11 13:30:38 +01:00
rarosalion
653d6b9936 Now copies subtitles, too (#66)
The exiting version drops subtitle streams. Added flags to ffmpeg to copy subtitles (if they exist)
2018-02-11 13:07:25 +01:00
Mikael Finstad
7962e174e6 Implement lossless rotation
Allow for setting rotation metadata
2018-01-23 18:00:25 +07:00
Mikael Finstad
67e87881b1 Make more room in UI by moving icons a bit
Status icons on the left, action icons on the right
2017-11-21 22:54:08 +01:00
Mikael Finstad
fdd0794a13 Don't cut start if start time is 0
To cause issue with black video in the beginning
https://github.com/mifi/lossless-cut/issues/50
2017-11-21 22:28:42 +01:00
Xiang Chen
9bc63240d4 Show input dir in out path when file is loaded (#48) 2017-10-22 17:08:42 +02:00
Mikael Finstad
815fbc082a Remove unused 2017-10-21 19:16:54 +02:00
Mikael Finstad
8edf9446f3 Show file title in window title
https://github.com/mifi/lossless-cut/issues/46
2017-10-08 21:49:43 +02:00
Mikael Finstad
095ffd6229 Fix indentation 2017-09-14 19:30:34 +02:00
Mikael Finstad
61a13ceabe Make ffmpeg map metadata 2017-09-14 19:15:19 +02:00
Mikael Finstad
60060d4b73 Preserve file modification time when cutting/screenshotting 2017-09-14 19:15:03 +02:00
Mikael Finstad
8fccd53a18 Fix loading of index.html
#40
https://electron.atom.io/docs/tutorial/quick-start/
2017-08-15 14:02:26 +02:00
Mikael Finstad
d208270cd0 Implement progress 2017-08-14 17:18:15 +02:00
Mikael Finstad
af74b7047b Implement select img format 2017-08-14 14:37:57 +02:00
Mikael Finstad
f70c994b9f Also save to custom output dir when capturing frame
(Make common method)
2017-08-14 14:25:27 +02:00
Mikael Finstad
0090bf8573 Don't try to seek when no duration
Also don't allow cuttin without a valid start/end (yes i removed this earlier)

https://github.com/mifi/lossless-cut/issues/10#issuecomment-290183019
2017-03-29 21:01:14 +02:00
Mikael Finstad
be90a8c7b6 Prevent focus on buttons 2017-03-19 21:02:31 +01:00
Mikael Finstad
b5424b2f7d Make end time the end of video by default 2017-03-19 18:01:38 +01:00
Mikael Finstad
9d061ac5c3 Be a bit smarter about aac/m4a files
See #28
2017-03-19 17:25:25 +01:00
Mikael Finstad
aee96f300b Fix capture frame
https://github.com/mifi/lossless-cut/issues/25
2017-02-11 13:27:03 +01:00
Mikael Finstad
94fabc0120 Implement help sheet (press H) 2017-01-28 22:25:27 +01:00
Mikael Finstad
35367991e4 Fix eslint error 2017-01-28 21:46:43 +01:00
Mikael Finstad
ca858f707c Encode # in filePath
See
https://github.com/mifi/lossless-cut/issues/8
2017-01-28 21:20:23 +01:00
Mikael Finstad
21898711dc Support more mkv files
https://github.com/mifi/lossless-cut/issues/15
2016-12-03 14:21:29 +01:00
Mikael Finstad
758388a12e Remove unused import 2016-11-26 00:18:11 +01:00
Mikael Finstad
08d9976482 Implement custom output dir button 2016-11-26 00:10:15 +01:00
Mikael Finstad
3d47759b0f Allow pass filename cmd line
https://github.com/mifi/lossless-cut/issues/9
2016-11-21 19:05:48 +01:00
Mikael Finstad
b622df997e Fix env detection
It was not working..
Use Sindre's module 🦄
2016-11-21 19:05:19 +01:00
Mikael Finstad
fd03dcc139 Handle ENOENT for cut as well (windows)
Also log stderr and stdout of ffmpeg on error
2016-11-21 18:42:31 +01:00
Mikael Finstad
32c61e2feb Printout version when starting 2016-11-21 18:41:51 +01:00
Mikael Finstad
3a79af75fa Remove extraneous dot 2016-11-21 13:02:49 +01:00
Mikael Finstad
a1a2e0f46c Bug fixes
Fix null error if unknown filetype.
Handle ENOENT:
Windows will throw error with code ENOENT if format detection fails.
2016-11-08 22:14:15 +01:00
Mikael Finstad
62c29af1de Fix file-opened which returns an array
This fixes a crash when cutting after opening with ctrl+O

Also add more intelligent format detection.
Beause ffprobe only returns a list of formats
2016-11-08 20:45:25 +01:00
Mikael Finstad
b9019af2ed Better error handling
Wrap in a bluebird.try to catch synchronous errors.
bluebird.resolve doesn't catch those!
2016-11-08 20:27:49 +01:00
Mikael Finstad
ec875b5c65 - Icon
- Bundle ffmpeg
- Fix menus on windows
- fs-methods seem to hang on windows, so exec instead

Resources:
https://discuss.atom.io/t/information-about-bundled-ffmpeg/28456/6
27730fd269/app/src/scripts/mp4-to-gif.js
https://github.com/orionhealth/electron-packager-plugin-non-proprietary-codecs-ffmpeg
https://github.com/konsumer/easy-ffmpeg
https://github.com/eugeneware/ffmpeg-static
2016-11-05 21:22:31 +01:00
Mikael Finstad
cce542af41 Adds support for more formats by detecting format and using same format for output file (don't always use mp4)
Also:
Improve ffmpeg error handling
React enable production
Improve react rendering a bit
2016-11-03 22:31:13 +01:00
Mikael Finstad
3851cb264f Fix whoops 2016-11-03 22:17:13 +01:00
Mikael Finstad
2abacd010d Implement partial speed control
J, K, L, however backward playing is not supported by chromium.
Also bump electron to 1.4.5
And don't use electron-compile anymore as it doesn't really give us anything
2016-11-03 20:16:27 +01:00
Mikael Finstad
9044f682fd Add new features
Add more hotkeys
More buttons
Show in/out point timestamps and click to jump to these
Scrubbing
Show error for unsupported files
2016-10-31 23:24:04 +01:00
Mikael Finstad
7228999240 initial 2016-10-30 11:57:12 +01:00