Windows下如何使用ffmpeg采集音频或视频
时间:2023-01-08 10:32:18
1、一开始在命令行下使用ffmpeg时执行“ffmpeg-list_devicestrue-fdshow-idummy”使用dshow来枚举当前系统上存在的音视频采集设备时,发现中文乱码,后来在老师帮助下,在命令行下执行命令“chcp65001”将windows命令行窗口的编码改为了utf-8编码,就解决了ffmpeg的中文乱码问题,
2、ffmpeg查看设备的命令:
ffmpeg-list_devicestrue-fdshow-idummy
3、录音为文件:
ffmpeg-fdshow-iaudio=“麦克风阵列(11-USBPnPAudioDevice)”out.mp3
4、实时采集音频并播放:
ffplay-fdshow-iaudio=“麦克风阵列(11-USBPnPAudioDevice)”
5、实时采集音频并播放并绘制实时音频的左右声道的波形:
ffplay-showmode1-fdshow-iaudio=“麦克风阵列(11-USBPnPAudioDevice)”
6、采集摄像头实时视频并实时显示:
ffplay-showmode0-fdshow-ivideo=“IntegratedWebcam”
Windows下如何使用ffmpeg采集音频或视频的下载地址:
标签:ffmpeg采集音频,ffmpeg采集视频
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
pr教程:视频人物运动残影特效
2023-04-19 18:03:43
![](https://img.aspxhome.com/file/2023/8/a211698_0s.png)
win7系统安装教程_windows7系统安装教程详细步骤
2022-09-11 12:34:12
![](https://img.aspxhome.com/file/2023/3/a302654_0s.jpg)
Windows 10 Build 10154上手操作截图欣赏
2022-08-24 05:25:26
![](https://img.aspxhome.com/file/2023/28/a249409_0s.jpg)
Win7开机不显示桌面黑屏怎么解决?
2023-10-19 00:50:04
![](https://img.aspxhome.com/file/2023/26/a228840_0s.jpg)
微星小飞机的设置图解是什么?微星小飞机设置图解介绍
2023-10-29 12:39:20
![](https://img.aspxhome.com/file/2023/7/a327468_0s.jpg)
在Mac OS上使用Fish Shell的基础教程
2023-11-20 16:41:10
![](https://img.aspxhome.com/file/2023/8/a214808_0s.jpg)
Excel中的R1C1引用样式使用教程
2023-10-05 09:04:00
![](https://img.aspxhome.com/file/2023/3/a156643_0s.jpg)
win8系统怎么保护个人信息常清理IE浏览记录
2022-04-06 00:41:29
![](https://img.aspxhome.com/file/2023/3/a300891_0s.png)
Win7系统如何将多余进程关闭解决卡慢的问题?
2022-09-10 15:07:05
![](https://img.aspxhome.com/file/2023/2/a287366_0s.jpg)
傲游浏览器怎么升级?傲游浏览器升级方法简述
2022-02-24 20:44:10
![](https://img.aspxhome.com/file/2023/7/a331400_0s.jpg)
OBS录屏没声音怎么办?
2022-01-23 09:24:14
![](https://img.aspxhome.com/file/2023/30/a266425_0s.jpg)
Win10电脑系统文件损坏如何修复
2022-03-27 11:19:39
![](https://img.aspxhome.com/file/2023/1/a275224_0s.png)
windows系统共享文件夹访问无需验证(输入用户名和密码)即可进入
2023-12-16 19:52:44
WPS word 题注及表目录制作 实例图解教程
2022-05-26 21:46:50
![](https://img.aspxhome.com/file/2023/6/a186666_0s.png)
Win10无法使用复制粘贴快捷键怎么办?
2023-08-06 16:43:51
![](https://img.aspxhome.com/file/2023/1/a278112_0s.png)
英伟达驱动与Windows版本不兼容怎么办?
2023-08-03 06:01:39
![](https://img.aspxhome.com/file/2023/25/a218761_0s.jpg)
WPS演示在线模板怎么打开?
2023-12-18 02:39:42
![](https://img.aspxhome.com/file/2023/0/a182590_0s.jpg)
Logic Pro X for mac黑科技: 使用 Apple Remote 遥控器控制 Logic Pro!
2023-11-20 00:31:47
![](https://img.aspxhome.com/file/2023/6/a213966_0s.jpeg)
云联商业大系统忘记密码怎么办?云联商业大系统忘记密码的解决方法
2022-09-25 13:57:00
![](https://img.aspxhome.com/file/2023/8/a335071_0s.jpg)
Win7解决无法显示缩略图的技巧
2023-05-28 16:31:51
![](https://img.aspxhome.com/file/2023/29/a259173_0s.jpg)