[FFmpeg-devel] [WIP] XComposite window capture demuxer (Linux)

Lynne dev at lynne.ee
Tue May 19 17:20:09 EEST 2020


May 19, 2020, 13:09 by george at nsup.org:

> Nicolas George (12020-05-19):
>
>> The doc says:
>>
>>  Requires either DRM master or CAP_SYS_ADMIN to run.
>>
>> Does it work for a normal user on a desktop distribution freshly
>> installed, without configuration?
>>
>> (I should test, but all my boxes are very far from the default
>> configuration.)
>>
>
> I stopped being lazy and did test:
>
> [kmsgrab @ 0x55b72655e840] No handle set on framebuffer: maybe you need
> some additional capabilities?
>

New versions of libdrm can allow it to work without root. It needs modifications.



> So it does NOT work out-of-the-box and without root privileges.
>
> Which makes the current proposal quite valuable indeed.
>
> This consideration completely trumps considerations about OpenGL state,
> because they only matter for the few application that would use OpenGL
> and this particular device in the library. In particular, it does not
> affect the command-line tool at all.
>

You underestimate how many library users use OpenGL.
My NAK still stands, whether you think its worth anything or not.



More information about the ffmpeg-devel mailing list