So I built a small Haswell system and resumed on my attempt at porting OBS-Studio to OpenBSD. I was able to do a short (silent) stream to twitch, so that tested out. I am able to do window capture, so that seems ok. The problems I am encountering involve audio capture (from a window/program or from a mic) and video capture from webcam.
Audio: I have a blue snowball uaudio0 at uhub4 port 1 configuration 1 interface 0 "BLUE MICROPHONE Blue Snowball" rev 1.10/1.00 addr 6 uaudio0: audio rev 1.00, 2 mixer controls audio1 at uaudio0 uhidev3 at uhub4 port 1 configuration 1 interface 2 "BLUE MICROPHONE Blue Snowball" rev 1.10/1.00 addr 6 uhidev3: iclass 3/0, 1 report id uhid1 at uhidev3 reportid 1: input=15, output=15, feature=0 however… sirjorj@ghost:~ audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured Does that mean that a) I need to configure this mic in mixerctl or b) OpenBSD is unable to communicate with this mic? I also tried this with the mic on a logitech webcam I have and got the same result. Also, in doing window capture (OBS uses Xcomposite), is there a way to capture the audio for that window? For the audio in general, is there a standard interface that OpenBSD surfaces that OBS would connect to, or would the ‘right solution’ be to modify OBS to use sndio? Video: I have a couple of different logitech webcams that I tried, but was unable to get working. In fact, I noticed some inconsistencies with how OpenBSD identified them. http://marc.info/?l=openbsd-tech&m=148748136701754&w=2 When I connect my webcam (a Logitech Pro Webcam), i get the following uvideo0 at uhub4 port 1 configuration 1 interface 0 "Logitech Logitech Webcam C930e" rev 2.00/0.13 addr 6 video0 at uvideo0 uaudio0 at uhub4 port 1 configuration 1 interface 2 "Logitech Logitech Webcam C930e" rev 2.00/0.13 addr 6 uaudio0: audio rev 1.00, 2 mixer controls audio1 at uaudio0 Whenever I try to access it (OBS or ffmpeg directly), i get errors. sirjorj@ghost:~ ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv ffmpeg version git-N-75412-g523da8eac1 Copyright (c) 2000-2017 the FFmpeg developers built with clang version 4.0.0 configuration: --enable-shared --arch=amd64 --cc=cc --disable-altivec --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-debug --disable-iconv --disable-indev=jack --disable-indev=oss --disable-lzma --disable-mips32r5 --disable-mips64r6 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-mmi --disable-msa --disable-neon --disable-outdev=oss --disable-outdev=sdl --disable-vfp --enable-avresample --enable-fontconfig --enable-gpl --enable-libass --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-openssl --extra-cflags='-I/usr/local/include -I/usr/X11R6/include' --extra-libs='-L/usr/local/lib -L/usr/X11R6/lib' --mandir=/usr/local/man --optflags='-O2 -pipe -Wno-redundant-decls' libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 [video4linux2,v4l2 @ 0xd8f50064800] ioctl(VIDIOC_STREAMON): Invalid argument /dev/video0: Invalid argument I’m guessing this means that the camera isn’t quite supported. Thoughts? Jordon