IssueRaiser

😍 Implement "smart cut"

We cannot cut between keyframes, it's a technical limitation of modern video codecs. So ffmpeg will choose the nearest keyframe, which will not be the exact time you requested. Might be able to use [avcut](https://github.com/anyc/avcut) for h264 although it is experimental. See https://github.com/mifi/lossless-cut/issues/372#issuecomment-761844667 See also discussion in #13 **Update**: Have made an initial implementation of this. 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. ## VideoRedo VideoRedo is a now-defunct software that had feature overlap with LosslessCut. - https://www.videohelp.com/software/VideoReDo - https://forum.videohelp.com/threads/407142-VideoReDo-owner-passed-away-product-ceased-seeking-alternatives#post2668738 ## [Smart Media Cutter](https://smartmediacutter.com/) [Recently built](https://www.reddit.com/r/videoredo/comments/1f71j0s/im_trying_to_build_a_modern_version_of_videoredo/) in order to replace VideoRedo They open sourced their smart cutting algorithm, could take inspiration from it: https://github.com/skeskinen/smartcut ## Remaining issues ### Inaccurate seeking Seeking is not always accurate, causing glitches and/or jumps in the stitch points. This is often because I haven't found a way to consistently seek to and cut on an exact frame. Sometimes it could be caused by the "audio sa

Posted by mifi on Feb 10, 2019, 2:20 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

github (SaaS)

😍 Implement "smart cut"

mifiFeb 10, 2019, 2:20 PM

We cannot cut between keyframes, it's a technical limitation of modern video codecs. So ffmpeg will choose the nearest keyframe, which will not be the exact time you requested. Might be able to use [avcut](https://github.com/anyc/avcut) for h264 although it is experimental. See https://github.com/mifi/lossless-cut/issues/372#issuecomment-761844667 See also discussion in #13 **Update**: Have made an initial implementation of this. 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. ## VideoRedo VideoRedo is a now-defunct software that had feature overlap with LosslessCut. - https://www.videohelp.com/software/VideoReDo - https://forum.videohelp.com/threads/407142-VideoReDo-owner-passed-away-product-ceased-seeking-alternatives#post2668738 ## [Smart Media Cutter](https://smartmediacutter.com/) [Recently built](https://www.reddit.com/r/videoredo/comments/1f71j0s/im_trying_to_build_a_modern_version_of_videoredo/) in order to replace VideoRedo They open sourced their smart cutting algorithm, could take inspiration from it: https://github.com/skeskinen/smartcut ## Remaining issues ### Inaccurate seeking Seeking is not always accurate, causing glitches and/or jumps in the stitch points. This is often because I haven't found a way to consistently seek to and cut on an exact frame. Sometimes it could be caused by the "audio sa

Comments (0)

No comments yet. Start the discussion.

Comment on this issue