Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Output where every other frame is the source frame #30

Open
OpenSourceAnarchist opened this issue Apr 19, 2020 · 0 comments
Open

Comments

@OpenSourceAnarchist
Copy link

OpenSourceAnarchist commented Apr 19, 2020

I'm trying to output a motion interpolated video where every other frame is the original frame.

My current method works fine, which is to return Interleave(C, SelectOdd(Flow)) where C is the input clip and Flow is the MFlowFps function. I simply use C.FrameRateNumerator * 2 for the numerator in MFlowFps and C.FrameRateDenominator (unchanged) for the denominator. Obviously, this mean 2x as many new frames than necessary are created since I am only using half the frames created by the MFlowFps function.

According to this post, mvtools2 automatically uses source frames in the Flow output "when you have integer framerate multiples," but I am not sure if this is true as I can't find this behavior in the documentation.

If anyone can help me achieve a more efficient method (creating only the necessary interpolated frames), I would really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant