Spacemarine
New Member
Sup guys!
I'm creating some overlays for my stream with React and GSAP TweenLite (https://greensock.com/tweenlite). It's basically just swiping in some divs with text and images. I'm moving like 10 elements which isn't too much tbh.
When I test it in my browser (chrome) I get sweet 144 fps. However, if I try to use it in an OBS browser source, the frame rate of the browser source drops to 40-50 while the animation is playing (I use a small script to capture the frame rate of the browser window and embed it into the website, it basically measures the rate of the requestAnimationFrame event, which is used by TweenLite for the animations).
My CPU and my GPU are basically idling throughout the process, so I doubt that it is a hardware issue. I already tried enabling and disabling the hardware acceleration in the settings but that didn't make any difference at all (which is pretty surprising tbh). I also tried to use it in xSplit and it worked, so I suspect it is an issue with the browser source itself or with my settings.
I'd be glad if anyone could help me with improving the fps because I dont want to have to use xSplit.
I'm creating some overlays for my stream with React and GSAP TweenLite (https://greensock.com/tweenlite). It's basically just swiping in some divs with text and images. I'm moving like 10 elements which isn't too much tbh.
When I test it in my browser (chrome) I get sweet 144 fps. However, if I try to use it in an OBS browser source, the frame rate of the browser source drops to 40-50 while the animation is playing (I use a small script to capture the frame rate of the browser window and embed it into the website, it basically measures the rate of the requestAnimationFrame event, which is used by TweenLite for the animations).
My CPU and my GPU are basically idling throughout the process, so I doubt that it is a hardware issue. I already tried enabling and disabling the hardware acceleration in the settings but that didn't make any difference at all (which is pretty surprising tbh). I also tried to use it in xSplit and it worked, so I suspect it is an issue with the browser source itself or with my settings.
I'd be glad if anyone could help me with improving the fps because I dont want to have to use xSplit.