Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting a static image or video as the background #15

Open
jashandeep-sohi opened this issue Sep 17, 2021 · 3 comments
Open

Allow setting a static image or video as the background #15

jashandeep-sohi opened this issue Sep 17, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jashandeep-sohi
Copy link
Owner

jashandeep-sohi commented Sep 17, 2021

Instead of blurring the background, allow setting a static image or video as the background.

@jashandeep-sohi jashandeep-sohi added the enhancement New feature or request label Sep 17, 2021
@jashandeep-sohi jashandeep-sohi self-assigned this Sep 17, 2021
@jashandeep-sohi jashandeep-sohi changed the title Allow seeting a static image as the background Allow setting a static image as the background Sep 23, 2021
@jashandeep-sohi jashandeep-sohi added this to the v0.4.0 milestone Sep 27, 2021
@mid1221213
Copy link

I suggest to go further and also allow setting a looping video as the background 😉
As you are using GStreamer, it should not be a lot more complicated...? I said "should", actually I haven't looked at the source, I don't know 😛
This would allow animated backgrounds à-la Google Meet.
Anyway, this is not the right place to say this but thanks a lot for this project, I use it everyday because I need to blur the background on my webcam and using (specially tweaked) Chromium to use Google Meet's blurring tool leads to some memory leaks problems 😞

@jashandeep-sohi
Copy link
Owner Author

I suggest to go further and also allow setting a looping video as the background wink As you are using GStreamer, it should not be a lot more complicated...? I said "should", actually I haven't looked at the source, I don't know stuck_out_tongue This would allow animated backgrounds à-la Google Meet. Anyway, this is not the right place to say this but thanks a lot for this project, I use it everyday because I need to blur the background on my webcam and using (specially tweaked) Chromium to use Google Meet's blurring tool leads to some memory leaks problems disappointed

That's a good suggestion, but looking into it briefly I don't think it's that straightforward. There isn't a ready-to-use GStreamer element that can loop videos ad infinitum. I think you have to basically to "restart" that part of the pipeline whenever it finishes to get a loop going. Certainly, possible though.

@jashandeep-sohi jashandeep-sohi changed the title Allow setting a static image as the background Allow setting a static image or video as the background Oct 10, 2021
@mid1221213
Copy link

Oh, I (wrongly) thought it was easy with GStreamer!
Well, after some search I've seen this MR on the filesrc plugin for GStreamer. If you look at the end of the discussion, they give means to achieve this and there a link to a Python repo that seems to implement them.
"Basically" it's an EOS handler that just seeks to the beginning of the video. However I don't know how easy this could be done in your tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants