Resource icon

Closed Captioning via Google Speech Recognition 0.0.8

jpcst311

New Member
Yo @RatWithACompiler , I love the plugin man. I am trying to promote it in a popular YT and Twitch social group focused on stream mics, cams, obs pluggins, etc. I have a LUA script I modified to work with the plugin to enable voice activated sources in OBS. The plugin would be perfect if we had the option to specify the transcript file name as static. Every time a stream or recording starts, I have to go into the OBS script and point the LUA script to the new date/time stamped transcript file. Is this something you could throw into the beta version? It would be so helpful and I think it would really take off with the YT/Twitch followers I want to promote it to.
 

legionSR

New Member
@RatWithACompiler thank you for your development. Even if I can not enjoy it right now this will be the perfect solution. Unfurtionately the capturing isn't working for me in OBS25.0.3-8 on win 10, using it with a laptop running an older i3 processor. Tried it with mic and video source in scenes and activated it on streaming and recordinhg but even in preview no text is showing up. It says it's capturing but the dot on the left side staied grey.
Tested the plugin in version 0.0.10 and 0.0.11.
Is there any kind of log I could consult on this?
Maybe there will be something working for me in future versions. Keep on developing!
 

bradtem

Member
Very cool. I don't suppose it is possible to also invoke Google translation on the captions (with more delay as it needs more words) to give subtitles in another language? That would be very cool when I present to other parts of the world.

And it may seem strange, since properly embedded text subtitles are the best way to do this, but if not using twitch, it could make sense to create a virtual video source to include in your scene which overlays the subtitles into the video as hardsub. Then they could go out OBS virtualcam or go into recordings -- or is there another way to do that?
 

Spooky1611

New Member
Very cool. I don't suppose it is possible to also invoke Google translation on the captions (with more delay as it needs more words) to give subtitles in another language? That would be very cool when I present to other parts of the world.

And it may seem strange, since properly embedded text subtitles are the best way to do this, but if not using twitch, it could make sense to create a virtual video source to include in your scene which overlays the subtitles into the video as hardsub. Then they could go out OBS virtualcam or go into recordings -- or is there another way to do that?

+1 Google translation next to this would be insanely cool!
 

Serenova

New Member
Is there any way to show the captions on the image preview?

And is there a way to get the captions to show when NOT streaming or recording? I want to be able to test the settings and how everything looks BEFORE going live anywhere (or filling up my hard drive with text recordings I then have to delete later).
 

Wandering Youth

New Member
@RatWithACompiler thank you for your development. Even if I can not enjoy it right now this will be the perfect solution. Unfurtionately the capturing isn't working for me in OBS25.0.3-8 on win 10, using it with a laptop running an older i3 processor. Tried it with mic and video source in scenes and activated it on streaming and recordinhg but even in preview no text is showing up. It says it's capturing but the dot on the left side staied grey.
Tested the plugin in version 0.0.10 and 0.0.11.
Is there any kind of log I could consult on this?
Maybe there will be something working for me in future versions. Keep on developing!
I am also having the same exact issue. I would love to give this plugin a try as it's exactly what I was looking for since I love Google's speech to text software on their android smartphones.
 

LastHPHero

New Member
I am trying to work this out to include it in our Dungeons and Dragons stream. Is there a way to get the closed captions to also transcribe the spoken audio coming through a specific source?

It looks like there is an option "Other Source" which can be changed to an audio channel created for a scene, but I don't have a way to test that. Mine through my mic work, that is in the preview. Is that "Other Source" setting the correct thing to do to transcribe them as well?
 

jermn007

New Member
@RatWithACompiler , excellent work. This is a valuable plug-in for those of us who want to provide accessibility for viewers!

One thing that would make this better would be if there was an option to hardcode the captions onto the stream, either through a source, or some other means. Ideally, we'd also have control over the size, position, and color of the hardcoded subs.

