Bug 265842

Summary: multimedia/obs-studio: error: v4l2-input: /dev/video0: select timed out
Product: Ports & Packages Reporter: Martin Filla <freebsd>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: New ---    
Severity: Affects Only Me CC: doctorwhoguy, freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Martin Filla 2022-08-14 18:50:00 UTC
Hi,
I have problem with freeze camera in obs

FreeBSD  13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
info: v4l2-input: Found device 'FaceCam 1000X: FaceCam 1000X' at /dev/video0
info: v4l2-input: /dev/video1 seems to not support video capture
info: v4l2-input: Found input 'Camera 1' (Index 0)
info: v4l2-controls: setting default for Power Line Frequency to 1
info: v4l2-input: Pixelformat: YUYV 4:2:2 (available)
info: v4l2-input: Pixelformat: Motion-JPEG (available)
info: v4l2-input: Pixelformat: RGB3 (Emulated) (unavailable)
info: v4l2-input: Pixelformat: BGR3 (Emulated) (available)
info: v4l2-input: Pixelformat: YU12 (Emulated) (available)
info: v4l2-input: Pixelformat: YV12 (Emulated) (available)
info: v4l2-input: Pixelformat: YUYV 4:2:2 (available)
info: v4l2-input: Pixelformat: Motion-JPEG (available)
info: v4l2-input: Pixelformat: RGB3 (Emulated) (unavailable)
info: v4l2-input: Pixelformat: BGR3 (Emulated) (available)
info: v4l2-input: Pixelformat: YU12 (Emulated) (available)
info: v4l2-input: Pixelformat: YV12 (Emulated) (available)
[mjpeg @ 0x81bb3c200] overread 8
[mjpeg @ 0x81bb3c200] overread 8
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/local/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/local/share/obs/obs-studio/themes/
  OpenType support missing for "MUTT ClearlyU Wide", script 11
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: stream reset successful
Comment 1 Martin Filla 2022-08-14 18:55:59 UTC
obs studio 27.2.4
Comment 2 Patrick McMunn 2023-06-27 00:12:51 UTC
I also encounter this same error (at least I think it's the same error). It manifests at seemingly random times upon starting OBS or when changing settings for video devices such as my EVGA capture card or my webcam. I reported it upstream, but it was closed because FreeBSD isn't officially supported. The most obvious symptom I see is that the output from the capture card or webcam will just be a solid green screen. Restarting OBS once or twice usually results in the video source working correctly. It is still present in the current 29.1.3 release of OBS.