当前位置:网站首页>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下需要处理显示器分辨率缩放比例的问题。
边栏推荐
- 认真对待每一个时刻
- Unity在BuildIn渲染管线下实现PlanarReflection的初级方法
- Four implementations of
batch insert: have you really got it? - 【消息通知】用公众号模板消息怎么样?
- leetcode6132. Make all elements in an array equal to zero (simple, weekly)
- The fledgling Xiao Li's 114th blog project notes: Wisdom cloud intelligent flower watering device combat (3) - basic Demo implementation
- Make your Lottie support word wrapping in text fields
- [Getting Started Tutorial] Rollup Module Packager Integration
- 阿叶的目标
- After specifying set 'execution.savepoint.path', restart flinksql and report this error
猜你喜欢
随机推荐
Mysql中的数据类型和运算符
TypeScript简化运行之ts-node
button去除黑框
软件测试周刊(第82期):其实所有纠结做选择的人心里早就有了答案,咨询只是想得到内心所倾向的选择。
Unknown Bounded Array
移动端页面秒开优化总结
让你的 Lottie 支持文字区域内自动换行
软件测试面试(三)
Raspberry pie arm version of GCC installed configuration and environment variables
"ArchSummit: The cry of the times, technical people can hear"
预言机简介
测试
二舅
故乡的素描画
The fledgling Xiao Li's 113th blog project notes: Wisdom cloud smart flower watering device combat (2) - basic Demo implementation
Unknown Bounded Array
Character encoding and floating point calculation precision loss problem
Simulation of Active anti-islanding-AFD Active Anti-islanding Model Based on Simulink
win10 固定本机IP
基于ProXmoX VE的虚拟化家庭服务器(篇一)—ProXmoX VE 安装及基础配置









