Anyone knows how to build ffmpeg with x11grab support in a headless session, e.g. Open Build Service? I can build it in a normal X11 session, but not without the X.
As OBS essentially creates a headless session when building a package and ffmpeg tries to automatically deduce the features from the environment, the resulting binary and libraries don't include x11grab device. I only guess it's a matter of installing the proper libraries and their devel counterparts in the build session, but have been unable to figure out the right combination.
Anyone to point me in the right direction?