Missing flags for webcam usage in ffmpeg-full
Context
I'm one of the developers of qTox a P2P instant messenger and video conferencing program. For qTox to work we need webcam support in our Flatpak build. The webcam support is handled via ffmpeg and the ffmpeg-full extension is missing flags to make qTox work.
Description
We would need for webcam access:
-
--enable-libv4l2
,--enable-indev=v4l2
because webcams are accessed via V4L2 in Linux -
--enable-libxcb
,--enable-indev=xcbgrab
to support screen capturing -
--enable-demuxer=mjpeg
,--enable-parser=mjpeg
,--enable-decoder=mjpeg
since MJPEG is a common format for webcams to provide video output
A similar request was made by the Jami developers, but it's outdated in the mean time. For reference: #941 (closed)
Downstream issue report: https://github.com/qTox/qTox/issues/6059#issuecomment-629162605