View previous topic :: View next topic |
Author |
Message |
saturnalia0 Tux's lil' helper
Joined: 13 Oct 2016 Posts: 136
|
Posted: Sun Oct 08, 2017 10:07 pm Post subject: [Solved] ffmpeg unknown input format: 'x11grab' after update |
|
|
This used to work to record the screen:
ffmpeg -video_size 1920x1080 -framerate 10 -f x11grab -i :0.0+0,0 /tmp/alt.mp4
Now it doesn't (after an update):
Unknown input format: 'x11grab'
Use flag "X" is enabled. ffmpeg's website says to use x11grab, some google suggests xcbgrab, so I recompiled ffmpeg with the xcb useflag. No use:
Unknown input format: 'xcbgrab'
I assume something useflag related changed. Ideas anyone?
Last edited by saturnalia0 on Sat Oct 21, 2017 4:02 pm; edited 1 time in total |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2575 Location: Here and Away Again
|
Posted: Mon Oct 09, 2017 12:15 am Post subject: ><)))°€ |
|
|
Indeed, in 3.3, they “Removed the legacy X11 screen grabber, use XCB instead”.
Did you try '-f x11grab' /after/ having enabled USE="xcb"?
It was a bit confusing to me, too. _________________ Kindest of regardses. |
|
Back to top |
|
|
saturnalia0 Tux's lil' helper
Joined: 13 Oct 2016 Posts: 136
|
Posted: Sat Oct 21, 2017 4:02 pm Post subject: Re: ><)))°€ |
|
|
Chiitoo wrote: | Indeed, in 3.3, they “Removed the legacy X11 screen grabber, use XCB instead”.
Did you try '-f x11grab' /after/ having enabled USE="xcb"?
It was a bit confusing to me, too. |
Ah! Yeah, that works. Duh! Thanks. |
|
Back to top |
|
|
mgcyung n00b
Joined: 06 Nov 2016 Posts: 32
|
Posted: Thu Apr 09, 2020 11:54 am Post subject: |
|
|
Now it is USE="libdrm" |
|
Back to top |
|
|
adsffdas n00b
Joined: 08 May 2020 Posts: 1
|
Posted: Fri May 08, 2020 5:18 pm Post subject: |
|
|
mgcyung wrote: | Now it is USE="libdrm" |
Ok thank you very much for the update, but can you give me the commands I need to input into the cmd (I'm on Windows)? I tried typing [ffmpeg USE=libdrm] as a command but that didn't work. Excuse the noob question. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat May 09, 2020 12:11 am Post subject: |
|
|
adsffdas wrote: | mgcyung wrote: | Now it is USE="libdrm" |
Ok thank you very much for the update, but can you give me the commands I need to input into the cmd (I'm on Windows)? I tried typing [ffmpeg USE=libdrm] as a command but that didn't work. Excuse the noob question. |
This is a Gentoo forum for Gentoo users. USE flags are for Gentoo only, and you do not get to benefit from x11grab on win32 in any case. Use the correct OS. |
|
Back to top |
|
|
|