You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Information_Management_System/Screenshot
lvsen d2da7b367d
录像功能
4 years ago
..
__pycache__ 录像功能 4 years ago
resource 录像功能 4 years ago
Audio_record.py 录像功能 4 years ago
PyAudio-0.2.11-cp37-cp37m-win_amd64.whl 录像功能 4 years ago
README.md 录像功能 4 years ago
Screenshot_Gui.py 录像功能 4 years ago
Screenshot_record.py 录像功能 4 years ago
Screenshot_record_with_cv2.py 录像功能 4 years ago
Screenshot_test.py 录像功能 4 years ago
requirements.txt 录像功能 4 years ago

README.md

使用python动手做一个屏幕录制工具

更新日期2022-04-20

windows 10
python 3.7

  • Screeshot_Gui.exe [58.5M] 下载地址
    先将ffmpeg.exe压缩成7z格式再一并打包进入exe文件中且使用pyinstaller打包生成文件较大

  • Screenshot_Gui.py
    pyqt5制作的屏幕录制窗口窗口程序入口

  • Screenshot_record.py
    使用ffmpeg工具利用python调用ffmpeg命令行来录制屏幕

  • Audio_record.py
    pyaudio读取可录制音频设备设定需要使用的设备进行录制音频

  • Screenshot_record_with_cv2.py
    使用opencv-python录制视频并保存

  • Screenshot_test.py
    无窗口化测试联动屏幕录制及音频录制,保持音视频同时录制和同时停止录制

  • resource 保存程序运行过程中需要使用到的程序或图片

  • requirements.txt
    已将所需模块放在requirements.txt中可直接pip install -r requirements.txt下载安装。

  • PyAudio-0.2.11-cp37-cp37m-win_amd64.whl
    python3.7环境的PyAudio的轮子

ps:
1. ffmpeg.exe 请至此https://www.gyan.dev/ffmpeg/builds/#release-builds 下载符合的版本并解压将bin下的ffmpeg.exe移动到resource文件夹下
2. 如果PyAudio包不能使用pip在线安装python3.7环境请下载PyAudio-0.2.11-cp37-cp37m-win_amd64.whl至本地在该路径下打开cmd窗口执行pip install 该whl文件
3. 其他python环境可在https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio 下自行安装对应版本的whl文件