Set default webcam video format to YUYV

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
junosl
Posts: 2
Joined: Mon Nov 29, 2021 2:53 pm

Set default webcam video format to YUYV

#1 Post by junosl »

Hi everyone!

I am trying to set up my integrated web cam on Sony Vaio 13 Pro running MX-21.

When I first ran Webcamoid, the image was tearing up and only the top portion of the stream was continuously shown. When I selected YUYV video format instead of the default MJPG one under "Configure sources", this problem was resolved.

I am now wondering how to use this setting in other applications, such as in Firefox when using web apps for video calls. Is this an option that each web app should provide (as an example, I found no such setting in Jitsi, https://meet.jit.si/TestCall )? Is it something Firefox itself controls?
Or can I set this system wide?

I already tried to use v4l2-ctl for this purpose, but I was not sure what argument controls this or how to apply it to any application that uses the web cam.

I attach the relevant system info below. I would appreciate any advice very much!

Code: Select all

System:    Host: <filter> Kernel: 5.10.0-10-amd64 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-10-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 dm: SDDM 
           Distro: MX-21_KDE_x64 Wildflower October 20  2021 base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Sony product: SVP1321Z9EB v: C60BYZYP serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Sony model: VAIO serial: <filter> UEFI: American Megatrends v: R1044V7 
           date: 03/24/2014 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Sony driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0a16 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa 
           compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 21.2.5 
           compat-v: 3.0 direct render: Yes 

User avatar
Eadwine Rose
Administrator
Posts: 15240
Joined: Wed Jul 12, 2006 2:10 am

Re: Set default webcam video format to YUYV

#2 Post by Eadwine Rose »

Please attach the whole system info, thank you.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
junosl
Posts: 2
Joined: Mon Nov 29, 2021 2:53 pm

Re: Set default webcam video format to YUYV

#3 Post by junosl »

Sure, here you go:

Code: Select all

System:    Host: <filter> Kernel: 5.10.0-10-amd64 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-10-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 dm: SDDM 
           Distro: MX-21_KDE_x64 Wildflower October 20  2021 base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Sony product: SVP1321Z9EB v: C60BYZYP serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Sony model: VAIO serial: <filter> UEFI: American Megatrends v: R1044V7 
           date: 03/24/2014 
Battery:   ID-1: BAT0 charge: 15.0 Wh condition: 37.5/37.5 Wh (100%) volts: 7.9/7.5 
           model: Sony Corp. type: Li-ion serial: N/A status: Charging 
CPU:       Topology: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 45 (69) stepping: 1 microcode: 26 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19156 
           Speed: 1211 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1211 2: 997 3: 1014 4: 1022 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Sony driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0a16 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa 
           compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 21.2.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Sony driver: snd_hda_intel v: kernel 
           bus ID: 00:03.0 chip ID: 8086:0a0c 
           Device-2: Intel 8 Series HD Audio vendor: Sony driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:9c20 
           Sound Server: ALSA v: k5.10.0-10-amd64 
Network:   Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel port: f040 bus ID: 01:00.0 
           chip ID: 8086:08b1 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 81.15 GiB (34.0%) 
           ID-1: /dev/sda vendor: Toshiba model: THNSNH256G8NT size: 238.47 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: N104 scheme: GPT 
Partition: ID-1: / raw size: 114.84 GiB size: 112.48 GiB (97.94%) used: 9.00 GiB (8.0%) fs: ext4 
           dev: /dev/dm-0 
           ID-2: /boot raw size: 512.0 MiB size: 487.2 MiB (95.16%) used: 185.8 MiB (38.1%) 
           fs: ext4 dev: /dev/sda2 
           ID-3: /home raw size: 114.84 GiB size: 112.48 GiB (97.94%) used: 71.97 GiB (64.0%) 
           fs: ext4 dev: /dev/dm-1 
           ID-4: swap-1 size: 7.98 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
           cache pressure: 100 (default) dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/element-io.list 
           1: deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb https://mega.nz/linux/MEGAsync/Debian_11/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://ftp.arnes.si/mirrors/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb https://ftp.arnes.si/mirrors/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/nordvpn.list 
           1: deb https://repo.nordvpn.com/deb/nordvpn/debian/ stable main
           No active apt repos in: /etc/apt/sources.list.d/sunderme-ubuntu-texstudio-jammy.list 
Info:      Processes: 229 Uptime: 46m Memory: 7.68 GiB used: 1.74 GiB (22.6%) Init: SysVinit 
           v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 

Post Reply

Return to “MX KDE Official Release”