Code Monkey home page Code Monkey logo

lossless-cut's Introduction


LosslessCut

LosslessCut

The swiss army knife of lossless video/audio editing
Twitter

Thanks to my supporters and everyone who purchased LosslessCut!

screenshot



LosslessCut aims to be the ultimate cross platform FFmpeg GUI for extremely fast and lossless operations on video, audio, subtitle and other related media files. The main feature is lossless trimming and cutting of video and audio files, which is great for saving space by rough-cutting your large video files taken from a video camera, GoPro, drone, etc. It lets you quickly extract the good parts from your videos and discard many gigabytes of data without doing a slow re-encode and thereby losing quality. Or you can add a music or subtitle track to your video without needing to encode. Everything is extremely fast because it does an almost direct data copy, fueled by the awesome FFmpeg which does all the grunt work.

Features

  • Lossless cutting of most video and audio formats
  • Smart cut (experimental)
  • Losslessly cut out parts of video/audio (for cutting away commercials etc.)
  • Losslessly rearrange the order of video/audio segments
  • Lossless merge/concatenation of arbitrary files (with identical codecs parameters, e.g. from the same camera)
  • Lossless stream editing
    • Combine arbitrary tracks from multiple files (ex. add music or subtitle track to a video file)
    • Remove unneeded tracks
    • Replace or re-encode only some tracks
    • Extract all tracks from a file (extract video, audio, subtitle, attachments and other tracks from one file into separate files)
  • Fast multi-file workflow (note: no mass/batch export yet)
  • Keyboard shortcut workflow
  • Losslessly remux video/audio into a different container (file) format
  • Take full-resolution snapshots from videos in JPEG/PNG format (low or high quality)
  • Export ranges of video frames to images (every nth frame, second, by scene change, best thumbnails)
    • Export only from a selected time range (segment)
    • Optionally include original timestamps in image file names
  • Manual input of cutpoint times
  • Apply a per-file timecode offset (and auto load timecode from file)
  • Edit file metadata, per-track metadata and per-track disposition
  • Change rotation/orientation metadata in videos
  • View technical data about all tracks
  • Timeline zoom and frame/keyframe jumping for cutting around keyframes
  • Video thumbnails and audio waveform
  • Saves per project cut segments to project file
  • View FFmpeg last command log so you can modify and re-run recent commands on the command line
  • Undo/redo
  • Give labels to cut segments
  • Annotate segments with tags
  • Import/export segments: MP4/MKV chapter marks, Text file, YouTube, CSV, CUE, XML (DaVinci, Final Cut Pro) and more
  • MKV/MP4 embedded chapters marks editor
  • View subtitles
  • Customizable keyboard hotkeys
  • Black scene detection, silent audio detection, and scene change detection
  • Divide timeline into segments with length L or into N segments or even randomized segments!
  • Speed up / slow down video or audio file (changing FPS)
  • Basic CLI and HTTP API

