ffmpeg:无法识别音频输入设备



我的ffmpeg命令需要什么来识别我的音频输入设备?

以下参考没有帮助解决我的问题:在此处输入链接描述

我想在捕获屏幕活动时记录我的谈话(对我的Windows笔记本电脑(。虽然我成功地捕获了屏幕上的内容(通过从我的命令中删除所有提及的音频(,但我无法捕获音频,因为我提到的设备无法被 ffmpeg 识别。(我经常使用默认笔记本电脑进行音频输入到大胆...当然,也有某种方法可以在此 FFMPEG 命令中使用它。

我的音频设备:

ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 000000000044a940] DirectShow audio devices
[dshow @ 000000000044a940]  "Microphone Array (IDT High Defi"
[dshow @ 000000000044a940]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}Microphone Array (IDT High Defi"
[dshow @ 000000000044a940]  "Dock Mic (IDT High Definition A"
[dshow @ 000000000044a940]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}Dock Mic (IDT High Definition A"
[dshow @ 000000000044a940]  "Jack Mic (IDT High Definition A"
[dshow @ 000000000044a940]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}Jack Mic (IDT High Definition A"
[dshow @ 000000000044a940]  "Rec. Playback (IDT High Definit"
[dshow @ 000000000044a940]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}Rec. Playback (IDT High Definit"

全名可通过注册表编辑器找到:麦克风阵列(IDT High Definition Audio CODEC(

为什么找不到音频输入设备?

ffmpeg -y -f gdigrab -i desktop -framerate 10 -f dshow -i audio="Microphone Array (IDT High Definition Audio CODEC)" -vcodec libx264 "C:jedffmpeg_mydataclip.mp4"
[gdigrab @ 0000000000498540] Capturing whole desktop as 1366x768x32 at (0,0)
[gdigrab @ 0000000000498540] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, gdigrab, from 'desktop':
Duration: N/A, start: 1575576239.093815, bitrate: 1006131 kb/s
Stream #0:0: Video: bmp, bgra, 1366x768, 1006131 kb/s, 29.97 fps, 1000k tbr, 1000k tbn, 1000k tbc
[dshow @ 000000000049a5e0] Could not find audio only device with name [Microphone Array (IDT High Definition Audio CODEC)] among source devices of type audio.
[dshow @ 000000000049a5e0] Searching for audio device within video devices for Microphone Array (IDT High Definition Audio CODEC)
[dshow @ 000000000049a5e0] Could not find audio only device with name [Microphone Array (IDT High Definition Audio CODEC)] among source devices of type video.
audio=Microphone Array (IDT High Definition Audio CODEC): I/O error

Gyan是正确的。使用在 DirectShow 列表中报告的截断表达式有效。

audio="Microphone Array (IDT High Defi"

最新更新