Page 1 of 1

Rendering offscreen (no control)

Posted: 11 Apr 2011 17:56
by ispy
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.

Re: Rendering offscreen (no control)

Posted: 11 Apr 2011 21:09
by RĂ©mi Denis-Courmont
libvlc_video_set_(format_)callbacks