MMALSharp
MMALSharp copied to clipboard
MMALCameraConfig.IntraPeriod not working?
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?