Using NVOFFRUC API for interpolation produces holes in the interpolated frame


I have tried to generate a video with interpolated frames at 0.5 timestamp using Fruc API sample provided in the NVIDIA Optical Flow SDK 5.0, but the output video is having holes at many places.

How can I use FRUC APIs for generating better quality video?