E-learning/teaching: Difference between revisions

From Medien Wiki
No edit summary
Line 12: Line 12:


== Stream Canon 5D via USB ==
== Stream Canon 5D via USB ==
    modprobe v4l2loopback
    gphoto2 --stdout --capture-movie | gst-launch-0.10 fdsrc ! decodebin2 name=dec ! queue ! ffmpegcolorspace ! v4l2sink device=/dev/video0
Source: https://stackoverflow.com/questions/12278688/canon-dslr-video-loop-back-using-v4l2loopback-and-edsdk-liveview


== Stream from OBS to a virtual camera source ==
== Stream from OBS to a virtual camera source ==

Revision as of 19:50, 24 May 2020

This page documents the setup of a Linux system for screencasting

On Screen Display

Show Keyboard commands

When showing software it's usefull for the students to see which keyboard shortcuts are pressed. This on screen display (OSD) can be installed like this:

 sudo apt install screenkey

will install the screenkey application. Run it from the taskbar:

Screenkey.png

Show Mouse Clicks

Stream Canon 5D via USB

   modprobe v4l2loopback
   gphoto2 --stdout --capture-movie | gst-launch-0.10 fdsrc ! decodebin2 name=dec ! queue ! ffmpegcolorspace ! v4l2sink device=/dev/video0

Source: https://stackoverflow.com/questions/12278688/canon-dslr-video-loop-back-using-v4l2loopback-and-edsdk-liveview

Stream from OBS to a virtual camera source

We can't stream directly from OBS into Jitsi, BigBlueBitton, Google Meet, Skype, etc. For this wee need a virtual camera source.

  sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1
  sudo apt install qtbase5-dev
  git clone --recursive https://github.com/obsproject/obs-studio.git
  git clone https://github.com/CatxFish/obs-v4l2sink.git
  cd obs-v4l2sink
  mkdir build && cd build
  cmake -DLIBOBS_INCLUDE_DIR="../../obs-studio/libobs" -DCMAKE_INSTALL_PREFIX=/usr ..
  make -j4
  sudo make install

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



Wishlist

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