1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00
lossless-cut/issues.md
2022-10-20 00:32:01 +07:00

7.0 KiB

FAQ

  • Can LosslessCut crop, resize, stretch, mirror, overlay text/images, watermark, blur, redact, re-encode, speed-up/slow-down, create GIF, slideshow, burn subtitles, color grading, fade/combine/mix/merge audio tracks or change audio volume?
  • Can LosslessCut be batched/automated using a CLI or API?
    • While it was never designed for advanced batching/automation, it does have a basic CLI, and there are a few feature requests regarding this: #980 #868.
  • Is there a keyboard shortcut to do X?
    • First check the Keyboard shortcuts dialog. If you cannot find your shortcut there, see this issue.
  • When will you implement feature X?

Common / known issues & troubleshooting

The exported video has a problem

If the video exports successfully without any error from LosslessCut, but it does not look as expected when playing back, please try this:

  • Try both Keyframe cut vs Normal cut (do not use Smart Cut if you have any problem)
  • Disable unnecessary tracks from the Tracks panel. First try to only enable a single track (e.g. video) and if that succeeds, then work your way by enabling more tracks and see which one is causing the problem. Sometimes LosslessCut (ffmpeg) is unable to cut certain tracks at all.
  • Select a different output format (matroska and mov support a lot of codecs.)
  • Try to enable the Experimental Flag under Settings
  • Try the same operation with a different file and see whether it's a problem with just one file

Cutting times are not accurate

Start cut time will be "rounded" to the nearest previous keyframe. This means that you often have move the start cut time to few frames after the desired keyframe.

  • Lossless cutting is not an exact science. For some files, it just works. For others, you may need to trial and error depending on the codec, keyframes etc to get the best cut. See #330
  • Your mileage may vary when it comes to Keyframe cut vs Normal cut. You may need to try both, depending on the video. ffmpeg also has documentation about these two seek/cut modes. Keyframe cut means -ss before -i and Normal cut means -ss after -i.
  • If you're seeing a blank video at the beginning of the resulting file, try Keyframe cut instead.
  • You may try to enable the new "Smart cut" mode to remedy this inaccuracy. However it is very experimental and may not work for most files.
  • Try to set the start-cutpoint a few frames before or after the nearest keyframe (may also solve audio sync issues)

Cut file has same length as input

If you cut a file, but the duration of the exported file is the same as input file's duration, try to disable all tracks except for the video track and see if that helps. Sometimes a file contains some tracks that LosslessCut is unable to cut. It will then leave them as is, while cutting the other tracks. This may lead to incorrect output duration.

Merge / concat results in incorrect duration, sped up or slowed down segments

This might be caused by trying to merge files that are not compatible. Make sure they have the exact same codec parameters before merging. If you are sure they are the same, you can try to running each of the files through LosslessCut before merging them. By "running them through LosslessCut" I mean open each file and just export without cutting, and then merge each of the exported files. This might "clean up" certain parameters in the files, to make them more compatible for merging. In particular it might give them the same timebase, which is known to help. For more info see #455.

Smart cut not working

Smart cut is experimental, but if you're having problems, check out this issue.

Linux specific issues

  • If you get an error like FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now., try to run it as ./lossless-cut --no-sandbox. See #258

Windows specific issues

Known limitations

Low quality / blurry playback and no audio

Some codecs are not natively supported, so they will preview with low quality playback and no audio. You may convert these files to a supported codec from the File menu, see #88.

MPEG TS / MTS

MPEG TS (.mts/.ts) files have a tendency to be a bit problematic. It may help to first remux them to another format like MP4/MKV. Then you can open the MP4/MKV file an work on that.

EXIF / metadata

EXIF/metadata can be preserved (see Export Options dialog), but it doesn't always output compliant files, so use it carefully.

When exporting you may lose some proprietary data tracks

For example tmcd, fdsc and gpmd added by GoPro. These can however be losslessly exported to separate files if you want to keep this data for later.

Still cannot find an answer?

If any other problem please search for existing issues before you file an issue here on GitHub. You can check the developer tools for any errors or clues. Menu: Tools -> Toggle Developer Tools. Also you are welcome to hang out on Discord 🤗