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 > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th August 2019, 21:14   #1  |  Link
znowman
Registered User
 
Join Date: Aug 2019
Posts: 1
MVtools slowing a clip to a specific length

Hi,

Apologies if this has been answered elsewhere, i have looked but cant find anything that helps me out...

I'm trying to slow a clip down from 1.268 seconds to match another clip that is 4.116 seconds, and wondered if it's possible?

I've used MVtools to double or half the framerate, but i still can't figure out how to do the above, can anyone help?

Thanks for reading, and any help is much appreciated.
znowman is offline   Reply With Quote
Old 13th August 2019, 21:38   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,952
What are the frame rates of each clip, and framecounts.

I'm heading out of the door in a minute, so cant say much except not to have any great expectations.

I wrote this somewhere (here):= https://forum.doom9.org/showthread.p...40#post1857740

Quote:
It may be possible to up framerate to a non multiple of source whilst keeping all source frames verbatim, where eg source
is 24 FPS and required = 25 FPS, and using,
Src24.ChangeFPS(25) to produce a new clip at 25 FPS with an exact duplicate every 24 source frames and save new source as eg Src25.avi.
Process new source with eg src25.Duplicity2(ThG=0.1,DBase="D:\Src25_Det.DB"), to produce a DBase (perhaps with MaxDupLen=1, perhaps not).
Then use Src25.DropDeadGorgeous("D:\Src25_Det.DB",ScanAhead=12) to interpolate dupe frames achieving 25.0 and with all original
source frames. With a ScanAhead of eg 12, will locate dupes and then backwards scan up to 12 frames before the dupes looking for
frame of greatest movement, insert an interpolated frame prior to that greatest movement frame and shove all following frames along one
to remove the dupe. Might be worth someone experimenting.
Or, you could just use eg Duplicity2(Mode=2,ThG=0.1) to interpolate the exact dupes directly and without DropDeadGorgeous but that might
produce a more rhythmic stutter every 25 frames.
Might be able to make it assist.
Use ChangeFPS() to make same number of frames [with duplicates] and then run through Duplicity2() creating the DBase,
then throught DropDeadGorgeous() to do the Mvtools interpolation stuff.

I the mean time, you could be trying to figure out what ChangeFPS() arg provides the same frame count as target clip.

EDIT: Just using MvTools, you would likely end up with few original frames, at least as above you would keep all source frames.
EDIT: Offhand, cant remember if above ThG=0.1, should better be eg 0.000000000001 or 0.0.

EDIT: Can you post clips on a file host, eg MediaFire.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 13th August 2019 at 21:43.
StainlessS is online now   Reply With Quote
Old 13th August 2019, 23:41   #3  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,167
Just read the documentation for MVTools2. You use MFlowFPS and the key parameters are num and den (numerator and denominator). You have a ratio of 3.24605678233438 between your two clips' lengths. If your original clip is 25 fps, then set the num and den to give you 3.24605678233438 * 25 = 81.15141956.
johnmeyer is offline   Reply With Quote
Old 14th August 2019, 00:19   #4  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,952
Yip, but pretty much all output frames will be interpolated.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is online now   Reply With Quote
Reply

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 15:06.


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