archiver, через пульс получается записывать звук.
а через alsa не могу что то настроить.
вывод aplay -L
default
Playback/recording through the PulseAudio sound server
sysdefault:CARD=CK804
NVidia CK804, NVidia CK804
Default Audio Device
front:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Front speakers
surround40:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804 - IEC958
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Direct sample mixing device
dmix:CARD=CK804,DEV=2
NVidia CK804, NVidia CK804 - IEC958
Direct sample mixing device
dsnoop:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Direct sample snooping device
dsnoop:CARD=CK804,DEV=2
NVidia CK804, NVidia CK804 - IEC958
Direct sample snooping device
hw:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Direct hardware device without any conversions
hw:CARD=CK804,DEV=2
NVidia CK804, NVidia CK804 - IEC958
Direct hardware device without any conversions
plughw:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Hardware device with all software conversions
plughw:CARD=CK804,DEV=2
NVidia CK804, NVidia CK804 - IEC958
Hardware device with all software conversions
ну и для составления команды через ffmpeg
echo $DISPLAY
:0