E-learning/teaching: Difference between revisions

From Medien Wiki
No edit summary
 
Line 16: Line 16:
There is a feature branch in the screenkey git which implements that, hopefully it will be merged into master once you read this.
There is a feature branch in the screenkey git which implements that, hopefully it will be merged into master once you read this.


== Stream Canon 5D via USB ==
== Using v4l2loopback to stream in and out of OBS ==
    modprobe v4l2loopback
Load the v4l2loopback kernel module and create two devices.  
    gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc fd=0 ! decodebin name=dec ! queue ! videoconvert ! tee ! v4l2sink device=/dev/video0


[https://stackoverflow.com/questions/12278688/canon-dslr-video-loop-back-using-v4l2loopback-and-edsdk-liveview Source]
    modprobe v4l2loopback devices=2 video_nr=10,9 card_label="OBS Output","Canon 5D" exclusive_caps=1


== Stream from OBS to a virtual camera source ==
=== Stream Canon 5D via USB ===
We can't stream directly from OBS into Jitsi, BigBlueBitton, Google Meet, Skype, etc. For this wee need a virtual camera source.
    gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc fd=0 ! decodebin name=dec ! queue ! videoconvert ! tee ! v4l2sink device=/dev/video9


  modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1
[https://stackoverflow.com/questions/12278688/canon-dslr-video-loop-back-using-v4l2loopback-and-edsdk-liveview Source]


to install follow these steps:
=== Stream from OBS to a virtual camera source ===
We can't stream directly from OBS into Jitsi, BigBlueBitton, Google Meet, Skype, etc. So we are using v4l2loopback for this.
To install the v4l2sink for OBS follow these steps:


   apt install qtbase5-dev
   apt install qtbase5-dev
Line 37: Line 38:
   make -j4
   make -j4
   make install
   make install
In OBS, go to Menu → Tools → V4L2 Video Output
[[File:V4L2 Video Output.png]]
In BigBlueButton (or any other videoconferencing service) Select the virtual "OBS Output" as a video source.


[https://srcco.de/posts/using-obs-studio-with-v4l2-for-google-hangouts-meet.html Source]
[https://srcco.de/posts/using-obs-studio-with-v4l2-for-google-hangouts-meet.html Source]


== Wishlist ==
== Wishlist ==


https://www.blackmagicdesign.com/products/intensitypro4k
https://www.blackmagicdesign.com/products/intensitypro4k