title: How to take a snapshot of libvlc player and convert it to Mat object
body: <p>I am sorry if my question is not easy to understand, I am French and new to C++ programming...</p>
  
  <p>I have searched all the day a way to take regular snapshots / read the stream from a <code>libvlc_media_player</code> player and convert it into <code>cv::Mat</code> images but I could not find anything functionnal.</p>
  
  <p>The function <code>libvlc_video_take_snapshot</code> seems to be able to save snapshots only in files.</p>
  
  <p>I don't know if I have to do an intermediate conversion (such as rendering this first into an SDL_Texture / a QFrame) before being able to get a Mat image.</p>
  
  <p>I there a way to do this ? Thank you in advance !</p>