Example lossless use cases

  • Cut out commercials from a recorded TV show (and re-format from TS to MP4)
  • Remove audio tracks from a file
  • Extract music track from a video and cut it to your needs
  • Add music to a video (or replace existing audio track)
  • Combine audio and video tracks from separate recordings
  • Include an external subtitle into a video
  • Quickly change a H264/H265 MKV video to MOV or MP4 for playback on iPhone
  • Import a list of cut times from other tool as a EDL (edit decision list, CSV) and run these cuts with LosslessCut
  • Export a list of cut times as a CSV EDL and process these in another tool
  • Quickly cut a file by its MP4/MKV chapters
  • Quickly cut a YouTube video by its chapters (or music times from a comment)
  • Change the language of a file's audio/subtitle tracks
  • Attach cover art / thumbnail to videos / audio from an external JPEG file or from a frame on the timeline
  • Change author, title, GPS position, recording time of a video
  • Fix rotation of a video that has the wrong orientation flag set
    • Great for rotating phone videos that come out the wrong way without actually re-encoding the video.
  • Loop a video / audio clip X times quickly without re-encoding
  • Convert a video or parts of it into X image files (not lossless)
  • Losslessly split a video into one file per scene (note you probably have to shift segments, see #330.)
  • Cut away silent parts of an audio/video
  • Split video into segments to for example respect Twitter's 140 second limit
  • Annotate each segment with one or more tags, then use those tags to organize your segments or use it to create an output folder structure or hierarchy for your segments.

Export cut times as YouTube Chapters

  1. Export with Merge and "Create chapters from merged segments" enabled
  2. Open the exported file and select "Import chapters" in the dialog
  3. File -> Export project -> YouTube Chapters

Re-encode only the audio track, keeping the lossless video track

First export each track as individual files. Then use Handbrake or similar to re-encode the audio file (if mp4 file, encode as AAC.) Then open the extracted video stream in LosslessCut. The open your encoded audio file and select "Include all tracks from the new file". Then export.

Advanced multi-step workflows

Tip: you can use LosslessCut in multiple passes in order to achieve separate trimming of individual tracks:

  1. Open a file an export all tracks as individual files
  2. Open the exported track files independently and cut them as desired
  3. Add the track back to the video and combine them to one output video

Download

If you want to support my continued work on LosslessCut, and you want the advantage of a secure and simple installation process with automatic, stable updates, consider getting it from your favorite store:

Mac App Store MS badge

For Linux these are some alternatives:

Snapcraft Flathub

If you prefer to download the executables manually, this will of course always be free:

If you find LosslessCut useful, I'm very thankful for your support.

What's the difference between App Stores and GitHub download? Please see FAQ

Nightly builds 🧪

If you want to test the very latest and greatest bleeding-edge version. 1. Go to Actions, 2. click on the latest Build/release, 3. scroll all the way down to Artifacts. Note: these builds may be totally broken!

Supported formats

LosslessCut uses Chromium's HTML5 video player, and not all FFmpeg supported formats and codecs are natively supported. Generally, the following formats should work: MP4, MOV, WebM, Matroska, OGG and WAV. The following audio codecs: FLAC, MP3, Opus, PCM, Vorbis and AAC. Video codecs: H264, AV1, Theora, VP8, VP9 and H265 (needs hardware decoder). More information about Chromium supported formats / codecs. What's the difference between a codec and a format?

Codecs and formats not listed above can still be converted to a supported format/codec from the File menu. (Try the fastest option first.) A low quality version of the file (with/without audio) will then be created and opened in the player. The actual cut/export operation will still be performed on the original file, so it will be lossless. This allows for potentially opening any file that FFmpeg is able to decode.

Video demos

Typical workflow

  • Drag drop a video file into player or use /CTRL+O.
  • Press SPACE to play/pause or , ,. or mouse/trackpad wheel to seek back/forth.
  • Select the cut segment's start and end time by moving the time marker and then pressing I to set start time, and O to set end time.
    • Note that all segments you create will be preserved and exported as new files. You can change this behavior with the Yin Yang symbol ☯️, in which case it will instead remove all selected segments and export the parts between segments.
    • Note also that start times will not be accurate, see Known issues
  • (optional) If you want to add more than one segment, move to the desired start time and press +, then select the next segment start/end times with I/O.
  • (optional) If you want to re-merge all the selected segments into one file after cutting, toggle the button Separate files to Merge cuts.
  • (optional) If you want to export to a certain output folder, press the Working dir unset button (default: Input file folder)
  • (optional) If you want to change orientation, press the rotation button
  • (optional) By default, audio, video and subtitle tracks from the input file will be cut and exported. Press the Tracks button to customise and/or add new tracks from other files.
  • (optional) select a new output format
  • (optional) In the right-hand segments panel, right click a segment for options, or drag-drop to reorder. Segments will appear in this order in the merged output.
  • When done, press the Export button (or E) to show an overview with export options.
  • (optional) adjust any export options
  • Then press Export again to confirm the export
  • Press the Camera button (or C) if you want to take a JPEG/PNG snapshot from the current time
  • If you want to move the original file to trash, press the trash button
  • For best results you may need to trial and error with another output format (Matroska takes nearly everything), change keyframe cut mode or disable some tracks (see known issues).
  • Press SHIFT + / to view all keyboard & mouse shortcuts.
  • Note: The original video file will not be modified. Instead, a file is created file in the same directory as the original file with from/to timestamps in the file name.

If you have any problem or question, please read this before creating an issue. I try to answer most common questions here.

Donate 🙈

This project is maintained by me alone. The project will always remain free and open source, but if it's useful for you, consider supporting me. :) It will give me extra motivation to improve it. Or even better donate to ffmpeg because they are doing the world a big favor 🙏

Paypal | crypto

Featured

Star History Chart

Attributions

More software

  • I made a command line video editor with slick transitions and lots of colors! editly
  • I made a tool for cross platform sharing of files between computer/phone over the local network: ezshare
  • I created a super simple Instagram bot for getting more followers SimpleInstaBot

Made with ❤️ in 🇳🇴

More apps by mifi.no

Follow me on GitHub, YouTube, IG, Twitter for more awesome content!

lossless-cut's People

Contributors

5idereal avatar 70h avatar akdelikan avatar bovirus avatar chairc avatar comradekingu avatar dependabot[bot] avatar hooke007 avatar igorruckert avatar irmatade avatar jadranr avatar kolanp avatar kuzmich55 avatar ld892012 avatar mahtiankka avatar mifi avatar muelli avatar naumgod avatar rockytdr avatar santossi avatar shakil-shahadat avatar slrslr avatar snyk-bot avatar solderq35 avatar sopor avatar taozi1996 avatar trebmuh avatar vikriu avatar vladwinner avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lossless-cut's Issues

Request: Seek directly to keyframe

Thank you for making this program, it's a godsend when it comes to quick-and-dirty video cutting.

Being able to seek directly to a keyframe would make splitting videos much easier and faster. If the user so chooses, this would reduce the number of options you have to deal with.

For example, instead of wondering if you should cut at 10:01, 10:02, or 10:03, you could see that there's a keyframe at 10:02, making the decision pretty easy.

This could be implemented as GUI buttons similar to the seek forward/backward buttons, a keyboard shortcut (ctrl+right, ctrl+left), and/or clicking on the seekbar itself (ctrl click, for example).

Special characters in path like # break app

Not allowed to load local resource: file:///C:/Users/ndarville/Downloads/#foo\nar\LosslessCut-win32-x64\resources\app.asar/index.html

As you can see, the slashes are both forwards and backwards here; UNIX ones before the # and Windows ones after. Moving the folder to Downloads/ resolves the problem.

I don’t know much about handling paths in JS, otherwise I’d just do a pull request.

This is on Windows 10.

Clarification on “tiny seek”

Tiny seek does not advance/go back frame by frame, but rather a few frames at a time. Is it because since the cuts are done without reencoding, tiny seek jumps between keyframes, ignoring b-frames and the like in the process?

JKL Keys

A nice addition for lossles-cut would be to add J, K, and L shortcuts like most video editors have.

This isn't per se a video editor but I think it would make sense to integrate these shortcuts to find the perfect in/out point easier without using the mouse.

A bit more specific for each shortcut:

  • K: act just like the space bar to play/pause the video
  • L: start playing at 50% and increase the speed every time pressed.
  • J: start playing backwarts at 50% and increase the speed every time pressed.

Keep up the good work 👍

Filename in titlebar doesn't get updated when a new file is dragged in

Minor issue: after cutting one file, I drag in the next one but the title bar still displays the old filename.

Everything else about the new filename is fine - in particular when I perform the cut operation on the new file it gets a correct filename.

lossless-cut 1.9.0.0

By the way - thanks for this utility. It's a very nice tool.

(Request Enhancement) Advanced scroll/skip options

Request
Scrolling with the mouse wheel at higher speed (speed parameter adjustable in seconds skipping)
or
Use arrow-keys in combination with shift/ctrl/alt for different speeds (speed parameter in seconds adjustable for each combination)

Both forwards and backwards

Crop video option

First I want to thank you for creating this awesome tool.
It would be nice, to have option to crop video.

Let LC remember window size and position on screen!

Whenever I start LC the initial window is placed with a comparable small window and centered in the mid of the screen.

When I move and resized the window, then exit and restart it the previous window size + position is not remembered.

Could you make LC remember it in the next release?

Thank you

Not opening videos

I'm running into an issue where Lossless Cut will not open videos at all. I have tried confirming the FFMPEG path, tried different formats,etc. Is there a definitive list of what media works and what doesn't?

Error while cuting an MKV video file in Windows 10

E:\Downloads\LosslessCut-win32-x64\resources\app.asar\ffmpeg.js:18 Error: spawn undefined ENOENT
at notFoundError (E:\Downloads\LosslessCut-win32-x64\resources\app.asar\node_modules\cross-spawn\lib\enoent.js:11)
at verifyENOENT (E:\Downloads\LosslessCut-win32-x64\resources\app.asar\node_modules\cross-spawn\lib\enoent.js:46)
at ChildProcess.cp.emit (E:\Downloads\LosslessCut-win32-x64\resources\app.asar\node_modules\cross-spawn\lib\enoent.js:33)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215)

