当前位置:网站首页>FFmpeg 搭建本地屏幕录制环境
FFmpeg 搭建本地屏幕录制环境
2022-08-01 03:53:00 【陈振阳】
录屏嘛,大家都有这种需求,就是软件不好找,基本都收费。用的华为的笔记本,自带录屏功能,就是傻了吧唧的会把自己的结束按钮也录进去。用 FFmepg 试了一下,香的很。
下载安装 Screen Capture Recorder,去github仓库上可以下载二进制安装包,screen-capture-recorder-to-video-windows-free,不要去 sourceforge 的地址下载,那个版本滞后很多。

0.1.12 版本是支持 ffmpeg 5 的版本。
直接下载安装即可。
安装完之后在 C:\Program Files (x86)\Screen Capturer Recorder\configuration_setup_utility\vendor\ffmpeg 目录下带着一个 ffmpeg,ffmpeg 就不用再单独下载了,根据这个路径配置好环境变量即可。
ffmpeg -y -rtbufsize 2147M -f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer" -framerate 25 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -acodec aac av-out.mp4
上面命令的参数搭配,在我的机器上非常好使,录制出来帧速率有30,声画非常一致,文件大小也合适。


注意:windows下需要处理显示器分辨率缩放比例的问题。
边栏推荐
- IJCAI2022 | Hybrid Probabilistic Reasoning with Algebraic and Logical Constraints
- <JDBC> 批量插入 的四种实现方式:你真的get到了吗?
- button remove black frame
- 剑指offer专项突击版第16天
- Dart named parameter syntax
- Flutter Tutorial 02 Introduction to Flutter Desktop Program Development Tutorial Run hello world (tutorial includes source code)
- MySQL4
- 情人节浪漫3D照片墙【附源码】
- Advice given by experts with four years of development experience in Flutter tutorial
- 每周小结(*67):为什么不敢发表观点
猜你喜欢

每周小结(*67):为什么不敢发表观点

MLP neural network, GRNN neural network, SVM neural network and deep learning neural network compare and identify human health and non-health data

win10 fixed local IP

软件测试周刊(第82期):其实所有纠结做选择的人心里早就有了答案,咨询只是想得到内心所倾向的选择。

Open source project site must-have & communication area function

初出茅庐的小李第112篇博客项目笔记之机智云智能浇花器实战(1)-基础Demo实现

Make your Lottie support word wrapping in text fields

【uniCloud】云对象的应用与提升

The maximum quantity leetcode6133. Grouping (medium)

Four implementations of
batch insert: have you really got it?
随机推荐
带你体验一次类型编程实践
785. Quick Sort
button去除黑框
Summary of mobile page optimization in seconds
2. # 代码注释
深圳某游戏研发公司给每个工位都装监控,网友:堪比坐牢!
second uncle
Unity在BuildIn渲染管线下实现PlanarReflection的初级方法
Introduction to Oracle
动态规划 01背包
【愚公系列】2022年07月 Go教学课程 024-函数
Software Testing Interview (3)
By CSDN, torn
二舅
指定set 'execution.savepoint.path'后,重启flinksql报这个错是啥
The kernel's handling of the device tree
开源项目站点必备&交流区功能
每周小结(*67):为什么不敢发表观点
TypeScript简化运行之ts-node
怀念故乡的月亮