Git Product home page Git Product logo

obs-source-clone's People

Contributors

cooliguay avatar eribertomota avatar exeldro avatar totxr4y 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  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

obs-source-clone's Issues

Streamer.Bot OBS Raw

Hello Exeldro! Can I change the cloning source using OBS RAW in Streamer.Bot?

Can't get it to run at all

Hi!
I tried to compile that plugin for me.
I git cloned it and then ran the build command.
I took what's in RelWithDebInfo folder, put it in a new folder called obs-source-clone and put it into my obs plugins directory. But it just does not want to get loaded. No error in terminal. IDK...

What did I do wrong?

Nobara 38, Gnome, OBS 29.1

Unchecking 'Active Clone' does not hide audio mixers that were added when checked

Enabling "active clone" will cause audio mixers to get added from the source scene.
However, unchecking "active clone" OR changing the source scene to be cloned does not remove these added audio mixers.

Perhaps the source scene is still considered "active" even when disabling active clone or changing the source scene?
I would expect either of these actions to make the source scene inactive and/or remove the added audio mixers.

Reproduce:
Scene A:
add Media Source "hello"

Scene B:
add Media Source "hey"

Scene C:
add Source Clone

Set to clone "Scene A"
ENABLE active clone. An audio mixer element should appear for media source "hello"

Set clone to "Scene B" (with active clone still ENABLED)
An audio mixer element now appears for media source "hey" while "hello" is also still visible, despite it not being part of Scene B.

Disabling active clone also does not remove either audio mixer elements.
Switching to a different scene should correctly remove those mixer elements.. but switching back to Scene C will show them both again.
Hiding source clone element WILL correctly remove the audio mixer elements.. but unhiding it will once again show both "hello" and "hey"

Only restarting OBS seems to correct the audio mixer and only show expected audio elements, depending on which scene is set to clone.

Cloned Scene with Sources inside have issue

So I have a Scene with a couple of sources in there that can be triggered like a fart smoke.

If I clone this scene any sources in there that get activated won't show up at all, not even when testing in studio mode. It will not show anything.

Certain filters don't work with Source Clone.

Hello, There are some filters I want to use on a certain source where they don't work, so I got this thinking I will be able to use them on that source.

Come to find out that Source Copy does not seem to support those filters either and I am confused as to why.

I am not sure if this is a bug or not, but Source copy is missing the "Audio/Video Filters" and instead just says "Audio Filters". The filters I am trying to use work on other sources, but not Source Copy and I think this might be the reason why.

I have provided pictures to help clarify this:

This is the Video Capture Device source and I circled in red on the differences between this and Source Copy. The filters in this one are what I want to use on source copy, but can't because they won't get placed there. They show up in the list, but they simply don't appear like this.
image

Here is Source Copy. Note the "Audio/Video" part is not present, just "Audio Filters". The three filters in the picture above simply won't appear there, like OBS is refusing to add them. It is only on Source Copy these don't work.
image

Again, I am not sure if this is a bug, or I am missing something. I am on Windows 10, latest version and OBS 29.0.0.

Cloned source does not trigger InputActiveStateChanged websocket event

A bit of a request and "bug" at the same time.

To give some context, I'm using Source Clone as a mean to create a layout in OBS and easily swap cameras in them without having to copy a source around.
Something else I'm also making is a Tally system that listen to websocket events and check if they are live, or on preview.

Unfortunately, when turn on or off the Source Clone, the "Source Clone" source fires both InputActiveStateChanged and InputShowStateChanged as expected, but only the InputShowStateChanged gets trigged for the cloned source.

image

Previous scene clone blanks at start of transition

Hi @exeldro,

This is a fantastic plugin, and I've only just realised the power of the 'previous scene' option in Source Clone.

However, is there any way to get it to persist until the end of the transition?

Example:

  • Source Clone (type: previous scene) is in Scene 2
  • Transition from Scene 1 to Scene 2: Scene 1 appears in the Source Clone (perfect!)

Desired behaviour:

  • Transition from Scene 2 to Scene 3: I want Scene 1 to remain in the Source Clone until the transition completes

Actual behaviour:

  • Transition from Scene 2 to Scene 3: Source Clone immediately blanks, presumably because the 'previous scene' variable is now Scene 2, not Scene 1?

As such, the only transition I could use would be a Cut. Any other transition results in (essentially) a rapid cut to black before the next scene transitions in.

Problems copy pasting (duplicate) of clone source