language

..Would like to ask if the interface can be changed in other languages? If it can be set to Chinese?

Mac OS X (other OS-es not tried yet) "not supported" when playing a file with the # in filename

When a video has a # in the filename, you get a "ERR_FILE_NOT_FOUND" error with a console log entry like this:

/Users/jeroenp/tmp/1.0004-0014-Nathans%20Popquiz%20-%20Aflevering%20#69-4B7jYjVBPrw.mp4:1 GET file:///Users/jeroenp/tmp/1.0004-0014-Nathans%20Popquiz%20-%20Aflevering%20 net::ERR_FILE_NOT_FOUND

When playing you then get this error message:

This video format is not supported, maybe you can re-format the file first using ffmpeg

After renaming 1.0004-0014-Nathans Popquiz - Aflevering #69-4B7jYjVBPrw.mp4 to 1.0004-0014-Nathans Popquiz - Aflevering 69-4B7jYjVBPrw.mp4 it loads fine.

Two things:

  1. Please correct the error message
  2. If possible make loading files having # in them possible

My guess is that 1. is easy, but 2. might be difficult if it's not a URL encoding issue.

allow to pass filename in command line

It would be great if program could auto-open file passed in command line parameter (we would than start this from another program) - at least for windows version.

example:
LosslessCut.exe X:\cut_135611_136858_Time-2016-10-26_18_00-Nova-TV2016-10-2618-00.mp4

