Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on Ubuntu 18.04.5 LTS #33

Open
skanga opened this issue Jan 24, 2021 · 1 comment
Open

Fails on Ubuntu 18.04.5 LTS #33

skanga opened this issue Jan 24, 2021 · 1 comment

Comments

@skanga
Copy link

skanga commented Jan 24, 2021

$ xhost +
access control disabled, clients can connect from any host

$ ffscreencast
/usr/bin/ffmpeg -hide_banner -loglevel info -thread_queue_size 512 -f x11grab -video_size 1280x720 -i ":0.0" -c:v libx264 -crf 0 -preset ultrafast -threads 0 "/home/skanga/Desktop/Screencast 2021-01-24 at 13.26.31.mkv"
Invalid MIT-MAGIC-COOKIE-1 key[x11grab @ 0x5571a21139a0] Cannot open display :0.0, error 1.
:0.0: Input/output error

@manassingh2611
Copy link

echo $DISPLAY will give you :1 but ffmpeg is using -i "0:0" is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants