Bug 467761

Summary: Support changing the codec (or default to the one supporting the highest resolution?)
Product: [Applications] kamoso Reporter: Prajna Sariputra <putr4.s>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: REPORTED ---    
Severity: normal CC: 4wy78uwh
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Prajna Sariputra 2023-03-24 19:01:59 UTC
SUMMARY
My webcam (Quanta Computer, Inc. HP Wide Vision HD Camera) only supports its 720p resolution if the MJPEG codec is used, otherwise the raw format is used it is limited to 640x480. So, Kamoso ends up using 640x480 (or 640x360 if gst-plugin-libcamera is installed).

For reference Cheese (the GNOME webcam app) does use 1280x720 resolution.


STEPS TO REPRODUCE
1. Have a webcam that only supports MJPEG for its native resolution
2. Open Kamoso
3. Take a photo

OBSERVED RESULT
The photo Kamoso captured is at a lower resolution than native, with no option to change it.

EXPECTED RESULT
Kamoso should either default to the highest resolution possible or offer options to select the native resolution.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: OMEN by HP Gaming Laptop 16-n0xxx