Hacker News new | past | comments | ask | show | jobs | submit login

Thanks, I think this is what I need. I've done it with some streaming software out there. But it needs to come from a camera source to spoof it into a regular Hangouts meet I believe.



Here are my rough notes.

    mkdir -p ~/src
    cd ~/src
    sudo add-apt-repository ppa:obsproject/obs-studio
    sudo apt-get update
    sudo apt-get install obs-studio
    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
    cd ../..
    git clone https://github.com/umlaeute/v4l2loopback.git
    cd v4l2loopback/
    sudo apt install libelf-dev
    make
    sudo make install
    sudo depmod -a
    ls /dev/video*
    sudo modprobe v4l2loopback exclusive_caps=1 video_nr=9
    ls /dev/video*
    You should see a video9

    Open OBS
    Tools menu -> V4L2 Video Output
    (It will look really squished, but you only have to do this once)
    Path to V4L2 Device: enter /dev/video9
    Hit Start button, close window
    In Sources pane near lower left, hit the "+" button, then Video Capture Device (V4L2)
    In new dialog, select your actual webcam (not the new device)
    In resolution, select 1920 x 1080

    Now you can test:  hit the "Start Recording" button in lower right.


That's what I use it for.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: