Score:1

ubuntu 23.04, no pulseaudio, only pipewire, ffmpeg, no audio when record desktop

us flag

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.

us flag
Might be a Wayland issue. Switch to X https://askubuntu.com/questions/1410256/how-do-i-use-x-instead-of-wayland-on-22-04 and retry with Kazam.
Stanislav Hosek avatar
us flag
@ArchismanPanigrahi Hi, I am already out of Wayland on X, because of correct work with touchscreen. Seems this issue is probably related to pipewire support. Any ideas? Did someone try record desktop with pipewire only?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.