2

I have a long video and want to save 50 parts of the video each into its own file. It's important to me to get the start and end of the files very precise and (sub-100ms) and the software should allow corresponding zoom. The size of my video is 500px * 450px and not the standard format that gets used on YouTube or TV.

I would like to do the task with a minimum of effort. It's okay when I have to spend some time learning the software, but afterwards I want the process of splicing the videos into parts to go fast.

What free video editing software that works on Windows has an UI that allows this task to be done fast?

1
  • FYI: The best accuracy is frame level editing, there is nothing more accurate than that. If you have 100 fps each one is separate frame. Especially given a time based constraint of <100ms.
    – cybernard
    May 27, 2018 at 18:46

2 Answers 2

2

You could use FFMPEG from the command line, or via a wrapper such as MoviePy to perform the actual splits, after using just about any video player that displays the time(s) to select when you would like to split. However, while you can specify a start time & duration to the millisecond, (using the format HH:MM:SS.sss for start time and duration), but the actual resolution that you can split your file will depend on the frame rate and the format.

If your original video file is a raw video file, (i.e. with no compression), with a 50Hz frame rate since there is one frame every 20 millisecond the resolution of splitting the file will be 20 milliseconds, (as you can only split at a whole frame).

However, if you are using a compressed format, such as MPEG-2/3/4, etc., your actual movie consists of key frames (with all of the information) and intermediate frames, (which rely on the data from the preceding key frame and possibly the intermediate frames since the last key frame. For the split file to be properly view-able it must start with a key frame and some compressed recordings only have a key frame as low as every 10 seconds.

See https://trac.ffmpeg.org/wiki/Seeking for a discussion of how to specify start and end/duration times.

FFMPEG can operate quickly by using the commands to copy portions of the original file without re-coding but you are likely to get problems if your splits are not on the key frames so your best be, (if space allows), to:

  1. Use ffmpeg to re-code the original video to an uncompressed AVI file - this will make the file a lot bigger but will fill in the missing frames so that your time resolution will become dependent on your frame rate.
  2. Use ffmpeg to generate the 50(ish) fragments from the uncompressed AVI file re-coding the output as whatever output format you need.
  3. If you are sure that you have finished with it delete the uncompressed AVI file.

FFMPEG is free, gratis & open source and is available for most platforms.

1

A free program with a reasonably intuitive user interface is available in Kdenlive. I have created a few special video segments which are non-standard size, which covers your size consideration.

It's a great program running on Linux and an almost-as-great program running on Windows. There's a newer version available since I used it last in Windows, which means it might not crash as frequently.

The process for your purposes would be to load the entire video into the resource box, then drag it into the filmstrip/editor section. You might be able to place markers and extract/export segments as individual files, but I've not tested that aspect/feature.

At the very least you can place markers, cut away the unselected video, save the selected video, then use Undo to return the full video, re-locate the markers and perform another sequence.

It might take as long to accomplish these steps as it does to read them, as the program is well written. YouTube has many supportive videos as well, if you require more powerful features to be applied to your project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.