Using libvlc for making snapshot from videosource

This forum is about all development around libVLC.
peverix
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2009 14:17

Using libvlc for making snapshot from videosource

Postby peverix » 15 Dec 2009 14:32

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

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

Re: Using libvlc for making snapshot from videosource

Postby Rémi Denis-Courmont » 15 Dec 2009 16:13

Select another video output than default.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

peverix
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2009 14:17

Re: Using libvlc for making snapshot from videosource

Postby peverix » 15 Dec 2009 16:30

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using libvlc for making snapshot from videosource

Postby Jean-Baptiste Kempf » 17 Dec 2009 01:21

use -Vdummy as option to setup libvlc
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

peverix
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2009 14:17

Re: Using libvlc for making snapshot from videosource

Postby peverix » 17 Dec 2009 08:17

Thank you very much, this did the trick


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 46 guests