On Ubuntu 23.04, there is only pipewire
, no pulse audio.
When I use ffmpeg
for record desktop, no sound is recording.
In case I use hw:1
, it record one second of audio and then silence. Does ffmpeg
support pipewire already?
ffmpeg \
-f alsa -i hw:1 \
-video_size 1920x1080 -framerate $framerate -f x11grab -i :1 -c:v libx264 -qp 0 \
-crf 40 \
output.mp4
UPDATE:
I tried install Kazam. Kazam stucked when I stopped the recording, so I think it is similar issue.