Cheese only uses video/x-raw formats, and not image/jpeg
I have a Thinkpad T470s with an integrated webcam. Running sudo lsusb -v
produces the following information:
idVendor 0x5986 Acer, Inc
idProduct 0x2118
bcdDevice 37.37
iManufacturer 1 SunplusIT Inc
iProduct 2 Integrated Camera
iSerial 0
bNumConfigurations 1
It can record both uncompressed video at 1280x720x10fps and JPEG compressed video at 1280x720x30fps. I have access to a Thinkpad Yoga 260 and a Dell Venue Pro 7139, and they each have webcams with similar properties: they can perform video recording at 30fps with JPEG compression only.
From my vantage point, hardware is likely to perform better (from a fps recording perspective) if it records using MJPEG instead of YUV, but I could be uninformed.
How come Cheese opts to only record media using a "video/x-raw" gst cap instead of "image/jpeg"? I do not mean to be accusatory; I ask to understand the history of the decision made. Would you be interested in a patch to add MJPEG recording?