Sometimes, on complex scenes, the h264 encoder is dropping one or two frames - inputFrameSkip of the OutArgs on return is set to IVIDEO_FRAME_SKIPPED and bytesGenerated is 0. If the encoder is called again with the same frame and absolutely the same input arguments (i.e. when we see that the frame has been skipped, call immediately again), it, eventually, does the job. The problem is that the time it takes to encode such frame is a little bit more than usual (~10%), and can exceed the frame period. So when on some scenes there are many of such "skipped" frames, our application really has to drop the frame rate.
What is the reason for the skipped frames? Can it be avoided?
The latest h265 codec on dm368
Roma