网络摄像头麦克风不工作

网络摄像头麦克风不工作

我有一台内置麦克风的 Nexigo N60 1080p FHD 网络摄像头。网络摄像头工作正常,但我无法使用麦克风。

我已尝试注释掉该module-suspend-on-idle/etc/pulse/default.pa并重新加载 pulseaudio ,如本文所建议:USB 网络摄像头麦克风不工作

为了测试一下,我去了https://online-voice-recorder.com/Firefox 提示我允许使用网络摄像头麦克风,所以它至少能识别出那里有麦克风。当我单击允许并尝试录制时,没有拾取任何音频。

在此处输入图片描述

我使用的是 Ubuntu 20.04.3 LTS。我的 pacmd 显示设备处于正在运行状态,而实际上它正在录制:

$ pacmd list-sources 
2 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 1030
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 3 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 371.52 ms; range is 0.50 .. 371.52 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_01_00.1>
        module: 7
        properties:
                device.description = "Monitor of GM107 High Definition Audio Controller [GeForce 940MX] Digital Stereo (HDMI 2)"
                device.class = "monitor"
                alsa.card = "3"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdf080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card3"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fbc"
                device.product.name = "GM107 High Definition Audio Controller [GeForce 940MX]"
                device.string = "3"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 1
        name: <alsa_input.usb-HD_WEBCAM_NexiGo_N60_FHD_Webcam_20201218-02.mono-fallback>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9040
        volume: mono: 64562 /  99% / -0.39 dB
                balance 0.00
        base volume: 64562 /  99% / -0.39 dB
        volume steps: 65537
        muted: no
        current latency: 0.04 ms
        max rewind: 0 KiB
        sample spec: s16le 1ch 16000Hz
        channel map: mono
                     Mono
        used by: 1
        linked by: 1
        configured latency: 24.99 ms; range is 4.00 .. 2000.00 ms
        card: 1 <alsa_card.usb-HD_WEBCAM_NexiGo_N60_FHD_Webcam_20201218-02>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "NexiGo N60 FHD Webcam"
                alsa.long_card_name = "HD WEBCAM NexiGo N60 FHD Webcam at usb-0000:00:14.0-3, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:3:1.2"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2/sound/card1"
                udev.id = "usb-HD_WEBCAM_NexiGo_N60_FHD_Webcam_20201218-02"
                device.bus = "usb"
                device.vendor.id = "1d6c"
                device.vendor.name = "HD WEBCAM"
                device.product.id = "1278"
                device.product.name = "NexiGo N60 FHD Webcam"
                device.serial = "HD_WEBCAM_NexiGo_N60_FHD_Webcam_20201218"
                device.form_factor = "webcam"
                device.string = "hw:1"
                device.buffering.buffer_size = "64000"
                device.buffering.fragment_size = "32000"
                device.access_mode = "mmap+timer"
                device.profile.name = "mono-fallback"
                device.profile.description = "Mono"
                device.description = "NexiGo N60 FHD Webcam Mono"
                module-udev-detect.discovered = "1"
                device.icon_name = "camera-web-usb"
        ports:
                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-mic>

我可能遗漏了什么吗?

答案1

我遇到了同样的问题,我将分享我的解决方案,但我不确定它为什么有效。

  1. 我从终端运行了 alsamixer
  2. 切换到与网络摄像头对应的声卡。
  3. 捕获设置原本为 0,所以我只需增加它,现在一切突然就正常工作了。

答案2

正如伊恩所说,alsamixer确实如此。

  1. 跑步$ alsamixer
  2. F6,然后NexiGo N60 FHD Wencam Audio从弹出的菜单中选择。按Enter
  3. F4(或F5进行所有设置,无论如何Capture)。
  4. 如果是 0,请将其调高至 100,然后再次尝试麦克风。如果不是 0,那么... 可能还有其他兼容性问题。
  5. 一旦Capture设置不再为 0,您可以直接退出ESC

虽然我确信你已经解决了你的问题,但我还是会在这里添加我的回复,以防将来其他人遇到这个问题!

相关内容