Answers.Body: <p><a href="https://github.com/mifi/lossless-cut" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gShQV.jpg" alt="LosslessCut screenshot" /></a></p>
  <p><a href="https://github.com/mifi/lossless-cut" rel="nofollow noreferrer">LosslessCut</a> is an open-source video cutting tool. Its interface is built using <a href="https://www.electronjs.org/" rel="nofollow noreferrer">Electron</a>, and its backend is <em>ffmpeg</em>. It's available on the three main operating systems (Linux/Mac/Windows), and also from the Mac, Microsoft and Snap stores.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-12T14:41:36.623Z
Answers.Text: Does the job, open source, easy to install. The interface could be cleaner but it's easy to learn to use.
Answers.UserDisplayName: Pietro Battiston
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-03T13:26:37.287Z
Answers.Text: Too bad it's [inprecize](https://github.com/mifi/lossless-cut/issues/692) same as using ffmpeg from cli. Had a hope it would be smart enough to re-encode the small fragments to fix `-ss` timing discrepancy, but sadly it isn't ([yet](https://github.com/mifi/lossless-cut/issues/126)).
Answers.UserDisplayName: Klesun
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-03T14:00:06.660Z
Answers.Text: Though it has these nice "previous keyframe"/"next keyframe" buttons - with them one can extract a separate tiny video of the whole keyframe in which you want to split, re-encode it and merge result back with parts before/after the keyframe.
Answers.UserDisplayName: Klesun
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-04T10:10:26.427Z
Answers.LastActivityDate: 2020-11-04T10:10:26.427Z
Answers.UserDisplayName: Denilson Sá Maia
Answers.Body: <p><a href="https://i.sstatic.net/dzHA4.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dzHA4.jpg" alt="Free Studio 1.4.12 running on Windows XP"></a></p>
  
  <p>DVDVideoSoft makes a tool called Free Video Editor. It is free, but certain features are only available to premium users who buy a license. Free Video Editor can cut out scenes without re-encoding when using compatible formats such as H.264. You can export as a single file, or individual pieces. This feature was free (up until at least version 1.4), but is now only available to premium users.</p>
  
  <p>MP4Splitter (part of MP4Tools) can be used to break an MP4 into multiple parts, and MP4Joiner (part of MP4Tools) can be used to join the parts you wish to keep. It is free.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-04T07:06:12.670Z
Answers.LastActivityDate: 2019-01-04T07:06:12.670Z
Answers.UserDisplayName: No Reply
Answers.Body: <h1>FFmpegYAG</h1>
  <h3>FFmpeg GUI for Linux &amp; Windows</h3>
  <p><a href="https://sourceforge.net/projects/ffmpegyag/" rel="nofollow noreferrer">https://sourceforge.net/projects/ffmpegyag/</a></p>
  <p>~18mb</p>
  <p>I was looking for something to trim specific clips from my dashcam videos.  A lot of the &quot;free&quot; programs I found were trial versions or came with extra baggage.  When I realized that FFmpeg was a reputable engine that was capable of doing all the work, I decided I wanted to find a solution that worked with it.</p>
  <p>I have very limited experience with <strong>FmpegYAG</strong>, but I was able to get it working after a few minutes of testing.  I can visually cue the onscreen video to the beginning and ending of the clip I want encode.  If you preview the video it will show a red &quot;X&quot; over the video that you have selected to exclude from encoding.</p>
  <p>I like that it can generate script files.  That allows me to see what commands it is sending to FFmpeg.  They script files have an extension of <code>.cmd</code> but are equivalent to <code>.bat</code> files.</p>
  <p><a href="https://i.sstatic.net/qui1F.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qui1F.png" alt="FFmpegYAG screen shot" /></a>
  Note that if you select <code>copy</code> as the Video Codec, the encoding is <em>extremely</em> fast.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-12T14:29:01.640Z
Answers.Text: Unfortunately, this does not work on recent OSes (requires an old version of wxwidgets).
Answers.UserDisplayName: Pietro Battiston
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-21T20:06:04.103Z
Answers.LastActivityDate: 2019-08-21T20:06:04.103Z
Answers.LastEditDate: 2020-06-17T09:53:03.607Z
Answers.UserDisplayName: Ben
Answers.Body: <p>AviDemux will do this - keyframe accurate without re-encoding ('copy' mode) as long as the vid file encoder settings are identical (I get driven nuts when the specs vary somewhat unexpectedly. I wish there was a clever workaround...)</p>
  <p>Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. Tasks can be automated using projects, job queue and powerful scripting capabilities. It supports most video formats like DVD, VOB, AVI, WMV, MPG, MP4, AVI, MOV, MKV, DV, FLV and codecs like H.264/AVC, H.265/HEVC, MPEG4 ASP(DivX, XviD), MPEG2, MJPEG, HUffYUV, PNG, YV12.
  It's available on the three main operating systems (Linux/Mac/Windows), and there's a 'portable' version.
  I use it on a Mac.
  GREAT APP!
  <a href="https://www.videohelp.com/software/AviDemux" rel="nofollow noreferrer">https://www.videohelp.com/software/AviDemux</a></p>
  <p>=========
  I have also used LosslessCut recently and am very impressed by the possibilities of its 'smart cut' potential:
  &quot;...This experimental feature will re-encode the part of the video from the cutpoint until the next keyframe in order to attempt to make a 100% accurate cut while losslessly copying the rest of the segment.
  Only works on some files:...&quot;</p>
  <p><a href="https://github.com/mifi/lossless-cut/issues/126" rel="nofollow noreferrer">https://github.com/mifi/lossless-cut/issues/126</a></p>
  <p><a href="https://github.com/mifi/lossless-cut/blob/master/README.md" rel="nofollow noreferrer">https://github.com/mifi/lossless-cut/blob/master/README.md</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-27T03:31:09.597Z
Answers.LastActivityDate: 2023-01-27T03:31:09.597Z
Answers.UserDisplayName: Vadar
Body: <p><em>To illustrate: Say I want to delete the 10-11 minute point of a 20 minute video and create the new video of 19 minutes without re-encode. Same as described in the link below; think: removing commercials from a tv show.</em></p>
  
  <p><a href="https://superuser.com/questions/681885/how-can-i-remove-multiple-segments-from-a-video-using-ffmpeg">https://superuser.com/questions/681885/how-can-i-remove-multiple-segments-from-a-video-using-ffmpeg</a></p>
  
  <p>I was trying to do the above with ffmpeg, but without re-encoding. I currently can do it by using each command separately i.e.:
      ffmpeg -ss 00:00:00 -i input -to 00:00:00 -c copy output 
  And then I'd concaticate the pieces I want together.</p>
  
  <p>I looked up how to find the nearest i frame to try and get more accuracy when choosing times. But putting all this together and checking the video after getting each piece of information...turned into a very inefficient process.</p>
  
  <p>So I wanted to know if there are any gui (video editors) that support this functionality of ffmpeg in a more manageable manner. I mean the simplest and ideal process I can think of is: I toss the videos in the editor, i click an option to disable re-encoding, i choose the sections I want. Then it just chooses the nearest i frame to my cut choices (if it displayed the i frame that would be good too) and does all the above stuff.
  I don't have much experience with the modern capabilities of video editors. The ones I have used have very limited functionality when it comes to rewrapping/'no-encoding' compared to ffmpeg command prompt, or just always re-encode to begin with. So I'm just curious if there are editors that have the kind of re-wrapping functionality that ffmpeg command prompt has. Otherwise I'll need to pursue the solution from a scripting perspective, of which I know nothing about.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-28T03:12:36.837Z
Comments.Text: This verges on limitations with codec types, rather than being solely about limitations with software. A codec with i-frames (I presume h264 or similar is what you are using) has distinct limitations when copying the stream, as opposed to re-encoding, of which you seem aware. If you have the ability to record in a different format amenable to this trim/cut process you describe, then the best advice is to use that.
Comments.UserDisplayName: user3643
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-23T21:16:44.387Z
Comments.Text: Without reencode no GUI: https://stackoverflow.com/questions/59460175/how-to-trim-a-video-file-at-a-precise-position-without-re-encoding-using-ffmpeg
Comments.UserDisplayName: Ciro Santilli OurBigBook.com
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-28T03:13:27.233Z
Comments.Text: That said, if there's such a gui, I'm eager to know it.
Comments.UserDisplayName: user3643
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-28T18:18:14.027Z
Comments.Text: Changing your workflow to not care about an extra re-encode here or there seems to be the standard all communities adhere by....I'm really confused as to why that is though given most of the data floating around has a low colour bit (8 bit) and suffers greatly from artifacts created during re-encode. I guess I'm hoping to stumble across a secret "rewrapping" society or something. The search continues...
Comments.UserDisplayName: kite
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-28T18:39:25.107Z
Comments.Text: Well, if you have full control, then hopefully you're capturing in a lossless or virtually lossless format. If so, then re-encodes will not affect quality, however, they take more time. My concern in my workflow is time spent, as I only work with my own data, which is captured lossless, but I generate over 1000 hours of data per year.
Comments.UserDisplayName: user3643
Tags: <ffmpeg><video-editor>
Title: What are some GUI that allow me to cut sections from a video without re-encode?
UserDisplayName: kite
ThreadText: # What are some GUI that allow me to cut sections from a video without re-encode?
  
  (Asked by: username_0 on 2018-12-27)
  
  *To illustrate: Say I want to delete the 10-11 minute point of a 20 minute video and create the new video of 19 minutes without re-encode. Same as described in the link below; think: removing commercials from a tv show.*
  
  <https://superuser.com/questions/681885/how-can-i-remove-multiple-segments-from-a-video-using-ffmpeg>
  
  I was trying to do the above with ffmpeg, but without re-encoding. I currently can do it by using each command separately i.e.:
  ffmpeg -ss 00:00:00 -i input -to 00:00:00 -c copy output
  And then I'd concaticate the pieces I want together.
  
  I looked up how to find the nearest i frame to try and get more accuracy when choosing times. But putting all this together and checking the video after getting each piece of information...turned into a very inefficient process.
  
  So I wanted to know if there are any gui (video editors) that support this functionality of ffmpeg in a more manageable manner. I mean the simplest and ideal process I can think of is: I toss the videos in the editor, i click an option to disable re-encoding, i choose the sections I want. Then it just chooses the nearest i frame to my cut choices (if it displayed the i frame that would be good too) and does all the above stuff.
  I don't have much experience with the modern capabilities of video editors. The ones I have used have very limited functionality when it comes to rewrapping/'no-encoding' compared to ffmpeg command prompt, or just always re-encode to begin with. So I'm just curious if there are editors that have the kind of re-wrapping functionality that ffmpeg command prompt has. Otherwise I'll need to pursue the solution from a scripting perspective, of which I know nothing about.
  
  **Tags:** ffmpeg, video-editor
  
  > **Comments:**
  > **username_1**: This verges on limitations with codec types, rather than being solely about limitations with software. A codec with i-frames (I presume h264 or similar is what you are using) has distinct limitations when copying the stream, as opposed to re-encoding, of which you seem aware. If you have the ability to record in a different format amenable to this trim/cut process you describe, then the best advice is to use that.  
  > **username_1**: That said, if there's such a gui, I'm eager to know it.  
  > **username_0**: Changing your workflow to not care about an extra re-encode here or there seems to be the standard all communities adhere by....I'm really confused as to why that is though given most of the data floating around has a low colour bit (8 bit) and suffers greatly from artifacts created during re-encode. I guess I'm hoping to stumble across a secret "rewrapping" society or something. The search continues...  
  > **username_1**: Well, if you have full control, then hopefully you're capturing in a lossless or virtually lossless format. If so, then re-encodes will not affect quality, however, they take more time. My concern in my workflow is time spent, as I only work with my own data, which is captured lossless, but I generate over 1000 hours of data per year.  
  > **username_2**: Without reencode no GUI: https://stackoverflow.com/questions/59460175/how-to-trim-a-video-file-at-a-precise-position-without-re-encoding-using-ffmpeg  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_3 on 2020-11-04. Score: 4
  
  [![LosslessCut screenshot](https://i.sstatic.net/gShQV.jpg)](https://github.com/mifi/lossless-cut)
  
  [LosslessCut](https://github.com/mifi/lossless-cut) is an open-source video cutting tool. Its interface is built using [Electron](https://www.electronjs.org/), and its backend is *ffmpeg*. It's available on the three main operating systems (Linux/Mac/Windows), and also from the Mac, Microsoft and Snap stores.
  
  > **Comments:**
  > **username_4**: Does the job, open source, easy to install. The interface could be cleaner but it's easy to learn to use.  
  > **username_5**: Too bad it's [inprecize](https://github.com/mifi/lossless-cut/issues/692) same as using ffmpeg from cli. Had a hope it would be smart enough to re-encode the small fragments to fix `-ss` timing discrepancy, but sadly it isn't ([yet](https://github.com/mifi/lossless-cut/issues/126)).  
  > **username_5**: Though it has these nice "previous keyframe"/"next keyframe" buttons - with them one can extract a separate tiny video of the whole keyframe in which you want to split, re-encode it and merge result back with parts before/after the keyframe.  
  
  ---
  
  ### Answer by username_6 on 2019-01-04. Score: 1
  
  [![Free Studio 1.4.12 running on Windows XP](https://i.sstatic.net/dzHA4.jpg)](https://i.sstatic.net/dzHA4.jpg)
  
  DVDVideoSoft makes a tool called Free Video Editor. It is free, but certain features are only available to premium users who buy a license. Free Video Editor can cut out scenes without re-encoding when using compatible formats such as H.264. You can export as a single file, or individual pieces. This feature was free (up until at least version 1.4), but is now only available to premium users.
  
  MP4Splitter (part of MP4Tools) can be used to break an MP4 into multiple parts, and MP4Joiner (part of MP4Tools) can be used to join the parts you wish to keep. It is free.
  
  
  ---
  
  ### Answer by username_7 on 2019-08-21. Score: 1
  
  # FFmpegYAG
  
  ### FFmpeg GUI for Linux & Windows
  
  <https://sourceforge.net/projects/ffmpegyag/>
  
  ~18mb
  
  I was looking for something to trim specific clips from my dashcam videos. A lot of the "free" programs I found were trial versions or came with extra baggage. When I realized that FFmpeg was a reputable engine that was capable of doing all the work, I decided I wanted to find a solution that worked with it.
  
  I have very limited experience with **FmpegYAG**, but I was able to get it working after a few minutes of testing. I can visually cue the onscreen video to the beginning and ending of the clip I want encode. If you preview the video it will show a red "X" over the video that you have selected to exclude from encoding.
  
  I like that it can generate script files. That allows me to see what commands it is sending to FFmpeg. They script files have an extension of `.cmd` but are equivalent to `.bat` files.
  
  [![FFmpegYAG screen shot](https://i.sstatic.net/qui1F.png)](https://i.sstatic.net/qui1F.png)
  Note that if you select `copy` as the Video Codec, the encoding is *extremely* fast.
  
  > **Comments:**
  > **username_4**: Unfortunately, this does not work on recent OSes (requires an old version of wxwidgets).  
  
  ---
  
  ### Answer by username_8 on 2023-01-27. Score: 0
  
  AviDemux will do this - keyframe accurate without re-encoding ('copy' mode) as long as the vid file encoder settings are identical (I get driven nuts when the specs vary somewhat unexpectedly. I wish there was a clever workaround...)
  
  Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. Tasks can be automated using projects, job queue and powerful scripting capabilities. It supports most video formats like DVD, VOB, AVI, WMV, MPG, MP4, AVI, MOV, MKV, DV, FLV and codecs like H.264/AVC, H.265/HEVC, MPEG4 ASP(DivX, XviD), MPEG2, MJPEG, HUffYUV, PNG, YV12.
  It's available on the three main operating systems (Linux/Mac/Windows), and there's a 'portable' version.
  I use it on a Mac.
  GREAT APP!
  <https://www.videohelp.com/software/AviDemux>
  
  =========
  I have also used LosslessCut recently and am very impressed by the possibilities of its 'smart cut' potential:
  "...This experimental feature will re-encode the part of the video from the cutpoint until the next keyframe in order to attempt to make a 100% accurate cut while losslessly copying the rest of the segment.
  Only works on some files:..."
  
  <https://github.com/mifi/lossless-cut/issues/126>
  
  <https://github.com/mifi/lossless-cut/blob/master/README.md>
  
  
  ---
  
  