taking snapshot causing the video playing to stop for a very little time, but people can notice it.
Posted: 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
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