# cppeasyvideoedit **Repository Path**: shiver/cppeasyvideoedit ## Basic Information - **Project Name**: cppeasyvideoedit - **Description**: cppeasyvideoedit - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-18 - **Last Updated**: 2026-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CppEasyVideoEdit CppEasyVideoEdit是一款基于Qt和OpenCV的视频编辑工具 [![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url]

CppEasyVideoEdit

一个值得学习的Qt视频编辑工具


探索本项目的文档 »

查看Demo · 报告Bug · 提出新特性

本篇README.md面向开发者 ## 目录 - [CppEasyVideoEdit](#cppeasyvideoedit) - [目录](#目录) - [上手指南](#上手指南) - [开发前的配置要求](#开发前的配置要求) - [**安装步骤**](#安装步骤) - [文件目录说明](#文件目录说明) - [开发的架构](#开发的架构) - [部署](#部署) - [使用到的框架](#使用到的框架) - [贡献者](#贡献者) - [如何参与开源项目](#如何参与开源项目) - [版本控制](#版本控制) - [作者](#作者) - [版权说明](#版权说明) - [鸣谢](#鸣谢) ### 上手指南 ###### 开发前的配置要求 1. Visual Studio 2019 或更高版本 2. CMake 3.10 或更高版本 3. Qt 5.14.2 (msvc2017_64) 4. OpenCV 3.4.1 ###### **安装步骤** 1. Clone the repo ``` sh git clone https://github.com/ShiverZm/cppeasyvideoedit.git ``` 2. 安装 [Qt 5.14.2](https://download.qt.io/archive/qt/5.14/5.14.2/qt-opensource-windows-x86-5.14.2.exe) 3. 配置 OpenCV - 确保 OpenCV 库文件位于 `lib/OpenCV` 目录下 - 目录结构应为: ``` lib/OpenCV/ ├── include/ ├── x64/ │ ├── vc14/ │ └── vc15/ └── OpenCVConfig.cmake ``` 4. 使用 CMake 构建项目 ``` sh mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug cmake --build . ``` 5. 或者使用 Visual Studio - 打开 Visual Studio - 选择 "打开本地文件夹" - 选择项目根目录 - Visual Studio 会自动检测 CMakeLists.txt 并配置项目 ### 文件目录说明 eg: ``` filetree ├── README.md ├── LICENSE.txt ├── CMakeLists.txt # 根目录 CMake 配置文件 ├── /bin/ # 编译输出目录 │ └── /win64/ # Windows 64位输出 ├── /include/ # 第三方库头文件 │ └── /opencv2/ # OpenCV 头文件 ├── /lib/ # 第三方库文件 │ ├── /OpenCV/ # OpenCV 库文件 │ │ ├── /include/ # OpenCV 头文件 │ │ ├── /x64/ # 64位库文件 │ │ └── OpenCVConfig.cmake │ ├── /Debug/ # Debug 版本库 │ └── /Release/ # Release 版本库 ├── /res/ # 资源文件 │ └── *.mp4 # 测试视频文件 └── /src/ # 源代码目录 ├── CMakeLists.txt # 子目录 CMake 配置文件 ├── main.cpp # 程序入口 ├── CppEasyVideoEditUI.* # 主界面类 ├── CppEasyVideoEditThread.* # 视频处理线程 ├── CppEasyVideoEditWidget.* # 视频显示组件 ├── CppEasyVideoEditFilter.* # 视频滤镜类 └── CppEasyVideoEditImagePro.* # 图像处理类 ``` ### 开发的架构 项目采用 CMake 构建系统,主要模块包括: - **UI 层**: 基于 Qt Widgets 的用户界面 - **视频处理层**: 使用 OpenCV 进行视频读取、处理和导出 - **滤镜系统**: 支持亮度、对比度等图像调整 - **多线程处理**: 使用 QThread 进行视频帧处理,避免界面卡顿 ### 部署 暂无 ### 使用到的框架 - [OpenCV 3.4.1](https://opencv.org/releases/) - 计算机视觉库,用于视频处理 - [Qt 5.14.2](https://download.qt.io/archive/qt/5.14/5.14.2/) - 跨平台 GUI 框架 ### 贡献者 请阅读**CONTRIBUTING.md** 查阅为该项目做出贡献的开发者。 #### 如何参与开源项目 贡献使开源社区成为一个学习、激励和创造的绝佳场所。你所作的任何贡献都是**非常感谢**的。 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ### 版本控制 该项目使用Git进行版本管理。您可以在repository参看当前可用版本。 ### 作者 二进制怪兽 微信公众号: binary_monster *您也可以在贡献者名单中参看所有参与该项目的开发者。* ### 版权说明 该项目签署了MIT 授权许可,详情请参阅 [LICENSE.txt](https://github.com/cppeasyvideoedit/blob/master/LICENSE.txt) ### 鸣谢 - [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) - [Img Shields](https://shields.io) - [Choose an Open Source License](https://choosealicense.com) - [GitHub Pages](https://pages.github.com) - [Animate.css](https://daneden.github.io/animate.css) [your-project-path]:cppeasyvideoedit [contributors-shield]: https://img.shields.io/github/contributors/cppeasyvideoedit.svg?style=flat-square [contributors-url]: https://github.com/cppeasyvideoedit/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/cppeasyvideoedit.svg?style=flat-square [forks-url]: https://github.com/cppeasyvideoedit/network/members [stars-shield]: https://img.shields.io/github/stars/cppeasyvideoedit.svg?style=flat-square [stars-url]: https://github.com/cppeasyvideoedit/stargazers [issues-shield]: https://img.shields.io/github/issues/cppeasyvideoedit.svg?style=flat-square [issues-url]: https://github.com/cppeasyvideoedit/issues [license-shield]: https://img.shields.io/github/license/cppeasyvideoedit.svg?style=flat-square [license-url]: https://github.com/cppeasyvideoedit/blob/master/LICENSE.txt [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/shaojintian