VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi, I have a video merge problem. Two segments of videos, say A and B, a few seconds at the end of A and at the beginning of B are exactly the same. I want to merge them into a perfect video (cut off the duplicate part and play smoothly). I don't know the exact seconds of the duplicate part lasts. Is there any software or AI to solve the problem?
    Quote Quote  
  2. Start with AVIDemux.
    It will let you step through the frames.
    You will have to decide where the duplicates end.
    Then cut that part.
    You should only need to make the cut on one of the videos.
    The usual advice save good copies of both & make the edits on "work" copies.
    When those look & play like you want them keep those copies.
    AVIDemux should be able to join them with its' append function.
    Quote Quote  
  3. Originally Posted by ssuper2gg View Post
    Hi, I have a video merge problem. Two segments of videos, say A and B, a few seconds at the end of A and at the beginning of B are exactly the same. I want to merge them into a perfect video (cut off the duplicate part and play smoothly). I don't know the exact seconds of the duplicate part lasts. Is there any software or AI to solve the problem?
    Just trim the end of A.
    I don't know if that's possible with Avidemux; I think it can only trim at keyframes.
    You could try Losslesscut or clever FFmpeg-GUI.
    Quote Quote  
  4. Originally Posted by cholla View Post
    Start with AVIDemux.
    It will let you step through the frames.
    You will have to decide where the duplicates end.
    Then cut that part.
    You should only need to make the cut on one of the videos.
    The usual advice save good copies of both & make the edits on "work" copies.
    When those look & play like you want them keep those copies.
    AVIDemux should be able to join them with its' append function.
    thanks, seems work well, though it takes some time to locate the exact frame
    Quote Quote  
  5. Originally Posted by ProWo View Post
    Originally Posted by ssuper2gg View Post
    Hi, I have a video merge problem. Two segments of videos, say A and B, a few seconds at the end of A and at the beginning of B are exactly the same. I want to merge them into a perfect video (cut off the duplicate part and play smoothly). I don't know the exact seconds of the duplicate part lasts. Is there any software or AI to solve the problem?
    Just trim the end of A.
    I don't know if that's possible with Avidemux; I think it can only trim at keyframes.
    You could try Losslesscut or clever FFmpeg-GUI.
    Avidemux can trim at every single frame, luckily the duplicate part of my video seems starting at a keyframe
    Quote Quote  
  6. Originally Posted by ProWo View Post
    I don't know if that's possible with Avidemux; I think it can only trim at keyframes.
    AviDemux jumps to key or I-frames.If you use the button for this.
    It can cut at a P 0r B frame but it will give you a warning that doing this may corrupt the file.
    Basically you will get a short "jump" in the video.
    In the case of what ssuper2gg is doing I did not need to add this.
    AviDemux does require the two videos to be the same resolution & FPS to append them.

    I gave Clever a try for doing this & I could definitely use it.
    It identifies the frame type & can cut at any frame.

    Losslesscut did not identify frame type as far as I could find.
    It jumps to key frames only.
    I believe it can cut at any frame but you would have to identify the frame time first with another software.
    Last edited by cholla; 19th May 2026 at 12:28.
    Quote Quote  
  7. Originally Posted by cholla View Post
    Originally Posted by ProWo View Post
    I don't know if that's possible with Avidemux; I think it can only trim at keyframes.
    AviDemux jumps to key or I-frames.If you use the button for this.
    It can cut at a P 0r B frame but it will give you a warning that doing this may corrupt the file.
    Basically you will get a short "jump" in the video.
    In the case of what ssuper2gg is doing I did not need to add this.
    AviDemux does require the two videos to be the same resolution & FPS to append them.

    I gave Clever a try for doing this & I could definitely use it.
    It identifies the frame type & can cut at any frame.

    Losslesscut did not identify frame type as far as I could find.
    It jumps to key frames only.
    I believe it can cut at any frame but you would have to identify the frame time first with another software.

    I got several videos of this problem, some at keyframe, some are not...pretty hard to find the exact frame, AviDemux did give a warning, and the video plays not smoothly, like you said there's a short "jump"...I'll take a try with Clever
    Quote Quote  
  8. Member
    Join Date
    May 2005
    Location
    PAL User
    Search Comp PM
    Smart Media Cutter GUI will do frame-accurate smart-cutting ie no-recoding apart from to the next I frame. Provided the two files are exactly the same specs-wise, after you've trimmed to the join point, you can then join them up in AVIDemux using smart-joining ie Copy Copy.

    As far as finding the exact matching frame, I'd just open each file in simultaneous, separate instances of VDub and scroll until you find the same frame; note the timecode.
    Quote Quote  
  9. Smart Media Cutter has option to join video & audio (and cut at the same time) but it's available in paid version.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!