Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

MMALCameraConfig.IntraPeriod not working? #207

Open
tottaka opened this issue Jun 1, 2023 · 0 comments
Open

MMALCameraConfig.IntraPeriod not working? #207

tottaka opened this issue Jun 1, 2023 · 0 comments

Comments

@tottaka
Copy link

tottaka commented Jun 1, 2023

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant