taking snapshot causing the video playing to stop for a very little time, but people can notice it.

This forum is about all development around libVLC.
gaojing
New Cone
New Cone
Posts: 2
Joined: 26 Oct 2016 06:38

taking snapshot causing the video playing to stop for a very little time, but people can notice it.

Postby gaojing » 31 Oct 2016 01:08

Hi:
I am using libvlc in my application, i want to play the media in a specific area, i use libvlc_media_player_set_hwnd to accomplish this.
But at the same time, i want to capture the picture data of what's playing on it, so i use another api(libvlc_video_take_snapshot) to get the
picture data, but during test, i found whenever i take snapshot, the playing stop for a noticeable time, and i need to take snapshot maybe
once per second all the time, and the playing will not be smooth.
The clone splitter can playing video on multiple area, i was thinking using it, but i don't know how i can set hwnd for each playing window.

How can i take snapshot without influence on the playing? Or how can i set hwnd for each cloned window?

THANKS

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

Re: taking snapshot causing the video playing to stop for a very little time, but people can notice it.

Postby Rémi Denis-Courmont » 31 Oct 2016 07:44

1) I suspect you can only fix that by improving the Libvlc code.
2) No.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

gaojing
New Cone
New Cone
Posts: 2
Joined: 26 Oct 2016 06:38

Re: taking snapshot causing the video playing to stop for a very little time, but people can notice it.

Postby gaojing » 01 Nov 2016 03:18

:( Sad to hear that, thanks for your answer.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests