#plugins-and-tools

1 messages ยท Page 118 of 1

harsh topaz
#

Yea unlocking scrollwheel is goat.

vale vine
#

Makes scrolling an obs log EZ LULWW

harsh topaz
#

keine logi

vale vine
#

I have me a task for the weekend it seems!

#

Thanks dude

harsh topaz
#

Namaste ๐Ÿ™

quiet bramble
#

Yes. Install OBS in portable mode, uninstall the EXE version of OBS, transfer all profiles/scene collection data to the portable config. Leave an obs-studio directory in Program files for Elgato and Logitech etc. to find and dump their DLL files into.

#

Then, write a batch file or powershell script or bash script or python script or <insert your favourite language here> script/app, to search the C:\Program Files\obs-studio directory hierarchy for any files and display those it is unfamiliar with. You can then determine if they are needed (like Elgato's) and make the script create symbolic links in your real OBS install that point to the Elgato ones (or whatever ones you want to have). Then when Elgato or whoever updates them, all of your portable installs are pointing to the central installed one, and they all get updated at once.

#

But poor Logitech, you don't make symbolic links to that one, so sorry Logitech.

#

Logitech makes a sad face.

#

I use LGS personally though.

#

Logitech's OBS plugin totally shits the bed though, and they don't seem to care.

quiet bramble
quiet bramble
#

Little present if anyone has a camera with a bad sensor with a dead pixel on it, or some other input that was recorded from a camera with a dead pixel. Dead Pixel Fixer shader. Give it the coordinate of the dead pixel and it replaces it automatically with a blend of all the pixels around it. Seems to work pretty good in testing.

vivid gate
#

Hi, I'm brazilian and my inglish is not very good. But I have a question. Is there a way to get more programming lines in Animated-Lower-Thirds?

solid geyser
#

hi i need serous help. I am not able to get my camrea to show up in obs what do i do

oblique yewBOT
odd orchid
#

i cant unhide a menu for "advanced scene switcher" when installed the menu was hidden and i cant remember how to unhide this.

whats the trick again?

untold jay
#

@odd orchid it's in the Docks menu

odd orchid
#

yeah didnt make it better

hollow portal
#

So today OBS and Win-capture-audio has stopped working for me, does anyone have a good alternative to Win-capture-audio plugin or do i have to try and get voicemeeter banana to work

odd orchid
#

i just found this countdown timer with optional next scene. its a script that you can add in time permeators

odd orchid
#

how do i fix this? get it back to normal

gilded tide
#

Assistance please

#

I am adding the Marvel GEQ VST 2.x Plug-In

#

but it is not showing up in my filters

strong tulip
#

Are you adding it to one of the supported folders?

#

!vst

oblique yewBOT
gilded tide
#

yeah

#

it's being placed in the right file folders in the file path

#

but still isn't showing up

strong tulip
#

Just to be sure

gilded tide
#

sure

strong tulip
#

No, the .dll must be located in the C:/Program Files/Common Files/VST2 folder, not inside its own folder

dark sapphire
#

should work fine in its own folder

gilded tide
#

ahh that makes sense

strong tulip
#

Hmm

#

@dark sapphire do you need to restart OBS?

gilded tide
strong tulip
gilded tide
#

i can't

#

because I need to Re-add it back

#

into obs

strong tulip
#

โ€ฆ so do that, then?

gilded tide
#

because it got corrupted

real cobalt
#

guys can you help me whit the camera plss

strong tulip
real cobalt
gilded tide
#

from a YT video

#

it should Be at the bottom of the list

real cobalt
strong tulip
strong tulip
#

I don't need a screenshot of a YouTube video, I know what the OBS interface looks like, I need to see your window

real cobalt
real cobalt
strong tulip
#

I already asked that question

#

Are you talking about the Virtual Camera or your own camera?

strong tulip
# gilded tide gotcha sorry

Ah, I see. Looks like you'll need to reinstall OBS. It won't remove your files, and it'll put all the plugins back.

gilded tide
real cobalt
gilded tide
#

let's hope that fixes it 100%

real cobalt
strong tulip
# real cobalt

Right, that has nothing to do with OBS, nor anything to do with plugins and tools

gilded tide
#

@strong tulip thank you thanks sooo f-ing much I love you man

#

it was so simple as a Re-install

#

โ™ฅ๏ธ

strong tulip
#

np np

limpid plover
#

hello, recently I set up a computer to do the streaming for my pc, I found several guides on recording the image of my pc using the NDI plugin, but I can't get it to work on the streaming pc

#

on my gaming pc the plugin works

oblique yewBOT
limpid plover
# oblique yew

thanks bot, but the download page is not much use to me since I use Windows instead of linux and it doesn't work for me in the same way xD

wintry wigeon
#

so I used the plugin where it can capture like window specific audio and i was just looking at a clip, the game audio seems like its a bit compressed or smthn

#

im not rly sure

#

also when i am reloading at like 7 seconds it seems to change slightly

mortal harbor
limpid plover
mortal harbor
limpid plover
#

do the installation of the installer of the page, try to test it and realize that it seemed that obs did not recognize the plugin

#

xd

#

in the tools section where the "NDI Output" option should appear (I think it was called that) nothing appears

#

@mortal harbor

mortal harbor
#

this would mean that it is not installed to the correct location

limpid plover
#

I have not modified the directories where the plugin and the obs are usually installed by default, so I understand that they should have been installed in the corresponding site

mortal harbor
#

!plugins

oblique yewBOT
limpid plover
#

I also tried yesterday and it didn't work either

#

nothing

mortal harbor
#

right click on the OBS shortcut you use to open it and select properties, send a screenshot of that window so i can see the directory it's installed to

mortal harbor
#

okay can you navigate to C:\Program Files\OBS-Studio\obs-plugins\64bit and also send a screenshot of that window so i can see the files in there

limpid plover
mortal harbor
#

is there any chance it's because of the language? you're using Portuguese but looking at the zip, there's only these options

vale vine
#

The ndi runtime installed too?

vale vine
mortal harbor
limpid plover
#

I will see if I can change the language of the operating system

mortal harbor
#

it was really a long-shot suggestion because i have no idea why it isn't showing :x

limpid plover
#

well windows doesn't want to change spanish xd

vale vine
#

Guess we could peak at a log

#

!log

oblique yewBOT
#

A current log file is required to help fix your issue. Please post a link to your current log file.

  • In OBS select Help > Log Files > Upload Current Log File.
  • Click Copy URL and then paste the link here.
limpid plover
oblique yewBOT
# limpid plover https://obsproject.com/logs/HwOPK7Z2kebgdD5k
๐Ÿ›‘ Critical
  • No GPU driver available
โ„น๏ธ Info
  • Windows 10 21H2 (OK)
  • Not Admin
  • No Output Session
  • Browser Not Accelerated
  • No Scenes/Sources
Hardware Check

AMD Phenom II X4 955 - Below minimum requirements / Microsoft Basic Render Driver (not in benchmark DB)

vale vine
#

Your cpu probably doesn't support ndi

limpid plover
#

Is there somewhere where I can see the minimum cpu required by NDI?

vale vine
#

It needs ti support SSE3

limpid plover
#

According to the program I use to inspect the processors, it has the SSE3 instruction.

inner basalt
#

!log

oblique yewBOT
#

A current log file is required to help fix your issue. Please post a link to your current log file.

  • In OBS select Help > Log Files > Upload Current Log File.
  • Click Copy URL and then paste the link here.
inner basalt
oblique yewBOT
mortal harbor
#

!log

oblique yewBOT
#

A current log file is required to help fix your issue. Please post a link to your current log file.

  • In OBS select Help > Log Files > Upload Current Log File.
  • Click Copy URL and then paste the link here.
mortal harbor
oblique yewBOT
# mortal harbor https://obsproject.com/logs/jR6m1UjUcYAtCn3z

Log contains debug messages (browser/ftl/etc), for a filtered version click here

โš ๏ธ Warning
  • Capture Interference
  • Multiple Game Capture
โ„น๏ธ Info
  • Windows 11 21H2 (OK)
  • No Output Session
Hardware Check

12th Gen Intel(R) Core(TM) i7-12700KF (not in benchmark DB) / GeForce RTX 3070 - OK!

mortal harbor
#

I wonder what Capture Interference is

vale vine
limpid plover
#

It had to be that one in particular xDDD

vale vine
#

so i guess it needs ssse3 not just sse3

#

ยฏ_(ใƒ„)_/ยฏ

limpid plover
#

well let's hope the xeon e5 2660v2 is supported xd

vale vine
#

I'd check its supported instructions

limpid plover
#

iยดll look

vale vine
#

Intelยฎ SSE4.2

#

this may cover it, but I have no clue to be honest

limpid plover
#

Well I guess it will be a matter of tossing a coin and praying that it comes up heads and not tails xD

vale vine
inner basalt
#

!log

oblique yewBOT
#

A current log file is required to help fix your issue. Please post a link to your current log file.

  • In OBS select Help > Log Files > Upload Current Log File.
  • Click Copy URL and then paste the link here.
inner basalt
oblique yewBOT
limpid plover
#

that or buy a 10 meter usb extender cable to connect the capture device xd

last crest
#

Is there a plugin for low quality mics

limpid plover
midnight idol
#

Is there a plugin or anything that will allow me to play multiple video files from a set folder?
Sp let's say I have 10 files in the folder, it goes through and plays them all one by one snd then loops?

analog ruin
midnight idol
#

Default media source just plays one file

#

Unless there's something I'm missing.

#

Well just looked into it (as you need VLC, so not technically default) but looks like you need to make playlists and stuff

#

Don't have time to be making playlists and stuff, just want it to cycle through all videos in a folder

analog ruin
#
  • add folder, done

#

you just need to have vlc installed (to get the source)

midnight idol
#

Found a way to merge all the files into a single file with ffmpeg that I could setup a stream deck button for, but for some reason when i add the commands to a .bat file it doesn't work.

vale vine
#

vlc source. just point at folder and done

midnight idol
#

Does this allow you to add/remove videos on the fly though, or will I need to refresh it?

analog ruin
oblique yewBOT
#

If you need help or have questions about OBS, check out our #support-portal first!

quiet bramble
#

Basically do not ever put Game Capture and Display Capture in the same scene at the same time, but also do not put game capture nor display capture twice in the same scene at the same time either. This will cause various problems in OBS and is unnecessary. Ensure that only one is active at a time, and if you need 2 copies of a source for some reason there are other ways to do that, never capture it twice to duplicate it.

midnight idol
#

I want to show upcoming games (In a tournament), between games, but I won't know who's playing who until the previous games have finished so making an image for every single game possibility would be to long/annoying to use. is there any plugins that could help with this? or will I need to create a webpage with a control panel?

quiet bramble
#

Have a look at the OBS Resources forum, not sure but there might be something there.

mortal harbor
viral jasper
#

Hey! I want to download the plugin where someone can see what keys I am pressing on my keyboard. Does anyone know what it's called?

vapid charm
viral jasper
#

Yeah thank you

#

I will use the first one

#

Can my friends see it when i stream on discord?

vapid charm
#

out of box no.

#

It's an overlay that needs to be placed on the video source.

mortal harbor
#

I think the nohbaord does something similar too ?

viral jasper
#

but idk if i should try it off obs studio or sourceforge

mortal harbor
#

The video shows on how to use it in obs, and it also shows the keys and mouse clicks being pressed

viral jasper
#

oaky thanks

harsh topaz
#

@weak escarp I believe I found the trigger (or at least one of them) for the Move Transition shaking I mentioned about(?) a year ago. I've noticed and it's been consistent for me in testing at least - that if I add a left or a top crop to a source, running the Move Source (easily noticeable if you just run the same position over and over) will shake the image a pixel or two. Cropping with right or bottom doesn't seem to have the image shake - so I'm suspecting some sort of math rounding issue specifically when calculating cropping?

Example: crop: l 51 t 0 r 0 b 0 this shakes the image.
Example: crop: l 0 t 0 r 72 b 0 this doesn't shake the image.

weak escarp
harsh topaz
#

Interesting, with Positional Alignment Center it shakes on cropping left & bottom @weak escarp

#

And Top Right alignment only shakes with top being cropped.

#

I suppose that's at least a temporary fix - changing the alignment to get rid of the shake ๐Ÿ™

left hound
#

Hey super new to Twitch - I use OBS Studio as my main platform and I'm trying to figure out how to set up the TTS donation messages that all the twitch streamers seem to have (e.g. "User XYZ donated 10 dollars and says 'Hey how do you do that thing you just did?'"). I keep getting directed to Streamlabs but that seems like an OBS alternative unless I'm not understanding it...

harsh topaz
#

Streamlabs provide, along other providers like StreamElement, these services.

#

That's why you're being directed there ๐Ÿ™‚

#

You should see something pop up when you do a test alert.

left hound
clear geode
#

@left hound I don't think plugins and tools is the right section for this, but regardless I dislike streamlabs and prefer streamelements for overlays, etc. So you'd go to https://streamelements.com/ > Top right hit 'Sign In' > Expand Streaming Tools on left navigation bar > Go to "My Overlays" > Select "New Overlay" > I'd recommend setting the canvas size to what you use in OBS, usually 1920x1080 or 1280x720 I would guess, name it "Alerts" or whatever > Hit + Sign > Hit Alerts > add Alert Box > Turn off / on the alerts you want, hit the settings cogwheel to change settings of the ones you use > Inside that settings you will find an option called "TTS"

#

Once you are done with the overlay, at the top right hit "save" and click the chain link to copy the URL of the overlay. Then add a browser source in OBS with the canvas size you used in creating the alert overlay from the steps above.

runic flame
#

hello! i need some help if anyone can supply it for me:
i need to reinstall a bunch of my old plugins i accidentally removed when i reinstalled OBS. I am trying to reinstall Tuna, but the gui is VERY broken, and, no matter what i do, i cannot get it to connect to my VLC source like i used to.

#

nevermind. i forgot to extract the Data folder into my obs-studio folder LMAO

quiet bramble
#

If you haven't already, make sure you are re-downloading the latest versions of any plugins you're using that are compatible with the current version of OBS.

runic flame
#

i am. i was just having issues with tuna haha!

#

i may have some more questions in another hour from now though, knowing me...

quiet bramble
#

Imagine if you still had problems with it and couldn't resolve them and decided to try to fix the plugin yourself, forking it... If that were to happen... would you call it... Toonnoah? ๐Ÿ™‚

#

I couldn't resist. ๐Ÿ˜›

hollow stirrup
#

I sometimes saw people missing data folder extracted when installing a plugin. How such a mistake happen?

#

Usually, I recommend to select 2 folders data and obs-plugins and drag into the folder obs-studio.

quiet bramble
#

The more is left to manual human effort, the more human err there is to contend with.

#

I've seen people do all kinds of The Wrong Thingโ„ข showing no bounds on how wrong things can go when it comes to manually installing plugins (or anything else) on their system by copying files from a ZIP archive around. That is really way over the head of most typical computer users IMHO.

#

A lot of people don't even know how to navigate their own computer's filesystem to look for files or understand what that even means because they've grown up in the "cloud" generation, where things are just there on some cloud account. A lot of basic computer skills people needed to learn 30 years ago to use a computer are lost on people nowadays.

#

The real solution is ultimately integrated plugin management though.

white dune
#

some people don't even seem to understand the purpose of folders.

quiet bramble
#

are those for folding? ๐Ÿ™‚

white dune
#

as a matter of fact, yes, they used to be folded.

pliant crane
peak vector
#

Also "folder" as a term is leaning a lot into Windows-specifics, on *nix they're called directories almost everywhere

#

(especially since Windows uses folders often to show special locations where the user doesn't specifically know the absolute file system location immediately)

#

so it's also some sort of abstraction between filesystem and user interface

peak vector
hollow stirrup
#

Microsoft also called it "directory" until around Windows 3.1 but later they changed the term.

#

When I use the term "folder" only if the context is Windows. When I talk about Linux, macOS, or platform-independent, I use "directory".

quiet bramble
#

The kids these days think a folder is someone who folds clothes!

white dune
#

Right, I think folders are a shell namespace thing.

tardy anvil
#

I always find myself thinking it would be amazing if you could change the color of scenes/filters like they let you do for sources. I wish there was a plugin for that.

mortal harbor
#

can someone link me to their favorite theme

#

having trouble finding one

quiet bramble
#

๐Ÿ™‚

elder vine
#

Good evening,
I'm sorry if not this channel, but I have a problem not entirely related to obs, only the Audio Monitor plugin, and exactly alerts on live come immediately but listening to the message takes a minute or two, Has anyone had contact with something like this

mortal harbor
#

Bonjour !

vale vine
#

!ad @fallow cedar

oblique yewBOT
#

@fallow cedar

Self-advertisement or advertisement for others is not allowed on this server unless it's directly relevant to a discussion or question. Please read the rules in the #rules channel.

fallow cedar
#

!ad @vale vine

oblique yewBOT
#

@vale vine

Self-advertisement or advertisement for others is not allowed on this server unless it's directly relevant to a discussion or question. Please read the rules in the #rules channel.

vale vine
#

Guess you don't care about the rules you agreed to when you joined, huh

hard jay
#

Dont instigate >:(

indigo musk
#

how to add shadow to text?

white dune
indigo musk
#

yes
but I didn't see anything usefull

harsh topaz
#

There's no way to add proper shadows, it's all pretty crappy or more along the lines of glow/strokes.

analog ruin
#

copy the text, make it black, place it a few pixels down and to the side, color correction, add some transparency ๐Ÿ˜‰

harsh topaz
#

Tried it with a dynamic mask on a color source. But it had weird arse quirks.

harsh topaz
#

And we all know how well groups work. If not then it becomes like a nested kinda thing. Which is just awfully awkward when doing text.

#

There's no good way to deal with default text tbh.

analog ruin
#

Didnt sound like that was a requirement ๐Ÿคทโ€โ™€๏ธ

harsh topaz
#

Maybe I'm just setting the expectations and requirements too high for the average pleb pain

indigo musk
analog ruin
#

yeah, pretty much ๐Ÿ˜…

indigo musk
lusty dust
#

Anyone got any tools, plugins, or any recommendations at all for an application (preferably, but a website is fine), or even better, an actual obs plugin, that allows me to condense any recording made in or out of obs down to 8 mb, 50 mb, and/or 100mb in file size for uploading to discord? So far I only know of Steelseries' moments feature but that requires you to clip with moments itself and is limited to clips only, not raw or externally edited videos.

lusty dust
lusty dust
#

Woahhhh ok so looking at the website I thought this was gonna be some outdated mess but it actually has modern features? ok ok you got me excited already I'm glad you showed me this

sonic frost
#

Handbrake is literally just a UI for FFMPEG

lusty dust
sonic frost
#

But it's command line only.

#

This adds a UI so you can click and junk instead of memorizing a ton of random commands.

lusty dust
lusty dust
#

instantdeath is this an outdated version or just so updated I've never downloaded it lol---

sonic frost
#

If you want to NOT make your CPU go brr by the way

lusty dust
sonic frost
#

After selecting the discord preset

#

go to the Video tab

#

And change the encoder to your GPU

#

Choose h.264

#

NOT h.265

#

Discord cannot play h.265

lusty dust
#

NEENEEBLUR definitely gonna note this. I overclock my cpu so that explains the angry noises it makes when processing without the gpu

sonic frost
#

Yeah. Handbrake lets you choose what to process with

#

very poggers.

lusty dust
sonic frost
#

It's one of a multitude of tools I bring with me on a flash drive on my keychain.

lusty dust
#

I mean I'd imagine why Catastrophe_smile I'm also gonna send this to my friend as they struggle with uploading videos to discord all the time for the same reason as me. I'm glad you've introduced me to this based

sonic frost
#

You can't crunch morbius down as easily tho

#

gotta tweak a ton for that

lusty dust
lusty dust
#

but that's 6.0.5 it's asking for 6.0.1

sonic frost
#

It worked for me shrug

lusty dust
#

pfff bet then don't mind if I do. I have the download pulled up anyways in case it doesn't

#

lmao alr it worked

clear geode
#

Is it possible to use the OBS webhost plugin to connect two OBSs from different networks without using a VPN tunnel or something?

sonic frost
true atlas
#

So here's a super weird DSK behavior.
I have it set up to have ONE scene in there.
Then, everything I want to show on top of everything else, I add into that scene, right.

#

But -some- sources in there show up really on top of everything, and others show up still behind my webcam (and no, the webcam is NOT in that scene)

hollow stirrup
stray aspen
#

I have installed a bongo-cat-input-overlay plugin and i cant locate where it is in obs

#

i wanna use it

#

help

#

ping me when u answer

peak vector
#

sources menu

#

(plus button)

quiet bramble
peak vector
#

@quiet bramble are those star-like artifacts a result of using some fast algorithm?

quiet bramble
#

It uses box blur

#

A gaussian blur would be more rounded and use a tonne more GPU along with it.

stray aspen
#

Maybe no ram?

#

@quiet bramble , ur a guitarist? Same here!!

quiet bramble
#

The rectangular drop shadow shader uses knowledge that it is a rectangle to do shadow without needing to use pixel sampling so is much faster. Not sure if it simulates gaussian or not but it'd be easy to do. The drop_shadow shader has to sample pixels with a blur radius like a typical blur, so it is expensive, so box blur mode is used.

#

It's not optimized though either.

#

Yeah, I've been playing guitar for 36 years

stray aspen
#

ive been playing for three months. Lol

quiet bramble
#

Gaussian blur is very resource expensive, whereas box blur is far cheaper. When doing blur in an app like GIMP you'd generally want gaussian as it looks much better.

#

But when doing blur on live video at 60fps computed by the GPU, you don't want it using 70% of your GPU resources. ๐Ÿ™‚

stray aspen
#

ye

quiet bramble
#

It's possible to optimize the blur algorithms in a number of ways, but to get the best results requires turning it onto a plugin on its own.

#

I'm going to optimize the shadow shader to reduce the number of samples it needs by sampling at pixel corners and having the GPU average them with bilinear filtering. Using multi-pass would be more efficient though.

#

The StreamFX blur filters are very optimized for this for general blurring.

#

But there's no drop shadow filter there.

indigo musk
#

Okay thanks

hollow stirrup
#

I had another approach to blur a text; make several textures upsized in vector data and render them. Interestingly, concave point looks more concave.

#

Combination might make better ๐Ÿค”

quiet bramble
#

Another thing that just popped into my mind, is that if someone has static text they want to display, which isn't being updated by some dynamic process, it is much better to do this in GIMP or other image manipulation software and apply any filters to it in that program, export it as an image and have OBS render the image, rather than OBS rendering text and then applying GPU consuming filters to it in realtime for text that isn't changing.

#

Same thing is true for any other static content. Images, pre-rendered video loops etc. Better to take such content and modify it and spit out pre-rendered versions that OBS can just use as-is rather than burning GPU cycles with filters.

#

Another example is having a blurred background for use with greenscreen. I've seen people take a static background image, blur it with StreamFX blur, then overlay it with their chroma-keyed camera. Bad idea. Bad Idea Jeansโ„ข. Load the background image in GIMP, apply Gaussian Blur to it, export it as background-blurred.png, and use that instead.

#

Optimize, optimize, optimize! ๐Ÿ™‚

fossil wyvern
white dune
#

Does the text renderer do distance field fonts?

quiet bramble
#

The OBS text renderer doesn't do that, but one could add a StreamFX SDF filter to text for that. Again I wouldn't recommend it for static text however, GIMP is best for that. (Someone actually filed a request in StreamFX issues for this recently.) If the text is dynamic however then yeah, an SDF effect could be useful. The caveat though is that SDF on pixel data is very GPU intensive, whereas SDF for mathematically defined shapes is very inexpensive. (See Inigo Quilez 2D and 3D SDF FX articles/tutorials as an example).

#

My own shape mask, rounded rectangle, polygon etc. shaders are all SDF based with basically negligible GPU impact for example (all based on Inigo's SDF math).

#

Sadly not possible to do that with arbitrary text or other shapes that I'm aware of though without the GPU cost of StreamFX SDF filter.

#

With short distances it is't too expensive, but the further the distance the higher the cost. I believe it uses a convolution kernel to find edges.

hollow stirrup
quiet bramble
#

Another option that is perhaps a bit crazy, is to render text using SDF entirely within a shader. There are examples of that on Shadertoy, however while a cool trick, is somewhat unusable to the average user.

#

Can do other cool effects like a live flame border using blur to generate an oversized image mask, along with perlin noise or similar with a gradient applied.

#

Kind of like that smoky halo effect I did a year or so ago.

#

That one was done using a bunch of existing filters, but I've partially got one going as a pure shader (need to finish that sometime). Would be useful for flame/smoke/etc. type halos around transparent images, or for use for camera frames etc.

fossil wyvern
#

imagemagick's -blur which is a 2 pass 1-dimension convolution might be interesting to use too

quiet bramble
#

The GPU cost is light as I used a low cost blur

fossil wyvern
#

(if you're doing automated rendering)

quiet bramble
#

Stuff done using shaders with the shader plugins are currently sadly limited to single-pass effects though, for multi-pass stuff requires a custom plugin or LUA script.

#

Which makes some filters have excessive GPU usage for a number of reasons too.

fossil wyvern
#

yee my point wasn't to use a shader, but rather to basically dynamically render an image, blur it and insert that image in OBS, instead of using a text source

#

which is what kamae is doing if I understood well

#

and in this case using a 2-pass 1-d might be leagues more efficient than a 1-pass 2-d, for a minimal difference in results

quiet bramble
#

@hollow stirrup is that a gaussian kernel you're using?

hollow stirrup
fossil wyvern
#

oh ouki

hollow stirrup
quiet bramble
#

I experimented with duplicating a copy of a text source on top of itself, and putting blur on the bottom one but it didn't work out well in my experiment.

hollow stirrup
#

I think it's worth to implement gaussian kernel.

fossil wyvern
hollow stirrup
#

it makes distance-field, I guess. Then, set the alpha channel in proportional to the distance.

#

maybe "linear" was not the right term.

fossil wyvern
#

you should look into just doing two 1-D passes. Basically you just blur on the pixel lines, then on the pixel columns. For a lot of things it's a good enough approximation and it is really faster

hollow stirrup
#

The distance is calculated in vector data, not pixel data.

fossil wyvern
#

well, same, but with vector data

hollow stirrup
#

The reason I firstly rejected gaussian blur using two-pass was I wanted to calculate in 8-bit data, which means more than 8-pixel blur is not so accurate.

#

(My assumption might be wrong.)

white dune
#

Why would it be expensive for text? Did you think that the text is rendered to the distance field at the runtime?

untold jay
#

do filters have to run again on every frame, or are they able to detect that nothing has changed in the source they're attached to and also do nothing?

#

streamFX already has a working reference Gaussian blur implementation, but allegedly it's very expensive in terms of GPU usage

quiet bramble
#

Every frame. There's no way to know or keep track of pixel level data changing. If a filter needed to do that it'd have to save and compare multiple frames itself to see what data has changed.

#

In which case that is additional processing that would occur every frame.

hollow stirrup
#

OBS's shader does not provide gathered data, unlike the atomic effects fork.

quiet bramble
#

Is that the one that does pixel matching based triggers?

solar dust
#

Yes

white dune
#

what could be done is to track dirty regions.

#

of course, that's only reasonable if small areas are dirty

quiet bramble
#

Another thing that one must consider is that no matter what someone's intentions are when making something, if it is available for the general public, they're going to use it without reading a manual or knowing what they're doing.

#

A good example of this is the StreamFX Blur filter. People use Blur with wild abandon, they just want the end result and don't know or care how it works. They don't know or care how much system resources, GPU resources etc. it takes, they just want to blur something.

#

So people will either on their own, or by following some well meaning but often insufficient YouTube tutorial, and crank the blur size to like 64 or 128 or so, and then later wonder why their stream is dropping frames or similar.

#

So IMHO it is somewhat important for filters to use algorithmic optimization and then fine grained code optimization to reduce overhead as little as possible, test it on the oldest hardware that is supported or worth supporting, and make sure the worst possible configuration of options that use the most resources does not grind the person's GPU into the ground.

#

Ideally anyway. This way it just works for people and you don't end up with people having problems caused by resource exhaustion who have no idea and end up needing tech support because they didn't know any better.

#

If some filter can be configured to murder someone's system, then some user out there is going to do it, and some tutorial is probably going to show them how hehe.

#

So I think such cases should have conservative restraints on hardware usage either outright or at least by default, with a buried option to override it for advanced users.

#

I'd like to explore using CUDA for some stuff in the future also as a better way of doing some things than pixel shaders, as it is more suitable for certain algorithms too.

true atlas
#

Hey guys!
So I'm using the SceneTree plugin to better organize my scenes, right.
But yesterday it bugged out and I have duplicate folders with the same scenes in them.
But it's behaving all erratic, where:

#

The Webcam shadows scene there, if I delete one, it's fine. But if I try to delete the other one, it asks me if I want to delete another scene entirely...

#

So what is a good way to uninstall it, and then maybe install it again, or maybe there's something else that's less buggy that will let me do this?

#

Or, should I install a more recent version on top of it and hope for the best?

quiet bramble
#

ugh, hope you have a backup of your OBS Scene Collections from prior to that.

#

Once scene data gets corrupted it is more or less not recoverable.

#

Other than by exiting OBS, and hand editing the JSON files and fixing them in a text editor, which is a nightmare.

true atlas
#

I don't, BUT, when I switch to the view that's not the tree one, everything is fine

quiet bramble
#

I had that plugin on my "try this" list as it seems pretty useful, but think I'm going to move it to the "nope" list now ๐Ÿ™‚

true atlas
#

Hahahaha

#

Right, so I'm happy to switch back to NOT using it, how do I get rid of it

quiet bramble
#

I lost over 1000 OBS Scenes due to a scene corruption problem a few years ago, not eager to have a repeat of that. ๐Ÿ™‚

true atlas
#

(I just tried reinstalling it and nope)

quiet bramble
#

If you installed it from an EXE file, uninstall it using the uninstaller. If you installed it by copying files into your OBS installation, uncopy the files manually after figuring out which files they are.

#

But, uninstalling it wont uncorrupt your scene collection.

true atlas
#

It's not corrupted, if I untick the tree view dock, it's all good now

#

It only acts weird inside the tree view

quiet bramble
#

I'd get rid of it to be safe.

true atlas
#

Yes. So how do I find out which files?

quiet bramble
#

Look in the zip file you downloaded for the plugin

true atlas
#

But aren't some of them overwrites of other files already in there? Can't mess with those, right

quiet bramble
#

A good plugin should never overwrite OBS supplied files. Having said that, there are plugins known to overwrite OBS files, so there's no easy way to know.

true atlas
#

Right, ok

quiet bramble
#

You can always reinstall OBS if something is missing.

true atlas
#

And that's still better than having a shitty plugin running rampant ruining my scenes

#

Gotcha

wary escarp
#

there are little reasons for a plugin to override OBS dll/exe files
Though the plugin could store its data inside the OBS scene collection file

quiet bramble
#

Yeah, I dunno about that plugin but there was a bug a few years ago in OBS that corrupted scene data the exact same way. They fixed that but it might be possible for plugins themselves to still screw things up.

true atlas
#

Gotcha, ok

#

Thank you!

quiet bramble
#

It more or less looked the same as what you showed above.

#

Duplicate scenes would start to show up, then more, and more and more and more and more...

#

until eventually it just went poop

true atlas
#

Yeah at least in my case, when I have the thing turned off, there's no duplicates

#

So I think it's constrained to the plugin

#

Hmm. Interesting.
The two .dll files that are inside the x32 and x64 folders are MISSING from my OBS folder

#

(the plugin-related ones)

#

Anyway, I -think- I cleaned it up, let's see

#

Yup. Not there anymore, I think I'm good now hehe

#

Thank you again

true atlas
#

Ok so, Instant replay fun!

#

It's all working DANDY

#

I just need some tweaks now

#
  • No sound in the saved replay .avi files
#
  • They're only 4s long. They're supposed to be 30s:
true atlas
#

Any ideas, guys?

#

No matter what I do, the files always have 4s durations

fossil wyvern
#

(like file size)

true atlas
#

Almost 400mb

#

I ticked "lossless" in the settings there

fossil wyvern
true atlas
#

It seems to be ignoring OBS's general replay settings because that's set to MP4 format. The files are coming out as AVI

#

Sure, but why would lossless remove audio?

fossil wyvern
true atlas
#

I actually don't know which encoder it's using

#

Lemme see, unticked lossless.

fossil wyvern
# true atlas Sure, but why would lossless remove audio?

replay buffer works both on a time and memory size limits. when using a cbr encoder, it estimates the memory size from the time and the bitrate.
What I'm guessing here is that for some reason it's not using the cbr encoder as it should (but instead a lossless one, which is much heavier on memory) and so cuts the buffer much earlier and fucks up with the audio

true atlas
#

Ok so

#

With it unticked, it's still 4s long

#

But has audio, but it's unusable, it's ultra clipped

fossil wyvern
#

what do you use advanced mode for?

true atlas
#

And it's a 1.3mb FLV file now

true atlas
fossil wyvern
oblique yewBOT
# true atlas To be able to access all the settings

Advanced output mode, while allowing for more fine-tuning of options, does not automatically mean that your stream or recording will have better quality. Often, it can result in lower quality, because it can allow changes to settings that really shouldn't be changed. In most cases, Simple output mode is the best option to get the most out of OBS.

To change back to Simple output mode:

  1. Go to Settings > Output in OBS.
  2. Change "Output Mode" from "Advanced" to "Simple".
true atlas
#

Right, so for this, it's a plugin that adds a new "Replay Source"

fossil wyvern
#

simple/advanced isn't just a "shows you more" thing, it genuinely changes the output

true atlas
#

All of its settings are in here:

fossil wyvern
# true atlas

so it's a source that automatically plays your replay buffer clips whenever you save one?

true atlas
#

No, but I have it SET to do that.
You can save and not play, for example.
Or play and not save (before you SAVE it, it's in the RAM)

fossil wyvern
#

oh so it is modifying obs' default replay buffer too?

true atlas
#

I don't think so because this is working without the replay buffer on. Lemme double-test that

fossil wyvern
#

and, how exactly do you trigger this source's replay if it's not using obs' default replay buffer?

true atlas
#

Because I -thought- it was using that. I've just confirmed it's not

#

It has its own hotkeys

fossil wyvern
#

ok, so then what's happening is that this seems to be using some weird-ass encoding of its own that causes problem

true atlas
#

A -lot- of hot keys.

#

It works... other than it only doing 4s and the audio being fucked in the saved file... lol

fossil wyvern
#

posibly, try putting some load and start delay, if 0 ms causes it to try and load the file before it's even created it might cause shenanigans but I'm unsure

true atlas
#

Hmm lemme try

fossil wyvern
#

also can you show me the "recording" tab of your output setup?

true atlas
fossil wyvern
# true atlas

just on the offchance select "same as stream" for the encoder

#

(you're not recording your streams locally, right?)

true atlas
#

Done, added 100ms load delay, let's see

fossil wyvern
#

ouki good

true atlas
#

Yeah, no improvement. Still 4s, still messed up audio

#

The latest version is pretty recent, from March

#

Apparently there was a fix back in 2020 for saving without audio... I wonder if I've installed an older version. Lemme see

fossil wyvern
#

if you switch to simple mode in the output settings does it change anything?

true atlas
#

Dunno, lemme do that

#

But, if I can't SEE the settings, how do I know if they change? Lol

fossil wyvern
true atlas
#

Ok this plugin has an installer. I definitely have the latest.

#

Right, so now it's 5 seconds instead of 4 but audio is still funked

fossil wyvern
#

my guess is that the encoder for this custom replay buffer is trying to use more meory than it is allowed to

#

why is it not using obs' own encoder gog only knows

true atlas
#

I think itโ€™s limited to 5s, and that maximum duration is just for you to set how long it will play in slow mo or looping

fossil wyvern
true atlas
#

Iโ€™ll test

fossil wyvern
#

tbh you'd probs be better off making your own custom tool with the OBS default replay buffer

#

you don't even need a script or a plugin you could do it with kruiz control

true atlas
#

Nope, still 4s long

#

Lemme see what that is

vale vine
#

Got a log?

true atlas
oblique yewBOT
# true atlas https://obsproject.com/logs/hhI6O7BprOzTmkbp
๐Ÿ›‘ Critical
  • Max Audio Buffering
โš ๏ธ Warning
  • 3.2% Rendering Lag
  • Capture Interference
โ„น๏ธ Info
  • Windows 11 21H2 (OK)
  • Non-Default x264 Preset
  • 0.2% Encoder Overload
Hardware Check

AMD Ryzen 9 3950X - OK! / GeForce RTX 3090 - OK!

true atlas
#

This is ridiculous, the GPU is still being maxed out. I'm playing frigging SOR4

#

GPU-Z says it's at less than 40% though

fossil wyvern
true atlas
#

LOL yeah

fossil wyvern
#

drop thaat plugin and do it on your own with a script or KC

true atlas
#

I might just go back to script. This is the first time something Exeldro made doesn't work

fossil wyvern
#

oh it's exeldro?

#

what's the page of the plugin?

vale vine
#

It's even logging that it's doing 5 seconds

true atlas
#

Yeah

#

But the page:

#

It's just not DOING it

vale vine
#

I might have to play with this plugin

#

Do you have the replay filter attached to a source/scene?

true atlas
#

It's not a filter

#

It's a source

#

"Replay Source"

vale vine
#

And the directions say it plays it from a replay filter

#

So I dunno

#

The "how to use" video leaves a lot to be desired imo

true atlas
#

It doesn't have SOUND lol

vale vine
true atlas
#

Yup, one of the MANY I've watched... That seems to be the only one not using the script

vale vine
#

ยฏ\_(ใƒ„)_/ยฏ

#

I've not used it. Just trying to find helpful info

true atlas
#

Yeah it's much appreciated! Super weird how like, there's MANY videos on this and none of them cover what I need

#

I've also seen Nutty's but he's using Lioranboard

#

His, though, is the only one that has the rewind and FF thing

#

And the VHS tape effect

vale vine
#

Hoping to play with it when I get home from work in a bit. I'll see if I can figure anything out

true atlas
#

Dude thank you so much

#

Iโ€™ll give the script another go in the meantime

vale vine
#

I can't get it to do more than that no matter how simple the source is that I'm using

true atlas
#

Right, so that's what I thought. The plugin can -only- do 5s clips

#

This means I can't use it

#

In Nutty's tutoriall he does the VHS effects and he has rewind and fast forward happening.

#

Now, that's too fiddly and I don't think I'll end up using that too much, except if it's automated.

#

So here's what I really want it to do, which I have not seen anywhere:

#
  • Pressing the button creates a replay of the last 20s
  • Replay source displays, but instead of it playing from the start of those 20s, I want it to start at the end and REWIND the 20s
#
  • When it gets to the start, it then plays, at normal speed
#
  • At THIS stage I want to have a toggle to make it half speed and when pressed again, go back to normal speed
#
  • And a second button that Fast forwards back to real time
#
  • But if I don't press anything while it's playing, it just plays the 20s normal speed and then goes away
fossil wyvern
#

for the simple "press a button and the last 20s play" you can once again just use some simple shit like KC to do it.

#

for the rest, maybe a script can do it, but especially the backwards might need some wizardry

true atlas
#

Why doesn't the script have audio though?

fossil wyvern
#

beats me

#

wait what do you mean the script?

#

do you mean exeldro's plugin?

true atlas
#

No, I'm back on the other script now

#

This is so frustrating. I can either just have 5 seconds with audio but non-usable saved clips, or have all the time I want but muted

fossil wyvern
#

I'm sorry I came into this midway didn't know you already a script to do this

true atlas
#

Also Exeldro's plugin has a quirk I really hate: If you press a hotkey to change the speed of the playback, it will stick even after it's finished playing.
So like if you play it and it's set to half speed in the settings, it'll play at half speed, which is fine.

#

But if you press a hotkey to play it faster or slower

#

And let it finish

#

When you do it again it'll play at that last speed you had, instead of resetting to the half speed that's in the plugin settings

#

So you have to add a button that does "half speed". BS

true atlas
fossil wyvern
#

then make your own

fossil wyvern
#

and with this it doesn't play any audio on stream?

true atlas
#

Nope

#

Seems pretty basic, right

fossil wyvern
#

do the clips that are recorded by the replay buffer also have no audio (when playing them out of OBS, not when playing them wth this script)

true atlas
#

Actually, the clips are fine

#

They have audio. It's just when the script is playing it live, it's muted

fossil wyvern
#

you're sure the source you're playing it on isn't muted?

true atlas
true atlas
#

Yup, it was

fossil wyvern
#

๐Ÿ‘

true atlas
#

Now I'm just missing a small functionality part of it then ๐Ÿ™‚

#

What a journey lol

#

Thank you guys, by the way

fossil wyvern
#

pleasure ๐Ÿ’œ

true atlas
#

Now, if I understand correctly, this script is using VLC in the background

#

Because it even has a playlist function

#

This should mean I can frick with the script and have it "start at the end" and rewind, right.
Cuz the hotkeys to play it backwards already exist

fossil wyvern
#

probably using a VLC video source, but dunnae if that means you can play it backwards

true atlas
#

I'm doing something else cool now lol

#

So there's this other plugin called Source Record

#

Which lets you record only one source, useful for like, you want a clean gameplay video that doesn't have your camera or overlays etc, right

#

But

#

It's compatible with using the REPLAY BUFFER

#

So now, this means I could have a replay that has JUST the game

#

HELL. YE.

#

It also lets you have different audio for when the thing is recording. COOL

paper barn
vagrant minnow
#

Source record is not entirely stable by itself.

true atlas
#

Awww way to burst my bubble lol

#

Thanks for the warning though!

#

Probably saved me some grief

quiet bramble
#

Trying to trigger an OBS Stats reset using a Stream Deck, I could have sworn there was a BarRaider plugin that did this but not seeing anything. There's a way to do it via hotkey, but websocket would be prefered. I see there's a way to GetStats via websocket (4.9.x documentation), but not seeing anything that can specifically reset the stats. Wondering if anyone has figured out a way to do this over websockets or if I'm going to have to use a hotkey for now.

true atlas
#

So, Exeldro replied to me!
Apparently you're supposed to use a FILTER in the source you're capturing.
The filter only has one setting: The duration. L O L

#

It's almost perfect now, just need to figure out why the clips have bad audio or no audio

#

(the ones stored in the hard drive)

weak escarp
#

The filter is created automatic and should automatically update when you change settings in the replay source

true atlas
#

Lemme check that

#

OH, IT DOES

#

Awesome.

#

Any idea about the quirk with the playback speed part?

harsh topaz
#

Depending on your setup - using replay buffer filter with Source Record you'll have to disable/enable it intermittently or it'll break over time in my experience.

#

Also if you have a nested scene with it, it may be the cause of your obs indefinite hanging upon shutting down OBS.

#

In regards to previous comments on stability

true atlas
#

I'm not doing source record now. After you guys said it wasn't stable I ditched that part

harsh topaz
#

I use it, it is possible in the current state. But I also use adv-ss to automate some of the contingencies I've taken to bypass the flaws and bugs of Source Record.

#

It's a conceptually amazing plugin. Hopefully it'll get some love in the future.

quiet bramble
#

Kind of the nature of software that is trickier to get right, especially if there are tight timing issues. Same thing with audio apps.

#

multiplied times 1000000 computers with as many combinations of hardware ๐Ÿ™‚

vagrant minnow
#

<@&715347355565817879>

#

Yeah, pretty much.

#

Won't save you, though, as the deleted message is still logged.

#

Yeah, that's not gonna happen.

#

Now I just look like I'm talking to myself. LOL

harsh topaz
#

You okay Xorshasia?

harsh topaz
#

@weak escarp I've encountered a glitch/bug I'm having a hard time replicating under the exact circumstances that I had it. It might be influenced by sc size.

I've found what caused it to happen in my SC (trial and error removing/changing things) - and a way to re-produce a similar result in a fresh scene collection, but in a different way than I was experiencing it.

I do not see a similar issue posted on the github. You okay with talking about it here or do you want me to write my findings/experiences on a github issue? again, without having a repro for the scenario I was experiencing it in my own SC.

quiet bramble
wide swallow
#

hey i need help with setting up my obs, everytime i stream on twitch its choppy and lagging so if anyone can point me in the right direction ill appreciate it

glass trail
quiet bramble
#

Visual jokes aside though if you follow the finger pointing up and to the left all the way to the Discord channel list and keep going up, you will find the HELP AND SUPPORT section, which is where the channels are where you can get help and support with OBS.

#

Could be cool if Discord would add features such as customizeable animateable CSS. Maybe the first day someone joins the server the HELP AND SUPPORT category is in bright yellow and flashes like the old HTML <BLINK> tag for the first 24 hours or something. ๐Ÿ™‚

#

Overlay keyframe animation of arrows pointing there ๐Ÿ™‚

#

I'm down to code it, if they just release the software features to unlock it and let me loose. ๐Ÿ˜›

glass trail
#

But the malware! kfear5

stray aspen
quiet bramble
#

That would only be visible to me, not to the other person. ๐Ÿ™‚

#

Unless betterdiscord allows you to force other people to install it of course. ๐Ÿ™‚

true atlas
#

Man, I just got flashbacks from the Ventrilo, then Mumble, then Teamspeak days

stray aspen
#

You can change theme, make custom themes, custom css, plugins, animations, perks and many more. Heres an example...

#

Of a theme

wary escarp
#

Itโ€™s against Discords TOS and should they find out you could get banned, just as a note

true atlas
#

REALLY

#

Lol wow

lean island
#

Guten Abend, wir hier auch Deutsch gesprochen?

oblique yewBOT
# lean island Guten Abend, wir hier auch Deutsch gesprochen?

Welcome to the official OBS Community Discord server! Unfortunately, our support volunteers can only provide support in English. Most of our support documents and guides are also only in English. If you feel comfortable using a service like Google Translate, feel free to use that to send messages to us. We'll do our best to understand your intent, and we'll try to help you as much as we can. google_translate Translate

vapid charm
#

English bitte.

lean island
#

schade beherrsche die Englische sprache nicht

lean island
#

Ok I'll test it

#

I would like to know if I can see the number of viewers in OBS. Not in Streamlabs, you can see it there

fossil wyvern
lean island
#

unfortunately cannot find the setting

fossil wyvern
lean island
#

ok thanks everything worked, thanks for the effort

fossil wyvern
#

๐Ÿ‘

vivid burrow
#

is there a plugin that can write audio to an audio track when a button is pressed?

#

i want to use that for editing to timestamp

#

i know there's plugins that just write to a txt when you hit a key but i want something less faffy

#

i'd code it myself if i understood the documentation

#

i think ill look at making a new audio track and using the gain audio filter

#

I think that's the move

mossy lintel
#

Can you elaborate or describe this more please. Just interested. Like most of time your recorded audio is silent and then by keypress you want to record audio? Or am I getting it wrong? Just interested why not just timestamp the video itself?

delicate stump
#

Is there a plugin for a virtual background?

white dune
delicate stump
white dune
#

yes, if the question is how to render something underneath everything else.

#

of course, that assumes that "everything else" is transparent where it should be

delicate stump
#

I am intending to render an image behind me on one of the cameras.

white dune
#

then you will likely need a background removal method

delicate stump
#

Mainly I want to hide my physical surroundings and don't have a green screen.

white dune
#

i've heard that chroma keying is popular

delicate stump
#

Okay thank you.

white dune
#

well, time to get a green sheet of fabric then

#

or blue, i hear that works too

delicate stump
#

Yes! That will be my next purchase. Just getting started.

#

Thanks for your help.

delicate stump
white dune
#

well, you should probably register your own account on discord.

delicate stump
#

I have one, I just don't recall my sign on information. But I'll go figure that out too.

#

Thanks again for your help.

vivid burrow
#

so if i make it noisy at a keybind, then it will appear so in the video

#

I want to record full videos while also highlighting parts for editing

#

I could probably make a timestamp formant and also display it with an olive plugin but thats much more effort

vapid charm
#

@vivid burrow Late to the party since I was asleep during this but have a solo audio track to record manually triggered audio cues from a streamdeck or alternative device.

#

Probably already have it figured out but thought I'd give a smol 2 cents.

vivid burrow
#

i wouldnt want to hear it though

#

but id want it on the recording

vapid charm
#

Monitor off PES_Smart

#

And have the source for said audio controlled by OBS.

#

That way you can see it trigger in the mixer.

vapid charm
wary inlet
#

does anybody know what is the difference between settings and a config?

white dune
#

beats me, but i do know that preferences is how the user wants things to be.

quiet bramble
#

I see that Options aren't getting any love here today. ๐Ÿ™‚

strong tulip
#

NeXTSTEP fans wonder if Defaults will come into this discussion or not

quiet bramble
#

Only if Properties do!

#

Not to mention we don't want to leave Parameters and Arguments behind either!

wary inlet
#

If I'm after storing some persistent data, say an oauth key for my plugin, I'm guessing config makes more sense? I'm looking at the docs and the biggest difference seems to be config is using ini and data settings json ๐Ÿค”

vapid charm
nocturne loom
#

Hi! I am developing in macOS Catalina, and I wrote some interesting plugin which creates a new source type, and it works if I build it into obs myself, but I want to be able to distribute the plugin. I have issues loading my pluginโ€™sย .soย file (I run into segfaults inย get_source_info2) with a downloaded obs (but I donโ€™t run into this issue at all with my locally built obs). I wrote my plugin from scratch, but also have issues out of the box trying to use theย obs-plugintemplateย repo (which looks awesome), I can explain those in depth, but it may be a totally separate issue.

fallow dawn
quiet bramble
sullen basalt
#

I install the websocket, but the option in obs does not appear

vast coral
#

Hi all. Hopefully Iโ€™m in the right channel for this. So me and some friends started doing a collab chat stream. We are just using discord video and then capturing the screen. Does anyone know a plug-in or anything where we can view each otherโ€™s chat? All at once or anything? Thanks Iโ€™m advance

quiet bramble
#

Discord does not provide an API that one can interface with the program with more or less, so the only way to do anything with Discord is to screen capture it.

white dune
#

you know, outside of the bot api

trim kayak
#

is there a way to listen to OBS websocket, with a python script, to check if the "start streaming" button is pressed?

#

or directly to the API i would guess. whichever is most effective.. im not sure if the feature of being ran locally, without the need of an internet connection, has any benefits?

#

if so, websocket would be prefered?

#

im looking for a project with python, not too complex. just want to listen to OBS studio, grab some stream title and game info and then post a live notification on discord. it should be somewhat simple for a first project

#

anyway, if anyone has any info / resources to get me started, dont hesitate to contact me. thanks

#

and please forgive me if this is not the right channel. redirect me, and ill copy paste

white dune
#

no, this is the correct one

quiet bramble
#

OMG, I just had the coolest stupidest idea ever for extending OBS.

#

Developing support for writing OBS plugins using a Commodore 64 emulator. LOL

#

Write OBS plugins in V2 BASIC and 6510 assembler. ๐Ÿ˜›

fast fjord
#

anyone here use Exeldro's Replay Plugin?

I get extremely high memory usage when using the Replay plugin, and need to find a solution.

analog ruin
#

^ I believe its the async filter specifically

analog ruin
fast fjord
#

I can't see the async filter though

analog ruin
#
01:31:40.199: - scene 'Game':
01:31:40.199:     - source: 'Pro Soccer Online' (game_capture)
01:31:40.199:         - filter: 'Replay Source' (replay_filter)
#

unless I'm missunderstanding how the plugin works, which is not unthinkable ๐Ÿ˜‚

fast fjord
#

this?

analog ruin
#

probably its the only one I saw in your log

fast fjord
#

that isn't possible to remove

#

that's how it gets captured

#

theres a "OBS Source" from the plugin, where its known as "Replay Source"

analog ruin
#

I understand that. What I want for you is for someone to come up with an alternative ๐Ÿ˜…

fast fjord
#

you pick the video source within the Replay Source, and I guess when you pick the video source, it puts that filter in the video source being captured

fast fjord
#

so what should I do then? ditch the plugin entirely?

analog ruin
#

I dont know, which is why we're in here asking ๐Ÿ˜‚

fast fjord
#

I DMed Exeldro but who knows when I hear from him

#

he occasionally helps me from time to time but... idk if theres any helping on this

analog ruin
#

I thought perhaps the plugin offered file based replays as well, instead of storing 10-15 sec in memory

fast fjord
#

theres a "save" option to make it a file, but no it doesn't make a file for each replay I make

quiet bramble
#

I believe you have to hotkey that no?

fast fjord
#

theres a hotkey to save and load a replay

#

save = makes it a file
load = captures the resource for X amount of time

analog ruin
#

are you familiar with this plugin SB? Is the video/frames stored raw in memory? Or is it like the replay buffer where it stores the h264 feed in memory?
I assume for slowmo and reverse tech it was raw. Hence 8gb for 10-15 sec

fast fjord
#

from his replay plugin comments

analog ruin
#

perfect ๐Ÿ˜Œ Yes, that explains everything. I would like for us to not do that

quiet bramble
#

I'm not 100% certain, but I think the replay stuff is stored in VRAM. Would have to doublecheck to be sure though.

analog ruin
#

again, do you need all the fancy features of slowmo, reverse etc?

fast fjord
#

no

#

I just need it to be setup the moment I hit the button

analog ruin
#

ok, then we're more than fine using file based, or h264 feed stored in memory (compressed)

#

we just need to figure out how to do this with the plugin

fast fjord
#

I don't think you can

analog ruin
fast fjord
analog ruin
#

yeah, the "old" / basic way of doing this is to just use the script that ships with OBS

fast fjord
#

but whats the downside?

analog ruin
#

its a bit annoying to setup and use

fast fjord
#

ugh what sucks is

#

this soccer thingy scene collection

#

has basically nothing in it

#

and if the high memory happens here, there is no way in hell I can use it on my main source where it has all the fancy animations and sources

#

(I never gotten the chance to stream yet with the graphics / replay source.... because the league takes ages to start back up online)

#

but I guess better to find out now then crash because of high memory during a stream....

quiet bramble
#

What GPU do you have?

fast fjord
#

RTX 3070

#

16 GB Ram

#

CPU i7-10700k

analog ruin
#

the limiting factor for them currently is the 16gb ram, and OOM

quiet bramble
#

16? I thought the 3070 had 8GB

analog ruin
#

not vram. Its stored in regular memory

fast fjord
#

OOM?

analog ruin
#

out of memory

fast fjord
#

is 16 gb of ram not enough?

#

or is the plugin just terribly optimized?

analog ruin
#

usually it is, but you're doing something that requries a lot of memory, so in your case, no.
Either dont do that thing, or reduce the duration, framerate or resolution

quiet bramble
#

oh Replay stores it in system RAM?

harsh topaz
#

You're storing raw video footage in memory.

analog ruin
#

the exeldro plugin does, and so does our replay buffer (before you write to file)

harsh topaz
#

It'll take up a lot of ram depending on the seconds you put it at.

fast fjord
#

its set to 10 seconds and still basically goes nuts

harsh topaz
#

If you're using exeldro replay buffer (or w/e its called), 128gb probably be a nice aim giggle

fast fjord
#

so replay buffer is also a no go?

analog ruin
#

no, its still on the table. The exeldro plugin stores raw / uncompressed. Our replay buffer stores compressed (using the recording encoder)

quiet bramble
#

yeah, getting 128GB of system RAM is a good solution too

harsh topaz
analog ruin
#

so its a fraction of the size

fast fjord
#

how the hell do u have 128 GB of ram...

harsh topaz
#

They bought it:)

quiet bramble
#

Exeldro can use all my RAMz, got it just for him!

#

๐Ÿ˜›

fast fjord
#

dude that costs as much as a freaking Xbox Series X AND a Xbox Series S....

#

๐Ÿ˜ญ

quiet bramble
#

128GB wasn't very expensive actually.

harsh topaz
#

Can get some half decent 32gb sticks for decent price.

#

Depends on the speed and quality ofc as most things.

fast fjord
#

hmmm

#

but everything else specs wise should be fine right

#

I can't imagine a 3070 and i7-10700k being "shit"

analog ruin
#

yeah, its more than fine ๐Ÿ™‚ Just a bit low on memory, cus you're trying to do fancy stuff that requires a lot of memory

fast fjord
#

so do I have any options to still do replays without selling my leg for more memory?

quiet bramble
#

128GB only cost me $665.44 CAD + tax (13%) ~= $752, which was around $602USD. Pretty good deal.

analog ruin
harsh topaz
#
  1. Learn how to fix the issues with Source Record, or for the author to fix Source Record aLindPeek
quiet bramble
fast fjord
#

so what does the script + replay buffer use

#

RAM? CPU? GPU?

quiet bramble
#

I ended up finding the 2-stick packs cheapest so got 2 of them, and lucked out with all 4 sticks of RAM having consecutive serial numbers.

harsh topaz
#

Could just be a Danish thing ofc.

quiet bramble
#

prices were bouncing all over the place here

analog ruin
#

it depends. Its the same as a regular recording. It uses the same encoder.
So, if its nvenc, it will be GPU encoding, and then a little bit of memory to store x seconds of compressed recording. WHen you click the button, it dumps that to a file, which gets reloaded into OBS as a replay

quiet bramble
#

But it went on sale for about $100 off or so right at just the right time. It was limit one per customer but I jammed 2 in my cart and they let me have it.

fast fjord
#

well if its NVENC, 3070 should handle that easily no?

analog ruin
#

yeah

fast fjord
#

my only concern is.... since it saves it as a file.... does the script allow me to just play the replay instead of having to make it a source every time?

quiet bramble
#

I believe the built in replay buffer uses VRAM doesn't it?

harsh topaz
#

The turing cards have a section of them that without impacting gameplay, allows you to do encoding/decoding of video. NVENC is super neat for streaming things.

harsh topaz
quiet bramble
#

I think it's time for computers to have an entirely new type of RAM in them.

#

OBS-RAM

analog ruin
harsh topaz
#

You actually don't even need the script iirc @fast fjord . Sec.

analog ruin
#

you only add a "replay source" once, and then it does the rest

quiet bramble
#

๐Ÿ™‚

fast fjord
#

so shouldn't I just do that then?

analog ruin
quiet bramble
#

OBS team should hook up with AMD behind the scenes and get them to add an OBS-RAM chiplet to Zen 5 ๐Ÿ˜›

harsh topaz
#

Set Replay buffer to a folder - add that plugins filter to a Media Source - select newest.

#

Every time you create a new file in the folder, it'll change the path to that. Or it should.

analog ruin
harsh topaz
#

Iirc.

analog ruin
#

im sure there are also YT video if you wanna do that instead

harsh topaz
#

Image of the above plugin

#

Exeldro smart_uybgif

fast fjord
#

im trying to look for a YT video

#

a lot of them are talking about Exeldros other plugin the Move Transition plugin

analog ruin
#

they're probably explaining how to do extras to make it nice and fancy

#

up to you. But you dont need it. Just the part of adding the lua script, adding the source, setting up the hotkey

quiet bramble
#

Hey... weren't we supposed to have super insane amounts of high speed high capacity memristor memory that replaced both HDDs, SSDs, and main memory and cache with just memristor memory like 10 years ago... but it's just not ready and will take another year... every year... forever...

#

Good job Hewlett Packard, good job!

#

Well this answers that..

#

HP was smokin da crack back in 2008 a bit too much.

fast fjord
#

I noted some of this stuff down, but its 3 AM so I am very tired so I'll try this tomorrow

#

thanks for the help, I really appreciate it

#

hopefully it works the way I intend it

#

oh btw can someone link me where to get this replay script from?

analog ruin
#

it ships with obs by default, im pretty sure

fast fjord
#

hm

analog ruin
#

so when you click the + button, it should just be there

#

OBS Studio\data\obs-plugins\frontend-tools\scripts

fast fjord
#

also what confuses me is it uses the same recording thing as a normal recording?

#

like replay buffer = safe file location saved as a normal recording?

analog ruin
#

hehe, yeah, but so does the replay buffer

fast fjord
#

sigh...

#

is it possible to still record at the same time while doing a replay buffer?

analog ruin
#

yep ๐Ÿ˜Œ

fast fjord
#

and does the replay buffer make new files or replace the old replay? if it makes a new file, I assume the script supposedly plays the next replay buffer video?

analog ruin
#

I honestly dont remember. I think its new files

fast fjord
#

hm

quiet bramble
#

If you're using hardware encoding on Nvidia hardware, it is capable of encoding 3 video streams simultaneously before hitting Nvidia imposed limit. That means 3 independent encodes such as streaming+recording+replay simultaneously with different settings each.

#

Not sure about the other hardware encoders. x264 can encode as many things simultaneously in theory as you have CPU cores to throw at it to do the job.

#

Also possible to use both hardware and software encoding together.

fast fjord
#

any reason it doesn't do Maximum Memory automatically for estimation on Simple, but it does on Advanced?

analog ruin
fast fjord
#

so should I do advanced or simple?

analog ruin
#

I mean, better quality in simple, unless you set up advanced perfectly ๐Ÿ˜…

fast fjord
#

so should I be fine with just using the estimation based on advanced?

#

like 15 seconds for 20 MB?

analog ruin
#

no, for 15 sec, I wouldnt. Its too smal, I would just safe it with like 512 or 1024

mortal harbor
#

HELO

#

Hellooooooooooooooooooo

analog ruin
#

150 mb should be plenty, but yeah. Sucks to lose a few sec just because there was a big spike of action. So overshoot, like 250 then

analog ruin
fast fjord
#

wait I just realized

#

it records the entire screen ๐Ÿ˜ญ

#

is it not possible to use replay buffer to record a specific source? (example, I don't want the scoreboard in the replay)

analog ruin
#

that would have been good to know up front lol. I guess I should have asked

#

yeah, maybe. Its gonna be jank, and might be a bit of a performance hit

#

im thinking source record > replay buffer (dont use nvenc (new)), and see if that will work

#

remember to turn of the other replay buffer tho

#

is the scoreboard on top of the source? If not, you could just crop it, which would be better

harsh topaz
#

Also you might need to turn the filter on/off on source record every so often to avoid it breaking.

#

And dont do recordings of things in nested scenes, or nested scenes 2x (forget which one) itll make u crash if u change scene collection or exit OBS

#

or, indefinite hanging.

fast fjord
#

I guess what I could do is....

#

move the scoreboard to its own scene, put that scene on TOP of the instant replay video, so its at least the up to date scoreboard instead of the replay scoreboard?

broken pelican
#

Hello, I am French and I have a problem with obs, the ndi plugin does not appear in obs on one pc but on another it appears. Someone to help me please?

quiet bramble
#

Make sure you're using the latest version of OBS on both computers, and the latest compatible version of NDI tools is installed along with NDI runtime and OBS-ndi plugin. Also, make sure that you actually have the NDI plugin installed into the OBS installation that you are running. Sometimes people have multiple versions of OBS installed and aren't even aware they have an older version around, or that they copied it from one drive to another or some other situation that results in multiple OBS installs. What can happen is that they install a given plugin, it installs into one of their OBS installations, then they launch OBS and the plugin doesn't show up because the OBS they're running is not the same one the plugin got installed to.

#

Sometimes people have both 32bit and 64bit OBS installed at the same time which isn't a good idea either.

#

If you look into these things and none of it seems to apply to your situation, then please start OBS on the computer that NDI is not working on, and upload a log file to the log file analyzer as follows:

#

!log

oblique yewBOT
#

A current log file is required to help fix your issue. Please post a link to your current log file.

  • In OBS select Help > Log Files > Upload Current Log File.
  • Click Copy URL and then paste the link here.
broken pelican
#

Should I post the links here?

#

I found, since it is a very old pc the processor does not support NDI (2 core 2 thread processor)

quiet bramble
#

oof, yeah that will do it.

fast fjord
#

skeleton u there

#

I need your help if u are lol

#

I decided to use Exeldros Source Record Plugin since it allows me to use a replay buffer on an individual source

#

What I have right now is:
Source Record Enable (the filter) -> F3
Source Record Disable (the filter) -> F5
Record Tab -> Record Mode: Always On
Replay Buffer - Duration: 15s
but it doesn't seem to use the Replay Buffer time limit when I turn the filter on and off, and using the OBS Replay Buffer Button just records the entire scene

harsh topaz
#

You don't turn the filter on and off.

#

You leave it on - that's the same as pressing the Replay Buffer that's default in OBS.

#

Then you set a hotkey in the hotkeys.

#

The hotkey I believe should be named the same as the filters name.

quiet bramble
#

Source Record is one of Exeldro's plugins that I have not yet personally used, but is on my massive TODO list for the future.

harsh topaz
#

So Settings > Hotkeys > Replay Filter (for example)

quiet bramble
#

One of these days I'm going to have an Exeldro day and go to town. ๐Ÿ˜›

harsh topaz
#

Source Record will probably leave you .. not entirely happy.

#

Simply because the concept is amazing - but the plugin unfortunately lacking a bit.

#

It's also a huge concept to toy with.

#

Hopefully one day he'll find time to deepdive into it.

fast fjord
#

this it?

#

before this is what was happening

#

what youtubers were doing was, setting the thing to "Always Recording", then turning the filter on and off

#

and that would make different videos

#

btw all the youtubers like Andilippi briefly mentioned Replay Buffer so they didn't really explain "oh you must leave the filter on for replay buffer hotkey to appear" or whatever

harsh topaz
#

Andddd here we have the reason that watching youtube guides and videos (especially older ones) is pointless ๐Ÿ˜›

quiet bramble
#

Yeah, what I'm doing is I made a huge list of plugins I have previously used, plugins that are new that I have not used yet, plugins that I used to use which are obsolete/unmaintained and replaced with something else now. I am taking plugins one at a time and installing them into a fresh OBS portable install that has no other plugins or modifications present, so I can test each plugin in isolation. First thing I do is a startup+exit memory leak test. OBS 27.2.4 should have 1 memory leak on exit after a fresh start (for me at least), if there are more, it is probably the plugin causing it just by being loaded even if it isn't used. I make notes. Then I actually set up test scene(s) and basically beta test the snot out of the plugin as much as possible and try to break it or crash OBS with it, keeping track of any bugs/problems etc. I find, with the intention of reporting things to upstream with reproducible test cases etc. all from a completely sterile fresh install, which is the perfect condition for bug reporting.

fast fjord
#

strange.... I set the Replay Buffer to 15s and it only records for 11

harsh topaz
#

That's expected behaviour.

#

Set it to 20%~ over what you want.

quiet bramble
#

If a plugin is very unstable, buggy, crashes OBS a lot, or has other behaviour that give me concern it might fry my good OBS setup, I make notes and sit it aside for testing with a future release after some of the bugs are fixed etc.

harsh topaz
#

It skips some seconds due to some b-frame or keyframe situation.

quiet bramble
#

If I have mostly good experience, no major problems, or no problems that worry me about excessive leakage or instability, it goes to my development testing plugins list and gets installed in my developmental installations.

fast fjord
#

well at least setting it to 10 seconds made it 10 seconds ๐Ÿคฃ (nvm its 8 seconds)

quiet bramble
#

That is where I develop new shaders and visual FX and will utilize various plugins together. Over time of development testing while creating new filters/shaders/fx/visuals/art etc. if it seems to work well, then it will get tested in my production setup.

fast fjord
#

ok now heres the last thing I think I need @harsh topaz since u seem to know this plugin inside and out (and thank you so much for that)

#

how do I make it so when it saves, it replaces the source for the replay

quiet bramble
#

Aside from all of that, there are a bunch of plugins that I just want to play around with and have some fun in a sandbox to see what they can do too.

#

The current ASS plugin and current move-transition are next on my list

#

Then there's another one I think called Multi-Effect or something like that

#

IIRC, it allows for reading textures of multiple OBS sources with purpose of blending them together in a shader IIRC.

#

That's a feature I've wanted for eons that I don't think any other plugin can do currently.

#

Oh, I didn't know norihiro made that one, cool.

analog ruin
fast fjord
#

normal replay buffer says "When the Instant replay hotkey is triggered", but that is different from the Source Record filter hotkey, and I assume if I hit the other hotkey it wont follow the correct thing

analog ruin
#

Hopefully you wont need to worry about this, and the script will just ask for the last replay saved, and load that.
Did you try?

fast fjord
#

I did, and it doesn't work lol

#

heres the good news....

analog ruin
#

shit ablobsweats

quiet bramble
#

I have an idea for a replay buffer plugin... exporting a source via spout to an external program, and having it buffer it and output it back on demand via spout to an OBS spout source.

fast fjord
#

Pros right now
#1 - Replays do get recorded with that one source alone (unlike the native OBS Replay Buffer)
#2 - They go into a separate folder location from the recording tab on OBS (unlike the native OBS Replay Buffer)

Cons is.... I can't figure out how to make it so it makes the latest replay, the shown replay on stream. The Native OBS Replay Buffer can do that though

analog ruin
#

if the lua script dosent work, I guess the replay buffer in "source record" does not register / signal get_last_replay, hence the path will fail or be empty SadCat

quiet bramble
#

Random thought... a python script running in the background monitoring the directory with filesystem notification, and when a new file shows up it sets a symbolic link to the file named "latest.mkv" or similar which OBS is monitoring/using in a media source.

analog ruin
#

do you get an error message?

fast fjord
#

no, but its different in general

#

the lua script follows a separate hot key button in general

analog ruin
#

the script should already dump (trigger "save replay"). Have you tried just using it, without double booking F2?

fast fjord
#

that's different from the source record plugin, and I forgot what video it was but I think they said to do both

analog ruin
#

alright. Can't speak to that. Just worried what will happen when both the lua script and the plugin tries to write the replay at the same time ablobsweats

fast fjord
#

I forgot the reasoning it was (for the two F2 buttons) to be the same, but that was for the native OBS replay buffer

#

and that worked for everything except accomplishing the goal of it capturing one source only

analog ruin
#

so yourthinking is to just have both trigger with the same name, and pray the the lua script picks up the right file and that the plugin wins the fight for that file? ๐Ÿ˜…

fast fjord
#

no no no

#

the one that uses Exeldros Source Record (with the replay issue I just got resolved from Linden) is the F4 Hotkey Save Replay

#

the NATIVE OBS Record Replay Buffer is F2 (both of them)

#

I believe Instant Replay - F2 at the top was for the media source and the Replay Buffer Save Replay F2 was to actually save the video

analog ruin
#

and why are we using the native one? That one would contain the entire scene, which you dont want, right+

analog ruin
fast fjord
#

native Replay Buffer = saves new replay files and when going to replay scene it plays the newest one BUT contains entire scene with all sources
Exeldro Source Record = saves new replay files and records only one source I want BUT so far cant figure out how to play the newest video
Exeldro Replay Plugin = records only one source and plays the latest replay and has a save replay function separately BUT makes my RAM go 100%

analog ruin
#

sounds about right ๐Ÿ™‚

fast fjord
#

I mean I don't get why one of em can have it all ๐Ÿ˜ญ

analog ruin
#

because no implementation will ever cover all usecases. Someone will always find a new way they want to use the tech, and its not been written to take that into account ๐Ÿ˜ฆ

fast fjord
#

Lindenkron knew a lot about the Source Record.... but he didn't mention if it is possible to have the Instant Replay media source change files everytime I save a replay....

analog ruin
#

I think I would just have the source record plugin overwrite the same file every time.
You point a media source at that file, and unload it. Retrigger it manually.

Annoying to have to do 2 (3?) inputs, but that should at least work

fast fjord
#

uh I don't get what u mean

#

are u saying change the Filename formatting to the same name so it overrides?

analog ruin
#

yeah

fast fjord
#

so remove the %CCYY-%MM-%DD %hh-%mm-%ss

#

and just leave "Replay" or whatever

analog ruin
#

yeah, just name it like "instant-replay" or whatever

fast fjord
#

worth a shot I guess

analog ruin
#

when you add that file as a media source, its really impotant that you have "show noting on end", and "unload when not in use".
oof, just realized, that might not technically be "inactive" tho :\

#

I guess we'll find out

fast fjord
#

uh

#

didn't change anything -_-

#

it still does the year and date and time

#

oh wait.... had to refresh the filter

fast fjord
analog ruin
#

I would try it like a few times ablobsweats You would have to make sure that the previous replay had ended, and that you dont spam the button. Not sure how robust this is going to be

fast fjord
#

I realize sometimes if I go from Main Game Scene to Replay Scene too quickly, the source on the volume thing wont disappear and the video will be paused

#

At least it accomplishes me goal, although I guess it would be cool to find a way to save replays as well instead of replacing it, but I normally record / download my streams anyways

#

huge thanks to you guys @analog ruin @quiet bramble @harsh topaz โค๏ธ
(I know I am picky, but my goal is to accomplish a simulated irl sports broadcast, but you three helped a lot so thank you <3)

analog ruin
#

oof, I feel bad that this turned out this jank ablobsweats I wish we had a better way to achieve what you want, but it is what it is

quiet bramble
#

np

fast fjord