1.7 Downloads not working ?

Hi, just found out about lossless-cut and wanted to give it a try...
But any link I try on the downloads page gives me an error page about an XLM file instead of a file ?
TIA,
fp

Windows 10 .JS error

hi there

    I am trying to run lossless cut on win 10 pro x64, no matter what video i load i get the same response after a few seconds, please find a screenshot attached, be happy if you could let me know how to fix it or make an update for your app tnx !

2017 01 02-19 33

MKV File Not Supported?

Tried to trim a MKV file I made in Handbrake. The error message I get is "this video format is not supported, maybe you can re-format the file first using ffmpeg"

Here's the log
Version 1.8.0
/Applications/LosslessCut.app/Contents/Resources/app.asar/renderer.js:237 Load /Users/UserName/Desktop/FileName.mkv
/Applications/LosslessCut.app/Contents/Resources/app.asar/ffmpeg.js:111 getFormat /Users/UserName/Desktop/FileName.mkv
/Applications/LosslessCut.app/Contents/Resources/app.asar/ffmpeg.js:119 formats matroska,webm
/Applications/LosslessCut.app/Contents/Resources/app.asar/ffmpeg.js:125 fileType detected format {"ext":"mkv","mime":"video/x-matroska"}
/Applications/LosslessCut.app/Contents/Resources/app.asar/renderer.js:418 DOMException: The element has no supported sources.

Auto update

Auto update has been requested.
Or possibly download the latest file when pressing the menu. This requires us to build into the binary which release link it should download. (Linux has multiple types)

Sony XAVC video not supported

Video shot with Sony A7R II camera does not seem to be supported properly. After loading the video, only the initial frame is visible. Playback and other controls don't respond in any way. Taking a snapshot works but produces a jpeg file with just black.

I experimented re-encoding ffmpeg -i C0001.MP4 test.mp4 and with the resulting file lossless-cut playback and preview work but exporting results in just an audio file.

Example file https://www.dropbox.com/s/y0u39uxpsgabr0n/C0001.MP4?dl=0 mediainfo output:

