nihui / rife-ncnn-vulkan

RIFE, Real-Time Intermediate Flow Estimation for Video Frame Interpolation implemented with ncnn library
MIT License
821 stars 68 forks source link

Update main.cpp #71

Open 2blackbar opened 10 months ago

2blackbar commented 10 months ago

bugfix ! this line causes last input frame to be repeated many times over in output ,fix solves that

2blackbar commented 10 months ago

https://github.com/nihui/rife-ncnn-vulkan/issues/60#issuecomment-1660167581

TNTwise commented 10 months ago

After testing a bit with my app, I noticed that the scene change detection slowly went off with the new binary, this is likely why the last frame is duplicated, so the new video can match the time of the old video.