GithubHelp home page GithubHelp logo

hliss's People

Contributors

ashark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hliss's Issues

Some windows are not shown in window chooser

I have noticed, that some windows are invisible in window chooser in Hangouts.
For example Krita window.

Steps to reproduce:

  1. Start a video call at https://hangouts.google.com/. It is possible to just make a dummy hangouts call to not bother your friends. So you can just press video camera button that is in middle of the screen.
  2. Launch krita application.
  3. In hangouts chromium window go to upper menu (three dots icon) -> Share screen -> Application window tab.
  4. You can see that there is no krita window there.

Versions:

archlinux 4.16.6-1-ARCH
krita 4.0.2
Chromium 66.0.3359.139 Arch Linux
KDE Plasma 5.12.5
KDE Frameworks 5.45.0
Qt 5.10.1

We should explore why this is happening.
Actually this should go to chromium bugtracker, but I will left it here.

Reduce the output resolution at vlc-hangouts script

I was thinking if wouldn't be great have a configuration to make possible to capture at some resolution e render in another (link OBS do).

This could help to lower process usage at old old computers, like mine. I already lowered the FPS.

Documentation missing

The following is missing from the documentation:

  • dependencies (ffmpeg, v4l2loopback)
  • precisely which values from lsusb need to be added precisely where in fakecamera
  • it seems to me the following error can be ignored. If so, that should be documented:
    rmmod: ERROR: Module v4l2loopback is not currently loaded

Error Can't open display :1

Hi,
Trying your script I had the following error: Can't open display :1

Running xrandr would raise the exact same error.

I don't know much about all that but trying around I fixed it adding DISPLAY=:0.0 before the xrandr commands.

Just sharing in case someone face the same issue. Maybe there is a proper fix to be done.

Here is my script:


#!/bin/bash

# echo "Probing v4l2-loopback"
sudo rmmod v4l2loopback 2> /dev/null
sudo modprobe v4l2loopback video_nr=7 'card_label=myFakeCam'

DISPLAY=:0.0 xrandr --listactivemonitors
read -p "Which monitor you want to share: " MON_NUMBER

MON_PARSE=`DISPLAY=:0.0 xrandr --listactivemonitors | grep "$MON_NUMBER:" | cut -f4 -d' '`
MON_HEIGHT=`echo $MON_PARSE | cut -f2 -d'/' | cut -f2 -d'x'`
MON_WIDTH=`echo $MON_PARSE | cut -f1 -d'/'`
MON_X=`echo $MON_PARSE | cut -f2 -d'+'`
MON_Y=`echo $MON_PARSE | cut -f3 -d'+'`

# ffmpeg -f x11grab -r 20 -s 1920x1080 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video7
ffmpeg -f x11grab -r 20 -s "$MON_WIDTH"x"$MON_HEIGHT" -i :0.0+"$MON_X","$MON_Y" -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video7

Use exclusive flag for using with chrome/chromium

Hi!
At first thanks a lot for your script, it is working great on my ubuntu 18.04 System on WebRTC sessions (Jitsi Web conference). Just a small hint for chrome/chromium users to get the v4l2loopback device working one can use the exclusive_caps=1 flag as described here. The entire modprobe section then looks like that:

# echo "Probing v4l2-loopback"
sudo rmmod v4l2loopback 2> /dev/null
sudo modprobe v4l2loopback video_nr=7 'card_label=myFakeCam' exclusive_caps=1

Maybe you can put a hint on that in the Readme.md.

Make vlc window unminimizable

It turns out that when you see that ShareMe window, you tend to minimize it. However in this case a screen sharing will be paused. So it would be useful to remove that minimize button from the window.
I do not know if it is achievable by some parameters of vlc.
But I know you can create a special window rule in KDE that will do it for you.

Chromium cannot see virtual webcam anymore

It seems like chromium do not list virtual /dev/videoN devices anymore even when using reinsert-internal-webcam script or actually reinsering some physical webcam or restarting chromium.
It only displays usb web cameras.
You can open chrome://settings/content/camera in new tab and see, that it updates list of webcameras rather frequent. For example for me webcam dissappears immediately from list after ejecting, and appears after around 4 seconds after inserting.

Not sure if it is caused by browser update, I suspect maybe some other system component involved.
Versions when breakage already happened (ArchLinux packages): linux 4.15.3-1, chromium 63.0.3239.84-1

Use independent instance of vlc

Now when you are sharing screen with vlc-hangouts, then when you want to open some video file, it is played in ShareMe window instead of in separate instance. This behavior is not wanted.
Need to explore if it is possible to run vlc-hangouts in a completely separate instance, while the files opened from file manager should use their own and one instance (i.e. second opened file should be played in a window where first opened file was played).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.