Screen Capture with libvlc

This forum is about all development around libVLC.
dolevo
New Cone
New Cone
Posts: 5
Joined: 01 Feb 2013 14:08

Screen Capture with libvlc

Postby dolevo » 01 Feb 2013 14:14

Hi all,

This is my first post to forum. I was using avcodec to decode encoded data with H.264. However, I am about to switch it to libvlc for a number of reasons.
In my another application, I grab the desktop screen with BitBlt API. I was wondering if libvlc provides any function for screen grabbing? My target is to capture desktop screen like pressing PrintScreen key and pasting the image on the paint and saving it. Does libvlc provide this functionality?

Many thanks.

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

Re: Screen Capture with libvlc

Postby Rémi Denis-Courmont » 01 Feb 2013 16:11

Yes, that's what "screen://" does.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

dolevo
New Cone
New Cone
Posts: 5
Joined: 01 Feb 2013 14:08

Re: Screen Capture with libvlc

Postby dolevo » 04 Feb 2013 14:19

.
Last edited by dolevo on 04 Feb 2013 14:20, edited 1 time in total.

dolevo
New Cone
New Cone
Posts: 5
Joined: 01 Feb 2013 14:08

Re: Screen Capture with libvlc

Postby dolevo » 04 Feb 2013 14:20

Yes, that's what "screen://" does.
I will use libvlc.dll. Could you please tell me what function do I need to use? What part of the code contains this capturing process?

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

Re: Screen Capture with libvlc

Postby Rémi Denis-Courmont » 04 Feb 2013 17:29

Please refer to the documentation, which is linked in this forum.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

wodeyox
New Cone
New Cone
Posts: 3
Joined: 25 Feb 2013 09:24

Re: Screen Capture with libvlc

Postby wodeyox » 26 Feb 2013 02:33

I have a same question with you. viewtopic.php?f=32&t=108666
Have you found any solution? :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests