Stream camera into memory using libvlc and display a frame
问题 I am trying to stream a capturing device (camera) into memory using libvlc. I am unable to display image from data stored in memory. The memory content seems to be ok. I checked it using Visual Studio and its Memory window. The picture created by imshow is always grey. How can I display the image stored in the memory? My code is mostly based on this topic Thank you. using namespace cv; using namespace std; HANDLE hMutex; struct VideoDataStruct { int param; }; int done = 0; libvlc_media_player