[bin] Add script to connect SLR to /dev/videoX

This commit is contained in:
2021-04-26 16:13:11 -04:00
parent 6e1f49228e
commit 86771094ee

2
bin/.bin/slr-to-webcam Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc ! decodebin3 name=dec ! queue ! videoconvert ! v4l2sink device=/dev/video0