当前位置:网站首页>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下需要处理显示器分辨率缩放比例的问题。
边栏推荐
- [Search topic] After reading the inevitable BFS solution to the shortest path problem
- 开源项目站点必备&交流区功能
- win10 fixed local IP
- "ArchSummit: The cry of the times, technical people can hear"
- 【入门教程】Rollup模块打包器整合
- Which interpolation is better for opencv to zoom in and out??
- What is dynamic programming and what is the knapsack problem
- Message Queuing Message Storage Design (Architecture Camp Module 8 Jobs)
- TypeScript simplifies running ts-node
- 认真对待每一个时刻
猜你喜欢

基于ProXmoX VE的虚拟化家庭服务器(篇一)—ProXmoX VE 安装及基础配置
![Invalid classes inferred from unique values of `y`. Expected: [0 1 2], got [1 2 3]](/img/53/3dc2233498db78b8480084ce496f0b.png)
Invalid classes inferred from unique values of `y`. Expected: [0 1 2], got [1 2 3]

A way to deal with infinite debugger

开源许可证 GPL、BSD、MIT、Mozilla、Apache和LGPL的区别

Mysql基础篇(约束)

2022-07-31: Given a graph with n points and m directed edges, you can use magic to turn directed edges into undirected edges, such as directed edges from A to B, with a weight of 7.After casting the m

【入门教程】Rollup模块打包器整合

Input input box cursor automatically jumps to the last bug after the previous input

Browser download shortcut to desktop (PWA)

Difference Between Compiled and Interpreted Languages
随机推荐
Invalid classes inferred from unique values of `y`. Expected: [0 1 2], got [1 2 3]
Open source project site must-have & communication area function
时时刻刻保持敬畏之心
Input input box cursor automatically jumps to the last bug after the previous input
Introduction to Oracle
Simple and easy to use task queue - beanstalkd
基于STM32设计的UNO卡牌游戏(双人、多人对战)
[Search topic] After reading the inevitable BFS solution to the shortest path problem
785. Quick Sort
故乡的素描画
2022-07-31: Given a graph with n points and m directed edges, you can use magic to turn directed edges into undirected edges, such as directed edges from A to B, with a weight of 7.After casting the m
微软 Win10 照片磁贴后的又一“刺客”,谷歌 Chrome 浏览器将在新标签页展示用户照片
Unity在BuildIn渲染管线下实现PlanarReflection的初级方法
【SemiDrive源码分析】系列文章链接汇总(全)
How to promote new products online?
win10 fixed local IP
【愚公系列】2022年07月 .NET架构班 085-微服务专题 Abp vNext微服务网关
博客系统(完整版)
Article summary: the basic model of VPN and business types
The kernel's handling of the device tree