Page 1 of 1

Using libvlc for making snapshot from videosource

Posted: 15 Dec 2009 14:32
by peverix
Hello everyone

I'm busy with developing a application under Linux / C++ that use libvlc to take a snapshot

The application is using sdl and a fullscreen window to display some animation and receiving commands from our game controller.
I'm able to open vlc , open the video device and take snapshots.
But when doing this vlc always open in its own window, and i want that it is not visible. Only take the snapshot in background and my animation will display the snapshot itself.

How can i do this ? This is my first project using libvlc , so this is all new to me.

Regards
Peter Everix

Re: Using libvlc for making snapshot from videosource

Posted: 15 Dec 2009 16:13
by RĂ©mi Denis-Courmont
Select another video output than default.

Re: Using libvlc for making snapshot from videosource

Posted: 15 Dec 2009 16:30
by peverix
Hello

Sorry but i don't understand good what you mean , any examples or places where i can find more information about this.
As told i'm verry new to libvlc.

Thanks
Peter

Re: Using libvlc for making snapshot from videosource

Posted: 17 Dec 2009 01:21
by Jean-Baptiste Kempf
use -Vdummy as option to setup libvlc

Re: Using libvlc for making snapshot from videosource

Posted: 17 Dec 2009 08:17
by peverix
Thank you very much, this did the trick