Score:0

ffmpeg: no background sound

cv flag

I can see my video but I cannot hear some background sound. This is the command I'm using:

ffmpeg -f x11grab -video_size 1366x768 -framerate 20 -i :11 /home/userx/Desktop/out.mpg

How can I enable sound?

Score:0
br flag

Pulse only:

ffmpeg -f x11grab -video_size 1366x768 -framerate 30 -i :0.0 -f pulse -i default -c:a libmp3lame -b:a 128k -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p desktop-out.mkv

Pulse with ALSA:

ffmpeg -f alsa -ac 2 -i pulse -c:a libmp3lame -b:a 128k -f x11grab -r 30 -s 1366x768 -i :0.0 -aspect 16:9 -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p desktop-out.mkv

NOTE:

Use -f oss -i /dev/dsp1 to capture sound from microphone.

Audio libraries:

mp3: libmp3lame webm: libvpx ogg: libvorbis opus: libopus aac: libfaac

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.