Resource icon

Image Reaction 1.2

scaled

New Member
In regards to GIF in OBS, I discovered this a while back:

I kept running into an issue where OBS was using a ridiculous amount of resources, so much I had to hard reset the computer after a few minutes to even escape the program. I scoured the forums trying to figure it out, I never saw a clear answer so I started removing assets from the overlay including a couple of animated ones looking for anything that was a strain on the cpu. I discovered that while I was experimenting with webm and transparent video files to reduce the resource drain and still get the look I wanted (I couldn't properly encode them so I gave up on it) I had made all the gifs but one into a media source rather than an image source. One single 11 frame repeating animated gif was responsible for thousands of dropped frames over a 2 hour stream. Once I changed it to a media source my stream was perfect.

The reactive images in this now include gif, so I gave it a try. OBS normally takes up about 8-15% cpu in task manger with my two gif images in the overlay, with the reactive image it jumped to 26% and dropped frames every few seconds, which I think because it's treating the gif as an image source rather than a media source, much like the problem I had before.

This was with Envenc encoder, but I'm not sure it matters, because the problem was originally occurring regardless of the encoded, without even actively streaming or recording.
My computer is a windows 10, Intel i5 4670, with 24gb of ram and nvidia gtx1650 gpu if that helps any.
My plugin based on original Image Source plugin. I originally maked it for static images. Probably i can cache gifs or something, but firstly i need to fix most crashes on some setups.
 

Chuzz

New Member
This is awesome, Scaled! Thanks again!
Is there any chance you could add support for video ( for a longer loop)?
(I have loaded a video with an alpha channel which looks great but does not play, it just shows the first frame)
It would be awesome to be able to load videos as well.
 

CountVlads

New Member
This little plugin has been such a life savers. I was playing around with VoiceMeeter Macro Buttons, trying to get a static image to swap to a GIF when I spoke, I spent like two days fiddling with it. Then I came across this. Insert 2 files and basically ready to go.
 
Top