I deliver roughly 30 hours a month of software onboarding for my organization. My set up includes outputting the OBS preview to a dedicated monitor, then sharing that monitor in WebEx/Zoom. Having hardcoded subs would give me the ability to provide captions to my session participants through my screen share in any meeting software.

Keep up the great work!
 

Rockum

New Member
I wish it were possible to use this with the output when neither recording or streaming. I would like to be able to use it with the virutal camera output and the NDI output plugin.
 

jpcst311

New Member
Hello @RatWithACompiler I really appreciate you putting in the changes to have a static transcript file! For some reason the file is now locked from view, or rather its like the contents of the CCC plugin do not write to the file until the stream is stopped or the recording is stopped. The old format would write to the file as things happened and you could open the file and see the changes. Is there a setting I need to have it do this again? My LUA script cannot read anything from the file in real time because its empty. Any ideas? Thanks a ton, I am so close!
 

jpcst311

New Member
Hello @RatWithACompiler I really appreciate you putting in the changes to have a static transcript file! For some reason the file is now locked from view, or rather its like the contents of the CCC plugin do not write to the file until the stream is stopped or the recording is stopped. The old format would write to the file as things happened and you could open the file and see the changes. Is there a setting I need to have it do this again? My LUA script cannot read anything from the file in real time because its empty. Any ideas? Thanks a ton, I am so close!
@RatWithACompiler did you get a chance to take a look at the cc log files and why they are now locked for reading until the file is closed. The older version with fixed filenames allowed my LUA script to read from the file as it was writing. Now it doesn't write anything to the file until it is closed, which breaks my LUA script all together. This is so close to perfection! I mod in a twitch stream with a big community that would totally jump on this plugin in combination with my LUA script for voice control in OBS. :)
 

FrancisW

New Member
I doubt this will work long term because Google speech to text relies on a Google account to track the max 60mins quota per month tied to a gcp account to make that api request
 

alexandresap

New Member
Hi there!
It worked very well with my mic audio!
Is it possible to use for more than one audio channel? I normally do interviews and I just can use this closed caption with my mic audio channel, so closed caption us missing everything that my guest says.
Any solution? Tks
 
Seriously... using the Mic/Aux source, which shows audio signal coming into OBS from my mic, I get NOTHING from this captioning tool, or the one that is in the menu listed as “experimental”.

What am I doing wrong?!
 

RogerA

New Member
@RatWithACompiler I am using OBS 26.1 and the 0.18b version on Windows 10. I can caption to Twitch it works just fine, you can see the captions and they are about 95% accurate. However when I stream to another service that uses video.js player I see the CC button on the player but the captions are very sparse, it only gets a small percentage of the words in the stream and it's not consistent. However all of the words come up fine in the preview. Also I can stream captions to the video.js player with another application just fine. Also I tried streaming to YouTube and don't get the CC button on the video player. Anything that can be done to fix this?
 

jpcst311

New Member
@RatWithACompiler did you get a chance to take a look at the cc log files and why they are now locked for reading until the file is closed. The older version with fixed filenames allowed my LUA script to read from the file as it was writing. Now it doesn't write anything to the file until it is closed, which breaks my LUA script all together. This is so close to perfection! I mod in a twitch stream with a big community that would totally jump on this plugin in combination with my LUA script for voice control in OBS. :)

@RatWithACompiler did you get a chance to take a look at the cc log files and why they are now locked for reading until the file is closed. The older version with fixed filenames allowed my LUA script to read from the file as it was writing. Now it doesn't write anything to the file until it is closed, which breaks my LUA script all together. This is so close to perfection! I mod in a twitch stream with a big community that would totally jump on this plugin in combination with my LUA script for voice control in OBS. :)
 

ODesplugado

New Member
I have a problem.

My processor and video card are from AMD, and in OBS the audio capture for conversion to text seems to be working fine.
But for some reason, subtitles are not sent to the twitch, not even the subtitles button appears as an option in the player.
 

Attachments

  • Captura de Tela (5).png
    Captura de Tela (5).png
    326.1 KB · Views: 135
Top