Cheers, Flad. Another great video. Echoing all that's said already, works a charm; clear and easy to follow instructions; and the explanation of what does what and why is enough to have a tinker with what's been provided. Thanks so much!
Thanks for the kind words. Hearing that it explains it to enable you to tinker is just what I want with this series. My goal is to enable creativity in others!
Love this video. Question, when I do a shoutout, 2 audios come in. Sometimes one starts with their logo and the the video starts with audio, but the previous audio is still audible.
yes, in the Execute C# code, there's a delay variable set in line: int delay = 700 + (int)(randomClip.Duration * 1000); You can then check to see if this is over 20,000 and to set delay to this value (you may want to tweak to 21000 or 22000 to allow for loading time). Add this next line below the one quoted above: if (delay >20000) {delay=20000;}
Thanks for all these great examples. I'm still very new at this all, I was wondering if there is a way to limit the length of time that a clip can play for?
Hey Flad! Thank you for this tutorial! It has been working great until recently, in which I updated streamer bot to version (0.2.2). Now, the clip will start to play, and every couple of seconds the clip will pause, then skip ahead (similar to lag). Does anyone know why that is, or any potential fixes?
Streamer bot 0.1.5 has some improvements and new options so I'll do an overhaul on the video shout out system for that. You can limit the clip length to 30 seconds maximum by looking at evaluating the delay variable after line: int delay = 700 + (int)(randomClip.Duration * 1000);
You need to edit the browser source to allow obs to control audio and then to set that source to monitor only, mute output. Then you can change the volume in the audio mixer.
It was working flawless up until the last couple weeks. All clips started lagging real bad/playing in slow mo and now they have no sound at all. I really hate to go back to Twitch Guru (nothing wrong with it, I simply prefer to host my own files).
You can control it through the browser source in the OBS mixer. You can also lower the volume by editing the html code if needed but it's much more work.
It's using a browser source to play with a video element which is simple and should link both video on audio. I'd first check to see if obs and your video drivers are updated. Feel free to DM me on discord if it still isn't working after.
@@VRFlad sorry for the late response, in the end I reset obs settings and reconfigured obs to my liking and now the shoutouts work properly, although something new that has started is occasionally the video will stop playing after 10-15 seconds but the audio will continue. It's very intermittent though.
The first thing to check is having OBS websockets 4.91 installed and connected (check OBS tab in streamer bot). Then check that the scene and source settings are set up in the action. Finally you need to ensure that you have compiled the executable code and to add in the references. Does the shout out message get sent to the channel too?
Yay 1.4 is out! I've been looking forward to this shoutout player
OMG IT WORKS!
And I even modified for local files. Thanks mate. You and Nate make the world good again.
Another great video, easy to follow, and works like a charm as always, thanks for this awesome guide!
I shouted "yay!" when i found this video. A "hell yeah" also seems appropriate.
Nice. I've seen others do this, but I imagine it was not as easy to setup as this. Thanks for posting this.
Cheers, Flad. Another great video. Echoing all that's said already, works a charm; clear and easy to follow instructions; and the explanation of what does what and why is enough to have a tinker with what's been provided. Thanks so much!
Thanks for the kind words. Hearing that it explains it to enable you to tinker is just what I want with this series. My goal is to enable creativity in others!
Nice one Flad!! Great video and works perfect!!
Awesome job!!
this was super helpful, thank you for that!!
You are a wizard. OMG!
Love this video. Question, when I do a shoutout, 2 audios come in. Sometimes one starts with their logo and the the video starts with audio, but the previous audio is still audible.
Do you have another video shout out at all? If you disable streamer bot do you hear anything?
Great!
awesome video and command, easy to set up with your instruction. is there a way to cut to clips off short e.g. limit to 20 sec?
yes, in the Execute C# code, there's a delay variable set in line:
int delay = 700 + (int)(randomClip.Duration * 1000);
You can then check to see if this is over 20,000 and to set delay to this value (you may want to tweak to 21000 or 22000 to allow for loading time). Add this next line below the one quoted above:
if (delay >20000) {delay=20000;}
Thanks for all these great examples. I'm still very new at this all, I was wondering if there is a way to limit the length of time that a clip can play for?
You can add in a line to check the delay value after it is set and to limit it - if (delay >20000) {delay=20000;}
It was working perfectly, but when I try to integrate it with the new /shoutout command of twitch it doesn't work :(
Your updated stuff on your website no longer works, I miss the import option into streamer bot, can you bring that back?
Hey Flad! Thank you for this tutorial! It has been working great until recently, in which I updated streamer bot to version (0.2.2). Now, the clip will start to play, and every couple of seconds the clip will pause, then skip ahead (similar to lag). Does anyone know why that is, or any potential fixes?
Great Video again. Is there a chance to use only Clips that are shorter than 30secs? is that in line 36 in the code?
Streamer bot 0.1.5 has some improvements and new options so I'll do an overhaul on the video shout out system for that. You can limit the clip length to 30 seconds maximum by looking at evaluating the delay variable after line:
int delay = 700 + (int)(randomClip.Duration * 1000);
Would you consider this a more reliable solution compared to Twitch Guru?
Can you set the volume of the source somehow? looked into the c# code and fiilters of the source but nothing helped.
You need to edit the browser source to allow obs to control audio and then to set that source to monitor only, mute output. Then you can change the volume in the audio mixer.
@@VRFlad oh man…of course…thats way too easy:) Thanks for the solution!
So is there a reason why my clips lag when using the browser source?
It was working flawless up until the last couple weeks. All clips started lagging real bad/playing in slow mo and now they have no sound at all. I really hate to go back to Twitch Guru (nothing wrong with it, I simply prefer to host my own files).
Followed to the T and was awesome, any way to lower the volume on the video by chance?
You can control it through the browser source in the OBS mixer. You can also lower the volume by editing the html code if needed but it's much more work.
@@VRFlad Mm I'm looking thru the OBS mixer and i don't see one for the browser source. I'll look it up
@@VRFlad got it now! Thank you :)
Question: I followed your video, but, when I test the shoutout, the audio plays but the video itself freezes, any ideas on how to fix this?
It's using a browser source to play with a video element which is simple and should link both video on audio. I'd first check to see if obs and your video drivers are updated. Feel free to DM me on discord if it still isn't working after.
@@VRFlad sorry for the late response, in the end I reset obs settings and reconfigured obs to my liking and now the shoutouts work properly, although something new that has started is occasionally the video will stop playing after 10-15 seconds but the audio will continue. It's very intermittent though.
I was wondering if this works with OBS live, because I couldn't see any video or hear any audio at all.
The first thing to check is having OBS websockets 4.91 installed and connected (check OBS tab in streamer bot). Then check that the scene and source settings are set up in the action. Finally you need to ensure that you have compiled the executable code and to add in the references. Does the shout out message get sent to the channel too?
@@VRFlad EDIT: I figured out my issue! Sorry for the trouble! I got disconnected and didn't notice it!
@@SOSTalley Does the c# code compile okay?
@@VRFlad Everything is okay! Thank you so much! It's perfect!!
@@VRFlad I cannot get this to work. The code compiled OK, im not getting anything in the alert scene or the messge posted to the chat :(
The import code is broken because youtube layout i think
It worked for me, but I've changed it to a link in the description so it's hopefully easer now - vrflad.com/obs-videoShoutout.txt
@@VRFlad Thanks for the fast support on this, now i have the complete code and i can continue your tutorial.
Does put a message in chat but does not play any clips for me
Does it show obs as connected in streamer bot? Please double check the scene and source names?
@@VRFlad it was NOT connected for some reason, now it works - thank you!!!!