Rendering offscreen (no control)

This forum is about all development around libVLC.
ispy
New Cone
New Cone
Posts: 4
Joined: 11 Apr 2011 17:49

Rendering offscreen (no control)

Postby ispy » 11 Apr 2011 17:56

Hello! Thanks for an excellent library :)

I'm writing an open source project called iSpy. It does movement detection so I need access to the images (for highlighting and analysis) from the streams *before* they are rendered on screen. Is there a way to use libvlc to provide me with an image from the stream without rendering it on a displayed control? - what i really need is a stream of static images to process and then render myself.

I've set:

LibVlc.libvlc_media_player_set_hwnd(_canvas.Handle, value);

-- where _canvas is a pictureBox control instantiated in the class (not a windows form or user control) but as the control is never rendered the paint event never fires and I can't access the images.

Thanks,
Sean.

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

Re: Rendering offscreen (no control)

Postby Rémi Denis-Courmont » 11 Apr 2011 21:09

libvlc_video_set_(format_)callbacks
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 13 guests