Streaming UVC camera and USB Mic - Linux
Posted: 09 Jun 2021 18:45
Hi,
I am developing a project for a Smart Doorbell, by using a SBC Rock64 (v2.0) with a Arducam UVC USB camera (Arducam B0205) and a USB MIC (this one just a testing, I will use a simple USB Mic) ReSpeaker USB Mic Array.
The Linux distro is Debian Buster.
Now, I managed to stream video only by:
My Mic hardware:
Also as a plus (but no so important at this stage, but would be at the end, how can add hwaccel, since right now it use the 4 cores at 100%).
Thanks in advance.
I am developing a project for a Smart Doorbell, by using a SBC Rock64 (v2.0) with a Arducam UVC USB camera (Arducam B0205) and a USB MIC (this one just a testing, I will use a simple USB Mic) ReSpeaker USB Mic Array.
The Linux distro is Debian Buster.
Now, I managed to stream video only by:
How can add also the mic capture to this streaming?cvlc -vvv v4l2:///dev/video0:width=1920:height=1080:fps=30:chroma=MJPG --sout '#transcode{acodec=none}:rtp{sdp=rtsp://:8554/}'
My Mic hardware:
Which is the card 3.arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: rki2ssound [rk-i2s-sound], device 0: ff010000.i2s-rk3328-hifi rk3328-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: rki2ssound [rk-i2s-sound], device 1: ff010000.i2s-snd-soc-dummy-dai snd-soc-dummy-dai-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: ArrayUAC10 [ReSpeaker 4 Mic Array (UAC1.0)], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Also as a plus (but no so important at this stage, but would be at the end, how can add hwaccel, since right now it use the 4 cores at 100%).
Thanks in advance.