GithubHelp home page GithubHelp logo

tiantian996 / nanarecorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onlyet/nanarecorder

0.0 0.0 0.0 114.89 MB

A screen recorder based on Qt and FFmpeg(基于Qt+FFmpeg的录屏软件)

License: MIT License

C++ 5.22% C 94.55% CMake 0.23% Batchfile 0.01%

nanarecorder's Introduction

English version

基于Qt+FFmpeg的录屏软件NanaRecorder

UI

QQ截图20230119022010

录制流程

flowchart

主线程:UI线程,调用Recorder接口
采集线程:采集到帧后->格式转换/重采样->写进FIFO
编码复用线程:循环从FIFO读取帧->编码->写进文件

环境依赖

windows

VS:推荐VS2017以后的版本
Qt:推荐Qt5.12以后的版本
FFmpeg5.1(项目已包含,生成项目后dll会自动拷贝到exe目录)

我的开发环境

  • VS2022
  • Qt5.12.9

解决方案支持Debug/Release和Win32/x64

VS+Qt开发环境配置

linux

我的开发环境

  • Qt6.2.4
  • FFmpeg5.1.2

ffmpeg build reference

需要在CMakeLists.txt里修改Qt和FFmpeg的依赖路径

  • QT_PATH
  • FFMPEG_ROOT_DIR

构建

mkdir build && cd build
cmake ..
make -j4

运行app

  1. 直接用Qt Creator运行
  2. 命令行启动:../bin/NanaRecorder

TODO

  • 画质高,文件小,码率低
  • flush编码器
  • 支持同时录制扬声器和麦克风
  • 支持硬编码

nanarecorder's People

Contributors

onlyet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.