Skip to content

Instantly share code, notes, and snippets.

@riker09
Last active July 3, 2025 20:08
Show Gist options
  • Save riker09/cfb4d42a274b538f3639f11cbbee58b2 to your computer and use it in GitHub Desktop.
Save riker09/cfb4d42a274b538f3639f11cbbee58b2 to your computer and use it in GitHub Desktop.
Go2RTC config for PS3 Eye + RPI Camera
streams:
# PS3 EyeToy camera
ps3: v4l2:device?video=/dev/video0&input_format=yuyv422&video_size=640x480&framerate=15
# Same, but rotated by 90 degrees via ffmpeg
ps3_rotated: ffmpeg:device?video=/dev/video0&input_format=yuyv422&video_size=640x480#video=mjpeg#hardware#rotate=90
# This also works, though more unreliable; The "raw" parameter is essential!
ps3_bayer_grbg: ffmpeg:device?video=/dev/video0&input_format=bayer_grbg8&video_size=320x240#video=mjpeg#hardware#raw=-vf "format=yuv420p"
# RaspBerry Pi camera
rpi: exec:libcamera-vid -t 0 --codec h264 --width 1920 --height 1080 --framerate 15 --inline -o -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment