Page 1 of 1

Grabbing Frames from IP Camera

Posted: 09 Sep 2022 11:12
by Ken98045
I am currently using LibVLCSharp. However, I think that this question is generic to LIbVLC

I want to grab frames from IP cameras. Fine, I know how do do that if I know the width/height of the images ahead of time. However, if there is a way to use LibVLC to get the width/height so I can pass it to LibVLC I can't find that.

Yes, I know that the Size function should return the width/height. While that does work fine using stored videos, it isn't clear how to get that to work from a stream source like an IP camera.

Any help would be appreciated.

Re: Grabbing Frames from IP Camera

Posted: 09 Sep 2022 18:30
by RĂ©mi Denis-Courmont
The format callbacks already provide that info.