MMALSharp icon indicating copy to clipboard operation
MMALSharp copied to clipboard

MMALCameraConfig.IntraPeriod not working?

Open tottaka opened this issue 2 years ago • 0 comments

Hi, I am trying to detect when an i-frame is inserted in my custom OutputCaptureHandler class like so:

public override void Process(ImageContext context)
{
	if (context.IFrame)
	{
		Console.WriteLine("IFrame");
	}
	
	base.Process(context);
}

It seems to only Console.WriteLine on the very first frame, none after that.

I have MMALCameraConfig.IntraPeriod set to 24, which is the same as the video capture framerate so it should be printing every 1 second, no?

tottaka avatar Jun 01 '23 00:06 tottaka