Commit Graph

130 Commits (189056dfcdec360c9882e4fad8919b3d5c34a404)

Author SHA1 Message Date
Mikael Finstad 461e909e47 add default subtitle codec too 8 years ago
Mikael Finstad 9dc15267c8 fix merge extension 8 years ago
Mikael Finstad e7f61dca61 implement extract all streams #106 8 years ago
Mikael Finstad cfaa11028e Implement merge function
Also upgrade to react 16, sweetalert2 8 and refactor a bit
8 years ago
Mikael Finstad 8817c2c80b modernize code and use sweetalert2 8 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
8 years ago
Mikael Finstad 197c2f9418 transfer timestamp when html5ifying also 8 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
8 years ago
Mikael Finstad a75e47432f Add button to strip audio (#71) 8 years ago
matdv 0a3b716591 Add option to include all streams (#76)
* Add option to include all streams
8 years ago
Mikael Finstad ef54e1b29f Allow pre-formatting or pre-encoding the video for more format support
Will still cut in original file.
8 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
8 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
9 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)
9 years ago
Mikael Finstad 7962e174e6 Implement lossless rotation
Allow for setting rotation metadata
9 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
9 years ago
Mikael Finstad 61a13ceabe Make ffmpeg map metadata 9 years ago
Mikael Finstad 60060d4b73 Preserve file modification time when cutting/screenshotting 9 years ago
Mikael Finstad d208270cd0 Implement progress 9 years ago
Mikael Finstad f70c994b9f Also save to custom output dir when capturing frame
(Make common method)
9 years ago
Mikael Finstad 9d061ac5c3 Be a bit smarter about aac/m4a files
See #28
10 years ago
Mikael Finstad 21898711dc Support more mkv files
https://github.com/mifi/lossless-cut/issues/15
10 years ago
Mikael Finstad 08d9976482 Implement custom output dir button 10 years ago
Mikael Finstad 3a79af75fa Remove extraneous dot 10 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.
10 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
10 years ago
Mikael Finstad b9019af2ed Better error handling
Wrap in a bluebird.try to catch synchronous errors.
bluebird.resolve doesn't catch those!
10 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
10 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
10 years ago
Mikael Finstad 7228999240 initial 10 years ago