Commit Graph

177 Commits (v3.7.0)

Author SHA1 Message Date
Mikael Finstad 75839487b0 change menu text 7 years ago
Mikael Finstad 461e909e47 add default subtitle codec too 7 years ago
Mikael Finstad 9dc15267c8 fix merge extension 7 years ago
Mikael Finstad e7f61dca61 implement extract all streams #106 7 years ago
Mikael Finstad cfaa11028e Implement merge function
Also upgrade to react 16, sweetalert2 8 and refactor a bit
7 years ago
Mikael Finstad 8817c2c80b modernize code and use sweetalert2 7 years ago
Mikael Finstad 328a2cd6f8 add help text on drop box 7 years ago
Mikael Finstad dc04cee6b5 make description a bit better 7 years ago
Mikael Finstad 4491c97102 Make keyframe cut the default option
people are having success with this so make it default
See discussion in #13
7 years ago
Mikael Finstad 278d91c1ba allow setting a time offset 7 years ago
Mikael Finstad c24202e7b5 reintroduce edit menu so we can copy/paste 7 years ago
Mikael Finstad 959bcf8182 fix broken throttle code 7 years ago
Mikael Finstad 68da79caf9 upgrade eslint and fix 7 years ago
Mikael Finstad f46be1781c fix edit menu removal 7 years ago
Mikael Finstad 3e3f046685 Add trash source function 7 years ago
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
7 years ago
Mikael Finstad 197c2f9418 transfer timestamp when html5ifying also 7 years ago
Mikael Finstad aab07e848f make info boxes different from buttons 7 years ago
Mikael Finstad 4111b08c80 explicitly set customOutDir state also 7 years ago
Mikael Finstad edd80ff6cb remember certain settings across file loads #85 7 years ago
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
7 years ago
Mikael Finstad c6a75600cf Add exit menu item 7 years ago
Mikael Finstad a75e47432f Add button to strip audio (#71) 7 years ago
Mikael Finstad 027790c93e Progress gear invisible if video is white in upper-left corner #77 7 years ago
matdv 0a3b716591 Add option to include all streams (#76)
* Add option to include all streams
7 years ago
Mikael Finstad ab05f0d2a4 Implement travis building & releasing
Also bump ffmpeg to 4.0
7 years ago
Mikael Finstad ef54e1b29f Allow pre-formatting or pre-encoding the video for more format support
Will still cut in original file.
7 years ago
Mikael Finstad 80afd9c91b remove forgotten imports 7 years ago
Mikael Finstad a5ef299f4e Simplify loading according to new electron api 7 years ago
Mikael Finstad 24e1aa5bcd Swap keyboard.js with Mousetrap
mousetrap will not trigger when in input fields
7 years ago
Mikael Finstad 3cc6fbecc9 Use new ES features 7 years ago
Mikael Finstad 3a03d0b119 cleanup 7 years ago
Mikael Finstad 06f05fbfed Only render range if valid 7 years ago
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
7 years ago
Mikael Finstad 4493aa5572 Bugfixes
Fix issue with two dots in extension
Also don't cut end if endpoint is the end of the video
8 years ago
Mikael Finstad 5bf0c15d3e Implement version check 8 years ago
Erik Fonselius 8b54a7cc2d Offset modified date to respect the frame offset (#55) 8 years ago
Mikael Finstad 0e23be39d1 Reset title too when dragging file 8 years ago
rarosalion 653d6b9936 Now copies subtitles, too (#66)
The exiting version drops subtitle streams. Added flags to ffmpeg to copy subtitles (if they exist)
8 years ago
Mikael Finstad 7962e174e6 Implement lossless rotation
Allow for setting rotation metadata
8 years ago
Mikael Finstad 67e87881b1 Make more room in UI by moving icons a bit
Status icons on the left, action icons on the right
8 years ago
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
8 years ago
Xiang Chen 9bc63240d4 Show input dir in out path when file is loaded (#48) 8 years ago
Mikael Finstad 815fbc082a Remove unused 8 years ago
Mikael Finstad 8edf9446f3 Show file title in window title
https://github.com/mifi/lossless-cut/issues/46
8 years ago
Mikael Finstad 095ffd6229 Fix indentation 8 years ago
Mikael Finstad 61a13ceabe Make ffmpeg map metadata 8 years ago
Mikael Finstad 60060d4b73 Preserve file modification time when cutting/screenshotting 8 years ago
Mikael Finstad 8fccd53a18 Fix loading of index.html
#40
https://electron.atom.io/docs/tutorial/quick-start/
8 years ago
Mikael Finstad d208270cd0 Implement progress 8 years ago
Mikael Finstad af74b7047b Implement select img format 8 years ago
Mikael Finstad f70c994b9f Also save to custom output dir when capturing frame
(Make common method)
8 years ago
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
9 years ago
Mikael Finstad be90a8c7b6 Prevent focus on buttons 9 years ago
Mikael Finstad b5424b2f7d Make end time the end of video by default 9 years ago
Mikael Finstad 9d061ac5c3 Be a bit smarter about aac/m4a files
See #28
9 years ago
Mikael Finstad aee96f300b Fix capture frame
https://github.com/mifi/lossless-cut/issues/25
9 years ago
Mikael Finstad 94fabc0120 Implement help sheet (press H) 9 years ago
Mikael Finstad 35367991e4 Fix eslint error 9 years ago
Mikael Finstad ca858f707c Encode # in filePath
See
https://github.com/mifi/lossless-cut/issues/8
9 years ago
Mikael Finstad 21898711dc Support more mkv files
https://github.com/mifi/lossless-cut/issues/15
9 years ago
Mikael Finstad 758388a12e Remove unused import 9 years ago
Mikael Finstad 08d9976482 Implement custom output dir button 9 years ago
Mikael Finstad 3d47759b0f Allow pass filename cmd line
https://github.com/mifi/lossless-cut/issues/9
9 years ago
Mikael Finstad b622df997e Fix env detection
It was not working..
Use Sindre's module 🦄
9 years ago
Mikael Finstad fd03dcc139 Handle ENOENT for cut as well (windows)
Also log stderr and stdout of ffmpeg on error
9 years ago
Mikael Finstad 32c61e2feb Printout version when starting 9 years ago
Mikael Finstad 3a79af75fa Remove extraneous dot 9 years ago
Mikael Finstad a1a2e0f46c Bug fixes
Fix null error if unknown filetype.
Handle ENOENT:
Windows will throw error with code ENOENT if format detection fails.
9 years ago
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
9 years ago
Mikael Finstad b9019af2ed Better error handling
Wrap in a bluebird.try to catch synchronous errors.
bluebird.resolve doesn't catch those!
9 years ago
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
9 years ago
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
9 years ago
Mikael Finstad 3851cb264f Fix whoops 9 years ago
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
9 years ago
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
9 years ago
Mikael Finstad 7228999240 initial 9 years ago