Grabbing Frames from IP Camera

This forum is about all development around libVLC.
Ken98045
New Cone
New Cone
Posts: 4
Joined: 20 Aug 2022 05:02

Grabbing Frames from IP Camera

Postby Ken98045 » 09 Sep 2022 11:12

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Grabbing Frames from IP Camera

Postby Rémi Denis-Courmont » 09 Sep 2022 18:30

The format callbacks already provide that info.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests