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

Can it handle large pans? #10

Open
noobtoob4lyfe opened this issue Nov 5, 2020 · 8 comments
Open

Can it handle large pans? #10

noobtoob4lyfe opened this issue Nov 5, 2020 · 8 comments

Comments

@noobtoob4lyfe
Copy link

noobtoob4lyfe commented Nov 5, 2020

I'm really enjoying playing with this software. Thanks for making it available!

I'm noticing that it works really well on details and features that move over a small percentage of the screenspace from one frame to the next.

However, I'm also noticing that it seems to freak out when there are pan and tilt motions of the camera that exceed a certain amount of degrees per frame. See here for an example. https://drive.google.com/file/d/1BPvVEIK1u1ngv9607tWEOm-vGNmr-Xug/view?usp=sharing
I find this strange because cheap traditional optical flow frame interpolation has no problem with this same shot.
Is this something that can modified in the code to fix? I've tried basically every window size and nothing seems to help. Could it possibly be trained handle these kind of camera moves better? Thanks in advance!

@noobtoob4lyfe
Copy link
Author

Anyone have any ideas about what's happening here, or what I might be able to do to improve? Thanks!

@routineLife1
Copy link

Have you tried -t 2048

@noobtoob4lyfe
Copy link
Author

Thanks for the reply. Yes, i did try a number of different values there including 2048 and it did not improve things.

@routineLife1
Copy link

I think this should be a problem with the CAIN algorithm

@routineLife1
Copy link

It is recommended to use rife-ncnn-vulkan instead of cain-ncnn-vulkan

@noobtoob4lyfe
Copy link
Author

Thanks. I will try that

@Hudaldadi
Copy link

well - RIFE is NOT the new CAIN.

CAIN does things different and is much less VRAM hungry.

I hope there will be a working CAIN soon again.

@Hudaldadi
Copy link

This looks very promising...
https://github.com/google-research/frame-interpolation/

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

3 participants