Open tottaka opened 1 year ago
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?
Hi, I am trying to detect when an i-frame is inserted in my custom OutputCaptureHandler class like so:
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?