Page 1 of 1

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

Posted: 31 Oct 2016 01:08
by gaojing
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

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

Posted: 31 Oct 2016 07:44
by RĂ©mi Denis-Courmont
1) I suspect you can only fix that by improving the Libvlc code.
2) No.

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

Posted: 01 Nov 2016 03:18
by gaojing
:( Sad to hear that, thanks for your answer.