Skip to content

About

Streaming graphics to SayoDevice O3C

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sayo_Streaming

Streaming graphics to SayoDevice O3C for linux distros

Dependencies

  • libusb-1.0
  • ffmpeg

You should set udev rules

#/etc/udev/rules.d/70-sayo.rules
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1d6b", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d6b", TAG+="uaccess"
 
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="8089", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="8089", TAG+="uaccess"

and reload

sudo udevadm control --reload-rules && sudo udevadm trigger

Install

Releases

Or compile

git clone https://github.com/binik17/Sayo_Streaming && cd Sayo_Streaming
gcc sayo_stream.c -o sayo_streaming -lusb-1.0 -O3

Usage

Options:
  -p <path>  Stream directly from a video file (e.g., mp4, avi, gif, png, jpg)
  -l         Loop the video
  -h         Show this help message and exit

If no options are provided, the program streams from /dev/video50 by default.

You can create a virtual camera using v4l2loopback and OBS

sudo modprobe v4l2loopback video_nr=50 card_label="OBS Virtual Camera" exclusive_caps=1
# Simply start OBS vurtual camera and run sayo_streaming

About

Streaming graphics to SayoDevice O3C

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages