Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th January 2025, 23:54   #1  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 324
Vapoursynth: Remove Frames to Sync Videos

I have 5 videos I want to make a comparison with, but they're out of sync. How do I remove the right amount of frames from each video until they're in sync?
jay123210599 is offline   Reply With Quote
Old 25th January 2025, 10:05   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,562
Easy solution: Use an NLE tool and not Vapoursynth/Vapoursynth. (NLEs are meant to deal with multiple audio & video tracks and their alignment)
With Vapoursynth: Figure out which frames you want to remove, then remove the frames by splitting (using trim) and re-combine your sources.
Since you already have 300+ post you should have a basic understanding of using Vapoursynth and using trim to archive what you want should be easy (and a lot of manual work).
Something like https://github.com/k-aito/vapoursynt...atching-frames might help with figuring out which frames you want to remove.
Doing this for a small clip might be feasible, for larger projects probably not, that is what NLEs are for.
__________________
Hybrid here in the forum, homepage, its own forum
Selur is offline   Reply With Quote
Old 25th January 2025, 18:25   #3  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,827
Over in AviSynthland ;-)
https://forum.doom9.org/showthread.p...89#post2013689
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 26th January 2025, 00:11   #4  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 324
Quote:
Originally Posted by Selur View Post
Easy solution: Use an NLE tool and not Vapoursynth/Vapoursynth. (NLEs are meant to deal with multiple audio & video tracks and their alignment)
With Vapoursynth: Figure out which frames you want to remove, then remove the frames by splitting (using trim) and re-combine your sources.
Since you already have 300+ post you should have a basic understanding of using Vapoursynth and using trim to archive what you want should be easy (and a lot of manual work).
Something like https://github.com/k-aito/vapoursynt...atching-frames might help with figuring out which frames you want to remove.
Doing this for a small clip might be feasible, for larger projects probably not, that is what NLEs are for.
What are some NLE tools? Do some for Vapoursynth exist?
jay123210599 is offline   Reply With Quote
Old 26th January 2025, 07:18   #5  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,562
Quote:
What are some NLE tools?
https://letmegooglethat.com/?q=What+...e+NLE+tools%3F

Quote:
Do some for Vapoursynth exist?
I know of no NLE which uses Vapourynth some might be able to open Vapoursynth scripts as source using AVFS (AV FileSystem), but in general intermediate files would be needed when aiming to combine an NLE with Vapoursynth.

Cu Selur
__________________
Hybrid here in the forum, homepage, its own forum
Selur is offline   Reply With Quote
Reply

Tags
frame accurate, remove frames, vapoursynth, video comparison

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.