需求:调用PC上的摄像头拍照。
实现思路:接入视频流,截屏获取照片。
早期的vlc安装包(Windows)是附带sdk包的,现在的安装后已经没有了,原因如下:
VLC SDK下载连接:https://download.videolan.org/pub/videolan/vlc/
VLC 官方教程:https://wiki.videolan.org/LibVLC_Tutorial/
直接下载的vlc sdk出现了问题,编译无法通过,解决办法如下:
参考:
http://staff.ustc.edu.cn/~network/mmc/mmc_vlc_windows.pdf
https://blog.csdn.net/leixiaohua1020/article/details/42363079
环境VS2019社区版本