ffmpeg и bluetooth микрофон на Астра Орел

Mrshll

New member
Сообщения
76
#1
Приветствую.
Весь мозг сломал, но так и не понял, что надо вписать в строку записи экрана и аудио с микрофона, подключенного bluetooth, помогите не осилившему.
Изначальная команда на запись следующая:
Код:
ffmpeg -f x11grab -show_region 1 -s 1900,980 -r 20 -i :0.0+0,1100 -vcodec qtrle full_form.mov -f alsa -i default -ac 2 -ar 48000
Что надо вписать в параметр -i вместо default ?

То что выдает pacmd
>>> list-sources
4 source(s) available.
index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1950
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: 0 KiB
sample spec: s16le 2-канальный 4800
channel map: front-left,front-right
Стерео
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 0,50 .. 341,33 ms
monitor_of: 0
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
device.description = "Monitor of Встроенное аудио Аналоговый стерео"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa3218000 irq 50"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9ca0"
device.product.name = "Wildcat Point-LP High Definition Audio Controller"
device.form_factor = "internal"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
* index: 1
name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9959
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
base volume: 13076 / 20% / -42,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max rewind: 0 KiB
sample spec: s16le 2-канальный 4800
channel map: front-left,front-right
Стерео
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 4,00 .. 341,33 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CX20751/2 Analog"
alsa.id = "CX20751/2 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa3218000 irq 50"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9ca0"
device.product.name = "Wildcat Point-LP High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Аналоговый стерео"
device.description = "Встроенное аудио Аналоговый стерео"
alsa.mixer_name = "Conexant CX20751/2"
alsa.components = "HDA:14f1510f,104312df,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-input-internal-mic: Встроенный микрофон (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Микрофон (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
active port: <analog-input-internal-mic>
index: 4
name: <bluez_sink.8C_64_22_BC_DE_7E.headset_head_unit.monitor>
driver: <module-bluez5-device.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
volume: mono: 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: 0 KiB
sample spec: s16le 1-канальный 8000
channel map: mono
Моно
used by: 0
linked by: 0
fixed latency: 128,00 ms
monitor_of: 2
card: 3 <bluez_card.8C_64_22_BC_DE_7E>
module: 27
properties:
device.description = "Monitor of MW600"
device.class = "monitor"
device.string = "8C:64:22:BC:DE:7E"
device.api = "bluez"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_8C_64_22_BC_DE_7E"
bluez.class = "0x240404"
bluez.alias = "MW600"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
index: 5
name: <bluez_source.8C_64_22_BC_DE_7E.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
volume: mono: 65536 / 100%
balance 0,00
base volume: 65536 / 100%
volume steps: 16
muted: no
current latency: 0,00 ms
max rewind: 0 KiB
sample spec: s16le 1-канальный 8000
channel map: mono
Моно
used by: 0
linked by: 0
fixed latency: 28,00 ms
card: 3 <bluez_card.8C_64_22_BC_DE_7E>
module: 27
properties:
bluetooth.protocol = "headset_head_unit"
device.intended_roles = "phone"
device.description = "MW600"
device.string = "8C:64:22:BC:DE:7E"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_8C_64_22_BC_DE_7E"
bluez.class = "0x240404"
bluez.alias = "MW600"
device.icon_name = "audio-headset-bluetooth"
ports:
headset-input: Гарнитура (priority 0, latency offset 0 usec, available: unknown)
properties:

active port: <headset-input>