From: Sebastian Reitenbach Subject: Re: [2/2] [new port] multimedia/obs-studio To: Daniil Ryvkin , ports@openbsd.org Date: Thu, 13 Aug 2026 22:02:57 +0200 Hi, nice to see obs-studio on OpenBSD. So I got myself an Elgato Facecam on eBay: on first start, went through the detection for some default values. Then when adding source V4L2 device, I see following: info: --------------------------------- info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: stereo, track: 1 info: Output 'null': stopping info: Output 'null': Total frames output: 128 info: Output 'null': Total drawn frames: 150 [aac @ 0x2a172b17c00] Qavg: 65268.379 [aac @ 0x2a172b17c00] 2 frames left in the queue on closing info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1280x720 downscale filter: Bicubic fps: 30/1 format: NV12 YUV mode: Rec. 709/Partial info: NV12 texture support enabled info: P010 texture support not available info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1280x720 downscale filter: Bicubic fps: 30/1 format: NV12 YUV mode: Rec. 709/Partial info: NV12 texture support enabled info: P010 texture support not available info: ==== Auto-config wizard testing stopping ======== info: v4l2-input: Start capture from error: v4l2-input: Unable to open device error: v4l2-input: Initialization failed, errno: No such file or directory info: v4l2-input: Compiled without libudev, you can't reconnect devices info: User added source 'Video Capture Device (V4L2)' (v4l2_input) to scene 'Scene' info: v4l2-input: Found device 'Elgato Facecam' at /dev/video0 info: v4l2-input: Unable to open /dev/video1 info: v4l2-input: Unable to open /dev/video2 info: v4l2-input: Unable to open /dev/video3 info: v4l2-input: Found device 'Elgato Facecam' at /dev/video info: v4l2-input: Found input 'Camera Terminal' (Index 0) info: v4l2-input: Pixelformat: UYVY qʵ� (available) info: v4l2-input: Pixelformat: MJPEG (available) info: v4l2-input: Stepwise and Continuous framesizes are currently hardcoded info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded info: v4l2-input: Pixelformat: UYVY qʵ� (available) info: v4l2-input: Pixelformat: MJPEG (available) info: v4l2-input: Stepwise and Continuous framesizes are currently hardcoded info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded info: v4l2-input: Start capture from /dev/video0 info: v4l2-input: Input: 0 info: v4l2-input: Resolution: 1280x720 info: v4l2-input: Pixelformat: UYVY info: v4l2-input: Linesize: 72458704 Bytes info: v4l2-input: Framerate: 60.00 fps info: v4l2-input: /dev/video0: select timeout set to 83333 (5x frame periods) error: v4l2-input: /dev/video0: select timed out error: v4l2-input: /dev/video0: failed to log status error: v4l2-input: /dev/video0: select timed out error: v4l2-input: /dev/video0: failed to log status error: v4l2-input: /dev/video0: select timed out error: v4l2-input: /dev/video0: failed to log status error: v4l2-input: /dev/video0: select timed out error: v4l2-input: /dev/video0: failed to log status Segmentation fault (core dumped) [New process 263378] Core was generated by `obs'. Program terminated with signal SIGSEGV, Segmentation fault. #0 memcpy (dst0=0x2a18010da20, src0=, length=2560) at /usr/src/lib/libc/string/memcpy.c:103 ⚠ warning: 103 /usr/src/lib/libc/string/memcpy.c: No such file or directory [Current thread is 1 (process 523952)] (gdb) bt #0 memcpy (dst0=0x2a18010da20, src0=, length=2560) at /usr/src/lib/libc/string/memcpy.c:103 #1 0x000002a150e58074 in copy_frame_data_line () from /usr/local/lib/libobs.so.0.0 #2 0x000002a150e57f7d in copy_frame_data_plane () from /usr/local/lib/libobs.so.0.0 #3 0x000002a150e4d7a4 in copy_frame_data () from /usr/local/lib/libobs.so.0.0 #4 0x000002a150e58351 in cache_video () from /usr/local/lib/libobs.so.0.0 #5 0x000002a150e4da42 in obs_source_output_video_internal () from /usr/local/lib/libobs.so.0.0 #6 0x000002a150e4d92c in obs_source_output_video () from /usr/local/lib/libobs.so.0.0 #7 0x000002a11d2e5846 in v4l2_thread () from /usr/local/lib/obs-plugins/linux-v4l2.so #8 0x000002a1a9d7f4d2 in _rthread_start (v=0x2a18010e420) at /usr/src/lib/librthread/rthread.c:99 #9 0x000002a1c670c1da in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87 After editing: ~/.config/obs-studio/basic/scenes/Untitled.json adding these settings to the sources: "sources": [ { "prev_ver": 536936450, "name": "Video Capture Device (V4L2)", "uuid": "957ef78b-9b9a-47d3-92c5-123261250a5b", "id": "v4l2_input", "versioned_id": "v4l2_input", "settings": { "device_id": "/dev/video0", "pixelformat": 1196444237, "framerate": -1, "input": 0, "resolution": 5497558139600 }, "mixers": 0, "sync": 0, "flags": 0, "volume": 1.0, "balance": 0.5, "enabled": true, "muted": false, "push-to-mute": false, "push-to-mute-delay": 0, "push-to-talk": false, "push-to-talk-delay": 0, "hotkeys": {}, "deinterlace_mode": 0, "deinterlace_field_order": 0, "monitoring_type": 0, "private_settings": {} }, to force mjpeg, it starts up and doesn't crash anymore. But then when recording, I end up with black image. sysctl -a | grep record kern.audio.record=1 kern.video.record=1 uvideo0 at uhub0 port 3 configuration 1 interface 0 "Elgato Elgato Facecam" rev 3.00/4.09 addr 2 video0 at uvideo0 uhidev0 at uhub0 port 3 configuration 1 interface 2 "Elgato Elgato Facecam" rev 3.00/4.09 addr 2 uhidev0: iclass 3/0 OpenBSD 8.0-beta (GENERIC.MP) #81: Fri Aug 7 00:19:16 MDT 2026 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 34106941440 (32526MB) avail mem = 33049112576 (31518MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.6 @ 0x75c86000 (127 entries) bios0: vendor American Megatrends International, LLC. version "0.30" date 03/26/2026 bios0: GEEKOM IX12 efi0 at bios0: UEFI 2.8 efi0: American Megatrends rev 0x5001b acpi0 at bios0: ACPI 6.5 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP FIDT MSDM SSDT SSDT SSDT SSDT SSDT HPET APIC MCFG SSDT UEFI SDEV NHLT LPIT SSDT SSDT DBGP DBG2 DMAR FPDT SSDT SSDT SSDT SSDT PHAT TPM2 WSMT acpi0: wakeup devices PEGP(S4) PEGP(S4) PEGP(S4) SIO1(S3) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) PXSX(S4) RP14(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 19200000 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) N95, 3392.18 MHz, 06-be-00, patch 00000021 cpu0: cpuid 1 edx=bfebfbff ecx=77fafbbf cpu0: cpuid 6 eax=578ff7 ecx=9 cpu0: cpuid 7.0 ebx=239ca7eb ecx=98c007ac edx=fc184410 cpu0: cpuid a vers=5, gp=6, gpwidth=48, ff=3, ffwidth=48 cpu0: cpuid d.1 eax=f cpu0: cpuid 80000001 edx=2c100800 ecx=121 cpu0: cpuid 80000007 edx=100 cpu0: msr 10a=15c0fd6b cpu0: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache, 6MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0, type E mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 38MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.2.0.1.0.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) N95, 3392.18 MHz, 06-be-00, patch 00000021 cpu1: smt 0, core 1, package 0, type E cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) N95, 2693.79 MHz, 06-be-00, patch 00000021 cpu2: smt 0, core 2, package 0, type E cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) N95, 2693.79 MHz, 06-be-00, patch 00000021 cpu3: smt 0, core 3, package 0, type E ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xc0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PC00) acpiprt1 at acpi0: bus 33 (RP09) acpiprt2 at acpi0: bus 32 (RP10) acpiprt3 at acpi0: bus -1 (RP11) acpiprt4 at acpi0: bus -1 (RP12) acpiprt5 at acpi0: bus -1 (RP13) acpiprt6 at acpi0: bus -1 (RP14) acpiprt7 at acpi0: bus -1 (RP15) acpiprt8 at acpi0: bus -1 (RP16) acpiprt9 at acpi0: bus -1 (RP01) acpiprt10 at acpi0: bus -1 (RP02) acpiprt11 at acpi0: bus 1 (RP03) acpiprt12 at acpi0: bus 35 (RP04) acpiprt13 at acpi0: bus -1 (RP05) acpiprt14 at acpi0: bus -1 (RP06) acpiprt15 at acpi0: bus 34 (RP07) acpiprt16 at acpi0: bus -1 (RP08) acpiprt17 at acpi0: bus -1 (RP17) acpiprt18 at acpi0: bus -1 (RP18) acpiprt19 at acpi0: bus -1 (RP19) acpiprt20 at acpi0: bus -1 (RP20) acpiprt21 at acpi0: bus -1 (RP21) acpiprt22 at acpi0: bus -1 (RP22) acpiprt23 at acpi0: bus -1 (RP23) acpiprt24 at acpi0: bus -1 (RP24) acpiec0 at acpi0: not present acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001 com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo "OVTI01AS" at acpi0 not configured "OVTID858" at acpi0 not configured "TXNW3643" at acpi0 not configured "TXNW3643" at acpi0 not configured "ACPI000E" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 384 pins acpibtn0 at acpi0: SLPB acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x21), C1(1000@1 mwait.1), PSS "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured intelpmc0 at acpi0: PEPD state 0: 0x7f:1:2:0x00:0x0000000000000060 counter: 0x7f:64:0:0x00:0x0000000000000632 frequency: 0 state 1: 0x7f:1:2:0x00:0x0000000000000060 counter: 0x00:32:0:0x03:0x00000000fe00193c frequency: 8197 "INTC1070" at acpi0 not configured acpibtn1 at acpi0: PWRB tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x001d15d1 rev 0x36 acpipwrres0 at acpi0: WRST acpipwrres1 at acpi0: TBT0, resource for TDM0, TRP0, TRP1 acpipwrres2 at acpi0: TBT1, resource for TDM1, TRP2, TRP3 acpipwrres3 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, TRP3 acpipwrres4 at acpi0: FN00 acpipwrres5 at acpi0: FN01 acpipwrres6 at acpi0: FN02 acpipwrres7 at acpi0: FN03 acpipwrres8 at acpi0: FN04 acpitz0 at acpi0 acpitz0: critical temperature is 110 degC acpipwrres9 at acpi0: PIN_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F acpivout1 at acpivideo0: DD2F cpu0: using VERW MDS workaround cpu0: Enhanced SpeedStep 3392 MHz: speeds: 1701, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 0:31:5: mem address conflict 0xfe010000/0x1000 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x4618 rev 0x00 inteldrm0 at pci0 dev 2 function 0 "Intel Graphics" rev 0x00 drm0 at inteldrm0 inteldrm0: msi, ALDERLAKE_P, gen 12 "Intel ADL-N GNA" rev 0x00 at pci0 dev 8 function 0 not configured "Intel Core 12G CL" rev 0x01 at pci0 dev 10 function 0 not configured xhci0 at pci0 dev 13 function 0 "Intel ADL-N xHCI" rev 0x00: msi, xHCI 1.20 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci0 dev 20 function 0 "Intel ADL-N xHCI" rev 0x00: msi, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel ADL-N SRAM" rev 0x00 at pci0 dev 20 function 2 not configured dwiic0 at pci0 dev 21 function 0 "Intel ADL-N I2C" rev 0x00: apic 2 int 27 iic0 at dwiic0 dwiic1 at pci0 dev 21 function 1 "Intel ADL-N I2C" rev 0x00: apic 2 int 40 iic1 at dwiic1 "Intel ADL-N HECI" rev 0x00 at pci0 dev 22 function 0 not configured ahci0 at pci0 dev 23 function 0 "Intel ADL-N AHCI" rev 0x00: msi, AHCI 1.3.1 ahci0: port 0: 6.0Gb/s ahci0: PHY offline on port 1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: t10.ATA_Verbatim_Vi560_493634108893991_ sd0: 488386MB, 512 bytes/sector, 1000215216 sectors, thin dwiic2 at pci0 dev 25 function 0 "Intel ADL-N I2C" rev 0x00: apic 2 int 31 iic2 at dwiic2 dwiic3 at pci0 dev 25 function 1 "Intel ADL-N I2C" rev 0x00: apic 2 int 32 iic3 at dwiic3 sdhc0 at pci0 dev 26 function 0 "Intel ADL-N eMMC" rev 0x00: apic 2 int 16 sdhc0: SDHC 3.00, 200 MHz base clock sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma ppb0 at pci0 dev 28 function 0 "Intel ADL-N PCIE" rev 0x00: msi pci1 at ppb0 bus 1 "MediaTek MT7920" rev 0x00 at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 3 "Intel ADL-N PCIE" rev 0x00: msi pci2 at ppb1 bus 35 igc0 at pci2 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, address 38:f7:cd:d3:df:90 ppb2 at pci0 dev 28 function 6 "Intel ADL-N PCIE" rev 0x00: msi pci3 at ppb2 bus 34 igc1 at pci3 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, address 38:f7:cd:d9:13:e2 ppb3 at pci0 dev 29 function 0 "Intel ADL-N PCIE" rev 0x00: msi pci4 at ppb3 bus 33 igc2 at pci4 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, address 38:f7:cd:d9:13:dc ppb4 at pci0 dev 29 function 1 "Intel ADL-N PCIE" rev 0x00: msi pci5 at ppb4 bus 32 igc3 at pci5 dev 0 function 0 "Intel I226-V" rev 0x04, msix, 4 queues, address 38:f7:cd:d9:13:dd "Intel ADL-N UART" rev 0x00 at pci0 dev 30 function 0 not configured "Intel ADL-N GSPI" rev 0x00 at pci0 dev 30 function 3 not configured pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x5482 rev 0x00 azalia0 at pci0 dev 31 function 3 "Intel ADL-N HD Audio" rev 0x00: msi azalia0: codecs: Realtek ALC269 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel ADL-N SMBus" rev 0x00: apic 2 int 16 iic4 at ichiic0 iic4: addr 0x4a 15=2c 16=20 19=04 1b=05 1c=60 1e=60 1f=60 20=89 21=78 22=63 25=78 26=63 27=78 28=63 29=b0 2a=bb 2b=42 2c=20 2d=22 2e=04 2f=5a 32=80 34=0e 3b=04 3c=0b 3d=2a words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 "eeprom" at iic4 addr 0x52 not configured "Intel ADL-N SPI" rev 0x00 at pci0 dev 31 function 5 not configured isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured enable mbufs in high memory scsibus2 at sdmmc0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: removable sd1: 59680MB, 512 bytes/sector, 122224640 sectors uvideo0 at uhub0 port 3 configuration 1 interface 0 "Elgato Elgato Facecam" rev 3.00/4.09 addr 2 video0 at uvideo0 uhidev0 at uhub0 port 3 configuration 1 interface 2 "Elgato Elgato Facecam" rev 3.00/4.09 addr 2 uhidev0: iclass 3/0 uhid0 at uhidev0: input=1024, output=1024, feature=0 uhidev1 at uhub1 port 1 configuration 1 interface 0 "YICHIP Wireless Device" rev 2.00/0.02 addr 2 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard uhidev2 at uhub1 port 1 configuration 1 interface 1 "YICHIP Wireless Device" rev 2.00/0.02 addr 2 uhidev2: iclass 3/1, 3 report ids ums0 at uhidev2 reportid 1: 5 buttons, Z and W dir wsmouse0 at ums0 mux 0 uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0 ucc0 at uhidev2 reportid 3: 897 usages, 20 keys, array wskbd1 at ucc0 mux 1 uhidev3 at uhub1 port 3 configuration 1 interface 0 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 3 uhidev3: iclass 3/1 ukbd1 at uhidev3: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 uhidev4 at uhub1 port 3 configuration 1 interface 1 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 3 uhidev4: iclass 3/1, 3 report ids ums1 at uhidev4 reportid 1: 5 buttons, Z dir wsmouse1 at ums1 mux 0 uhid2 at uhidev4 reportid 2: input=1, output=0, feature=0 ucc1 at uhidev4 reportid 3: 5 usages, 4 keys, array wskbd3 at ucc1 mux 1 ugen0 at uhub1 port 8 "MediaTek Inc. Wireless_Device" rev 2.10/1.00 addr 4 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (f9a15cb6ebb9857c.a) swap on sd0b dump on sd0b inteldrm0: 3440x1440, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wskbd3: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) uaudio0 at uhub1 port 4 configuration 1 interface 1 "MOTU M2" rev 2.00/2.01 addr 5 uaudio0: class v2, high-speed, sync, channels: 2 play, 2 rec, 0 ctls audio1 at uaudio0 umidi0 at uhub1 port 4 configuration 1 interface 4 "MOTU M2" rev 2.00/2.01 addr 5 umidi0: (genuine USB-MIDI) umidi0: out=1, in=1 midi0 at umidi0: umodem0 at uhub1 port 4 configuration 1 interface 5 "MOTU M2" rev 2.00/2.01 addr 5 umodem0: data interface 6, has no CM over data, has no break umodem0: status change notification available ucom0 at umodem0: usb1.0.00004.6 ugen1 at uhub1 port 4 configuration 1 "MOTU M2" rev 2.00/2.01 addr 5 audio1 detached uaudio0 detached midi0 detached umidi0 detached ucom0 detached umodem0 detached ugen1 detached uaudio0 at uhub1 port 4 configuration 1 interface 1 "MOTU M2" rev 2.00/2.01 addr 5 uaudio0: class v2, high-speed, sync, channels: 2 play, 2 rec, 0 ctls audio1 at uaudio0 umidi0 at uhub1 port 4 configuration 1 interface 4 "MOTU M2" rev 2.00/2.01 addr 5 umidi0: (genuine USB-MIDI) umidi0: out=1, in=1 midi0 at umidi0: umodem0 at uhub1 port 4 configuration 1 interface 5 "MOTU M2" rev 2.00/2.01 addr 5 umodem0: data interface 6, has no CM over data, has no break umodem0: status change notification available ucom0 at umodem0: usb1.0.00004.6 ugen1 at uhub1 port 4 configuration 1 "MOTU M2" rev 2.00/2.01 addr 5 audio1 detached uaudio0 detached midi0 detached umidi0 detached ucom0 detached umodem0 detached ugen1 detached uaudio0 at uhub1 port 4 configuration 1 interface 1 "MOTU M2" rev 2.00/2.01 addr 5 uaudio0: class v2, high-speed, sync, channels: 2 play, 2 rec, 0 ctls audio1 at uaudio0 umidi0 at uhub1 port 4 configuration 1 interface 4 "MOTU M2" rev 2.00/2.01 addr 5 umidi0: (genuine USB-MIDI) umidi0: out=1, in=1 midi0 at umidi0: umodem0 at uhub1 port 4 configuration 1 interface 5 "MOTU M2" rev 2.00/2.01 addr 5 umodem0: data interface 6, has no CM over data, has no break umodem0: status change notification available ucom0 at umodem0: usb1.0.00004.6 ugen1 at uhub1 port 4 configuration 1 "MOTU M2" rev 2.00/2.01 addr 5 so finally I made some tests with ffmpeg: ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 1280x720 -i /dev/video0 -vcodec copy -f null - still reported some dropped frames, The next then worked flawlessly: ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 960x540 -i /dev/video0 -vcodec copy -f null - so I updated the Untitled.json again to: "name": "Untitled", "sources": [ { "prev_ver": 536936450, "name": "Video Capture Device (V4L2)", "uuid": "957ef78b-9b9a-47d3-92c5-123261250a5b", "id": "v4l2_input", "versioned_id": "v4l2_input", "settings": { "device_id": "/dev/video0", "input": 0, "pixelformat": 1196444237, "resolution": 4123168604700, "framerate": 10000000, "color_range": 1 }, "mixers": 0, "sync": 0, "flags": 0, "volume": 1.0, "balance": 0.5, "enabled": true, "muted": false, "push-to-mute": false, "push-to-mute-delay": 0, "push-to-talk": false, "push-to-talk-delay": 0, "hotkeys": {}, "deinterlace_mode": 0, "deinterlace_field_order": 0, "monitoring_type": 0, "private_settings": {} }, and then obs was able to record the video stream nicely. just running "video" worked like a charm as well. attached console output of obs starting up, opening the cameras properties, and recording a short video. cheers, Sebastian On Thu, Aug 6, 2026 at 3:59 PM Stuart Henderson wrote: > On 2026/08/04 15:28, Daniil Ryvkin wrote: > > You were right, adding -L to the linker flags was all that was needed. > > great. thanks for sticking with it after feedback :) > > two things I noticed reading through, > > - simple tweak that can be done by whoever imports (i.e. no need to send > a new tar): drop "WWW: https://obsproject.com/" from pkg/DESCR, OpenBSD > adds this automatically from HOMEPAGE > > with that, it's ok sthen to import. > > > the other is not a blocker but would be nice to do after import: > > - in the patch to frontend/utility/platform-x11.cpp, it would be > better to use XDG_RUNTIME_DIR from the environment if available. > setusercontext() tries to create the dir with user-restricted > permissions and sets that var if ok, so it's a safer choice > than /tmp/obs-studio.lock.. > > -- https://buzzdeee.reitenba.ch