Install packages¶
yay -S uxplay obs-gstreamer
sudo pacman -S gst-plugins-good gst-plugins-bad gst-libav
sudo systemctl enable --now avahi-daemon
Start UxPlay and forward video over UDP¶
GStreamer pipeline for the OBS GStreamer source¶
udpsrc port=5000 ! application/x-rtp,media=video,encoding-name=H264,payload=96 ! rtph264depay ! decodebin ! videoconvert ! video
Fixing the Black Screen on Scene Switch¶
In the GStreamer source properties in OBS, untick "Stop pipeline when hidden". If you still get brief black frames, add a leaky queue:
udpsrc port=5000 ! application/x-rtp,media=video,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue leaky=downstream ! decodebin ! videoconvert ! video
Diagnosing the Monochrome ThinkPad Webcam¶
List camera devices:
Check supported formats on each node, replacing N with the device number:
Get more detail on a specific node:
The colour sensor usually supports MJPG or YUYV. The IR sensor usually only supports a greyscale format. Once you find the colour node, select it in OBS under the Video Capture Device source properties.