I have a source clone that has the active checkbox checked, but not audio. If I duplicate that source clone, the duplicate will show up with audio in the audio mixer. If I edit that duplicate, the audio checkbox won't be checked. I can check audio, then uncheck it and it stops showing up in the audio mixer.

Source Clone:
image

Copy -> Paste (Duplicate) (ends up being VI 1 Rotation Center 4 in the screenshot)
image
image
I also noticed that there's no actual video feed until I check the audio checkbox, which I do here:
image
Then once I uncheck it, it leaves the audio mixer and the video feed stays.
image

I would expect to Copy -> Paste (duplicate) would bring over the correct settings and show up with a video feed.

Little incompatibility with "Move Transition" plugin?

Hello! Thank you for the fantastic work you're putting into these plugins, it's astonishing.

I'm having a little issue with the Move Transition plugin, and I don't know if I'm doing something wrong if it's the case I'm sorry.
There are two scenes A and B.

A Scene
Webcam (With some move values filters that I control with the move action filters in the current scene)
Blur Effect W. [Source Clone] (with blur effect)

B Scene
Webcam (It's the same as the webcam in A)

When the move plugin is transitioning from A->B it works fine.
However, when I transition from B->A, the plugin moves the Webcam from source B towards the Blur Effect W. [Source Clone]
and then I think the animation completes and "teleports" the webcam to the transform.

I've tried without any filters and the problem still persists (only transitions).

Fail to build over 32-bit systems

Hi @exeldro,

When trying to build from source the version 0.1.4 over Intel x86 (Debian i386), I got the following error:

/usr/lib/ccache/cc -DHAVE_OBSCONFIG_H -Dsource_clone_EXPORTS -isystem /usr/include/obs -g -O2 -ffile-prefix-map=/builds/debian/obs-source-clone/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror -Wextra -Wvla -Wformat -Wformat-security -Wswitch -Wunused-parameter -Wno-unused-function -Wno-missing-field-initializers -fno-strict-aliasing -Werror-implicit-function-declaration -Wno-missing-braces -DSIMDE_ENABLE_OPENMP -fopenmp-simd -MD -MT CMakeFiles/source-clone.dir/audio-wrapper.c.o -MF CMakeFiles/source-clone.dir/audio-wrapper.c.o.d -o CMakeFiles/source-clone.dir/audio-wrapper.c.o -c /builds/debian/obs-source-clone/debian/output/source_dir/audio-wrapper.c
/builds/debian/obs-source-clone/debian/output/source_dir/source-clone.c: In function 'simde_mm_setzero_ps':
/builds/debian/obs-source-clone/debian/output/source_dir/source-clone.c:648:1: error: SSE vector return without SSE enabled changes the ABI [-Werror=psabi]
  648 | }
      | ^
cc1: all warnings being treated as errors
make[3]: *** [CMakeFiles/source-clone.dir/build.make:79: CMakeFiles/source-clone.dir/source-clone.c.o] Error 1

You can see the full building process here[1]. Maybe this is the same issue discussed here[2].

[1] https://salsa.debian.org/debian/obs-source-clone/-/jobs/4307052
[2] kcat/openal-soft#541

Thanks in advance.

Active clone

Hi @exeldro

What is the purpose of the active clone box?
Whether I activate it or not, nothing changes.

Thank you.

"Crashing" During Scene Collection Switch

Hello and Happy New Year!

As of this week, I have been receiving a Source Cleanup Error when trying to switch scenes. I'm pretty sure I have traced the issue to the Source Clone Plugin.
Current installation OBS 30.0.2 (but did attempt with OBS 30.0 with same issues)

It doesn't seem to matter what scene, new or old, empty or complex. I tested this on a portable OBS installation and it came up with the same issue. After testing the issue on safe mode, I was able to connect it to a plugin compatibility issue of some sort. I removed all plugins and then added them one by one until the crash would occur again. Only time I would receive this issue is when Source Clone was installed. I have tried a new installation with the same issues. I cannot recall if the Source Clone Plugin had a recent update, I have been using Andi's StreamUp plugin and I just install updates when I get the notification. I haven't added or removed any new scenes or plugins to make this change occur either.

I have included the log, but unfortunately I don't see an actual "crash" within it. It doesn't seem like OBS logs in detail when it does this type of error that results in a application shutdown.

TLDR; OBS gives Source Cleanup Error when switching scene collections only when Source Clone is installed and shuts down the application completely.

2023-12-31 16-54-11 with Source Clone.txt

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.