Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] ffmpeg unknown input format: 'x11grab' after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 136

PostPosted: Sun Oct 08, 2017 10:07 pm    Post subject: [Solved] ffmpeg unknown input format: 'x11grab' after update Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2575
Location: Here and Away Again

PostPosted: Mon Oct 09, 2017 12:15 am    Post subject: ><)))°€ Reply with quote

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
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 136

PostPosted: Sat Oct 21, 2017 4:02 pm    Post subject: Re: ><)))°€ Reply with quote

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
View user's profile Send private message
mgcyung
n00b
n00b


Joined: 06 Nov 2016
Posts: 32

PostPosted: Thu Apr 09, 2020 11:54 am    Post subject: Reply with quote

Now it is USE="libdrm"
Back to top
View user's profile Send private message
adsffdas
n00b
n00b


Joined: 08 May 2020
Posts: 1

PostPosted: Fri May 08, 2020 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat May 09, 2020 12:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum