Score:1

ffmpeg Cannot open display

in flag

I get this error when I type in the terminal

ffmpeg -f x11grab -y -r 30 -s 1920x1080 -i :0.0 -vcodec huffyuv out.avi

what should i do to make it work?

I am using ubuntu 21.10

After typing into the terminal echo DISPLAY I get a :1

Pilot6 avatar
cn flag
Please don't ask the same question again. You can [edit] your question. If you get `:1` so why use `0:0`?
Score:1
cn flag

Try this command

ffmpeg -f x11grab -y -r 30 -s 1920x1080 -i $DISPLAY -vcodec huffyuv out.avi

You display is not :0.0.

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.