Qt利用ffmpeg进行桌面截图并且保存本地h264视频文件

Qt利用ffmpeg进行桌面截图并且保存本地h264视频文件,Qt版本为5.6 , ffmpeg依赖库我也有单独上传资源,使用的时候,需要手动修改pro文件里面的include以及lib ,下载的工程项目中已经有示例
rar
grabScreen.rar 预估大小:17个文件
folder
grabScreen 文件夹
file
encodeh264worker.h 742B
file
encodeh264worker.cpp 7KB
file
grabScreen.h 764B
file
threadencode.cpp 2KB
file
grabScreen.pro 1KB
file
threadgrab.cpp 965B
file
common.h 730B
file
frameplay.h 1KB
file
mmtimer.h 607B
file
threadgrab.h 439B
file
frameplay.cpp 2KB
file
grabScreen.cpp 3KB
file
grabScreen.pro.user 23KB
file
common.cpp 141B
file
main.cpp 6KB
file
mmtimer.cpp 753B
file
threadencode.h 530B
rar 文件大小:13.67KB