General
Complete name                            : C0001.MP4
Format                                   : XAVC
Codec ID                                 : XAVC (XAVC/mp42/iso2)
File size                                : 110 MiB
Duration                                 : 9 s 600 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 96.2 Mb/s
Encoded date                             : UTC 2017-06-29 18:24:30
Tagged date                              : UTC 2017-06-29 18:24:30

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 9 s 600 ms
Bit rate mode                            : Variable
Bit rate                                 : 94.4 Mb/s
Maximum bit rate                         : 100.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.455
Stream size                              : 108 MiB (98%)
Encoded date                             : UTC 2017-06-29 18:24:30
Tagged date                              : UTC 2017-06-29 18:24:30
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : IEC 61966-2-4
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Big
Format settings, Sign                    : Signed
Codec ID                                 : twos
Duration                                 : 9 s 600 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.76 MiB (2%)
Encoded date                             : UTC 2017-06-29 18:24:30
Tagged date                              : UTC 2017-06-29 18:24:30

Other
Type                                     : meta
Duration                                 : 9 s 600 ms

End time should be end of video by default.

If we set a start time but not an end time, and try to export, we get this message:

However, if we set an end time but not a start time, and try to export, it simply assumes the start time is the beginning of the video, which makes perfect sense and is expected. Similarly, then, the end time should be interpreted as the end of the video, if none is set.

Paths with # in them do not work

Possibly also other special characters

