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

1154 Commits

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