This applies only to html5 video tag. It tries to load file://your/#path#/#withhashes/file.mp4 and fails.
Possible fix: (this.state.filePath || '').replace(/#/g, '%23')

Exported screenshots are PNG and not JPG on Linux

On Linux, exporting a screenshot creates a file called ****.jpg, however, trying to open that with an image viewer file results in the following error:

Error interpreting JPEG image file (Not a JPEG file: starts with 0x89 0x50)

After renaming the file from .JPG to .PNG, it works.

Error while cuting an MP4 video file in Windows 10

When playing the clipped video in VLC, the beginning is not displayed, only the audio. After a few seconds it starts to display the video.

In Windows Media Player, the end of the video is frozen and audio loses sync with the video.

Example attached.

example.zip

[Linux 64 bit] v1.8.0 YARA Signature found

MAIN SOURCE :

https://www.hybrid-analysis.com/sample/52037cc4c9248e8891b28ad98150b62b3286946b7e6d33440ef871209329ffd9?environmentId=300

YARA signature match

details :

YARA signature "ldpreload" classified file "52037cc4c924elf.bin" as "backdoor" based on indicators: "dlopen,dlsym,fopen,FOPEN,fOpen,fopen64,__fxstat,__fxstat64,Accept,accept,610063006300650070007400,ACCEPT,__lxstat,__lxstat64,open,Open,oPen,OPEN,opEn,opeN,rmdir,__xstat,__xstat64,unlink,Unlink,fdopendir,opendir,OpenDir,openDir,readdir,Readdir,ReadDir,readdir64" (Reference: https://stuff.rop.io/, Author: xorseed)

source:

YARA Signature

relevance:

10/10

research: Show me all reports matching the same indicator https://www.hybrid-analysis.com/search?query=indicatorid%3Ayara-0

Multiple in and out points?

Would it be possible to set multiple in and out points for videos, so that one can create a clip containing of multiple parts of the original video?

This could, e.g., be helpful to cut out commercials etc.

Sync timestamp metadata relative to main video file

When using multiple video cameras and recorders it would be very useful to have the tool keep "Recorded date" timestamp metadata intact relative to the original video file, so that the exported clip would have timestamp with added offset relative to the starting point of the clipping. This way the clips from separate cameras could be easily/automatically synced in timeline.

Related issue #33

No .EXE in extracted folders

Hi,LosslessCut 1.9.0 appears to be exactly the App I have been seeking for a long time, if only I could Run it! I have Downloaded LosslessCut-darwin-x64.zip numerous times, from github.com and videohelp.com. Whenever I Extract All on the downloaded Zip file there is no .EXE present.
I have atempted this Download & Extract on Windows 7 and 10 Systems, running Kaspersky or AVAST AV, using Chrome, Firefox, IE and Edge Browsers, all to no avail. I believe I have read of this issue arising before. Can you offer any suggestions to resolve please?

Linux problem

I'm using a linux OS (not a distro): Solus os 1.2.1
The app is launched well, but when I select the area that I want, the video generated is empty but the file is created.

First just sound, video follows after a few seconds

Hi, when I use LosslesCut on a Mac (macOS Sierra 10.12.23 (16D32) some edited videos have the following problem: video starts, I can hear sound but no video yet, only after a few seconds the video can be seen. From that moment the video plays correct (in sync). Publishing such clips on YouTube is not possible. The file can be uploaded, but can't be processed.
I have included a sample of such video.
uhlvjd.mp4-00.32.16.547-00.33.04.956.mp4.zip

Feature request: Set in and out time manually

Hi
I have a computer which doesn't have the greatest CPU (i3-4500U), when I run screen records from my FHD phone it plays smoothly on VLC but Lossless-Cut gets stuck with it (like about 3-5 seconds to response when trying to jump to some point in the video), so it would be very useful for me if I can just watch the video with VLC and then just feed the in and out time textually.
Since clicking on the in/out time is already reserved for seeking the video to that time maybe a double click can be set for manual setting.
Thanks
Ezra

missing babel-runtime in package.json?

After npm install && npm start I get the below, running npm install --save babel-runtime allows app to run.

C:\Users\Mike\git\lossless-cut (master)
λ npm start

[email protected] start C:\Users\Mike\git\lossless-cut
electron src

App threw an error during load
Error: Cannot find module 'babel-runtime/core-js/object/assign'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (C:\Users\Mike\git\lossless-cut\node_modules\electron-prebuilt-compile\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\Mike\git\lossless-cut\node_modules\electron-prebuilt-compile\node_modules\electron-compile\lib\index.js:3:15)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Module._resolve

req: audio waveform with zoom and thumbnails

Any plan to add audio waveform and a scrollbar with zoom in/out for time scale and thumbnails?
I ask because I'm currently using another app to cut long streaming files into pieces. Finding gaps between content is easier with a waveform (I look for empty regions) and thumbnails which can show standard intro/outro sections.

Multiple In-Out points

Enhancement: Set point in, set point out, set point in, set point out, etc.

Export = Multiple clips base on in-out points.

Hear sound / audio when scrubbing / seeking

One thing I really like about other video editors when cutting is that when transversing the file they still play a fraction of the sound at the moment of movement. This is particularly useful when trying to cut a piece of video where the audio also matters, as you can have a better sense of when the important part actually starts (or end).

For a precise cutter like LosslessCut, where no reencoding happens, that would be extremely welcome.

Please Make It Work on Audio M4A/AAC Files Too

It would be great if this worked on audio files too. I get the error:

Whoops! ffmpeg was unable to cut this video. It may be of an unknown format or codec combination

I confirmed that FFmpeg could losslessly cut this particular file:
ffmpeg -i iKey_002.m4a -ss 00:46:30.094 -to 01:12:56.649 -c copy OutputFile.m4a

Thanks for making a very useful program. It allows non-tech people to do an extraordinary thing!

Don't cut at -ss 0

See #13 (comment)

@gleddamax So what you're saying is that if you cut from exactly 0 (the very beginning of the video), we should exclude the arguments -ss 0? That's easy to fix, just have to whether it breaks anything.

Doesn't open on Windows 10

v1.9.0

Tried x32 and x64, it just basically closes itself automatically or something, it shows up on task manager for a split second and then vanishes.

Tried compatibility mode, executing as admin and to no avail.

Please fix.
--Thanks

LosslessCut is referred to as 'Electron' in some contexts on Windows

2017-01-30_11-35-11

I believe you can fix this by adding arguments to electron-packager like --win32metadata.ProductName='LosslessCut' --win32metadata.FileDescription='Simple, cross platform video editor for lossless trimming / cutting of videos' (see https://github.com/electron-userland/electron-packager/blob/master/usage.txt).

I'm not 100% sure which fields should have which strings.

I was going to make a PR but I am unable to test it as extract-ffmpeg errors with mv: cannot stat 'extracted/linux_ia32/ffmpeg-3.2-32bit-static/ffmpeg': No such file or directory on Arch Linux and NixOS, and the VAR=val command shell syntax isn't supported on Windows.

MP4 tag information lost after output

Hey! Thanks for the great app. I love the minimalistic design and the overall speed.
I just have a problem with some lost tag information in mp4 files. Thinks like cover, publisher, etc. get lost after cutting a mp4 file.

Here you see the original tag information in the mp4 file, created via MusicBrainz Picard:
1

And after putting it through LosslessCut the following happens:
2

I didn't test ist with any other video file formats.
I hope this get's fixed sometime in the near feature. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.