ratwithacompiler / OBS-captions-plugin

Closed Captioning OBS plugin using Google Speech Recognition
GNU General Public License v2.0
1.06k stars 70 forks source link

Captions only work briefly #48

Open shabshabshabado opened 4 years ago

shabshabshabado commented 4 years ago

OBS 25.0.8 (MacOS 64bit) OBS Closed Captioning Plugin 0.18 Beta

The captioner works perfectly in the OBS preview screen.

When streaming to Vimeo, the CC icon shows up in the stream, and shows an English CC option. But when chosen - no captions display.

When streaming to Youtube - the captions showed up correctly (albeit at the top of the screen), but after a few seconds just stopped showing at all. Checking back in OBS they are still updating and showing correctly. But in Youtube, the video stream is still running, but no captions show.

Not sure what else to try to troubleshoot this. Is it possible it's something to do with the CEA 708 / CEA 608 standards not getting perfectly compliant??

jperryheun commented 3 years ago

I had the same trouble. They are not perfectly compliant, and I imagine stock encoding (hardware or software) on OBS doesn't allow for perfect 708/608/Line 21 streaming.

My "solution" was to go a different route. WebCaptioner is available for free and has a feature in its settings to send captions over HTTP POSTs. The only downside is you need to run a browser window in the background to listen to your audio. Check with one of my other comments on this github page for specifics.

Hope this helps!

CymaSpace commented 3 years ago

We could not get webcaptioner to reliably post to YouTube. Many words or sentences are skipped entirely despite showing in the browser window. How has your experience differed?

On Tue, Dec 8, 2020 at 12:01 PM jperryheun notifications@github.com wrote:

I had the same trouble. They are not perfectly compliant, and I imagine stock encoding (hardware or software) on OBS doesn't allow for perfect 708/608/Line 21 streaming.

My "solution" was to go a different route. WebCaptioner is available for free and has a feature in its settings to send captions over HTTP POSTs. The only downside is you need to run a browser window in the background to listen to your audio. Check with one of my other comments on this github page for specifics.

Hope this helps!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ratwithacompiler/OBS-captions-plugin/issues/48#issuecomment-740944997, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVRPYGNYFH4VN2U4NKUHRTST2AZ7ANCNFSM4TNKRPAQ .

-- Myles de Bastion President, Board of Directors CymaSpace

Web http://www.cymaspace.org/ | Facebook http://www.facebook.com/cymaspace | Instagram http://www.instagram.com/cymaspace | Twitter http://www.twitter.com/cymaspace | Youtube http://www.youtube.com/user/CymaSpace/videos

-- Web http://www.cymaspace.org/ | Facebook http://www.facebook.com/cymaspace | Instagram http://www.instagram.com/cymaspace | Twitter http://www.twitter.com/cymaspace | Youtube http://www.youtube.com/user/CymaSpace/videos

jperryheun commented 3 years ago

My experience differed quite a bit.

Here are my settings: Constant bitrate: cap at 2500, 720p (because I'm streaming over wifi at my church. Not ideal, but it works.) Normal latency Enable Auto-start & Auto-stop Added delay: 30 seconds Closed Captions enabled CC over HTTP POSTs

WebCaptioner.com/captioner > Settings > Experiments > "YouTube Integration"

Here's a link to our latest worship service as a working example. It's not perfect (the timings off and it sometimes doesn't space words correctly) but It's worked better than anything else I've tried. https://youtu.be/Rk37Ra8ZMR0

SEM-DGM commented 3 years ago

@ratwithacompiler Tested the captions on the latest jwplayer and like the others I only see them a couple of seconds before they stop showing at all in the player. Speech-to-Text works like a charm in obs though, I also suspect there might be something going on with the compliance regarding cea-608/708. Maybe looking at https://github.com/szatmary/libcaption might help? Would be great to have such functionality in a wider variety of players, thanks!

pkej commented 3 years ago

@jperryheun a question, is it possible to download/edit the subtitles afterward from/on YouTube? The Web Captioner service only allows for downloading text files.

jperryheun commented 3 years ago

Yes, it is possible to download various caption file formats from YouTube's own auto-generated captions. The default file format is .sbv, but I think they added others recently.

Note: it is worth mentioning that their subtitle/caption editor is pretty easy to use, so I haven't needed to download a subtitle file. It will even do the timing for you if you want to copy-paste one big block of text. The only thing it won't do is color and caption placement (though based on some of Tom Scott's videos, the features are supported using an external subtitle editor).

On Fri, 26 Mar 2021, 09:11 Paul Kenneth Egell-Johnsen, < @.***> wrote:

@jperryheun https://github.com/jperryheun a question, is it possible to download/edit the subtitles afterward from/on YouTube? The Web Captioner service only allows for downloading text files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ratwithacompiler/OBS-captions-plugin/issues/48#issuecomment-808339503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3E34WEIU2AZ57XUDIHZVDTFSW47ANCNFSM4TNKRPAQ .

pkej commented 3 years ago

There are a couple of good subtitle editors for free "Subtitle Edit" from Nikse.dk and "AegiSub", which seems to be down and no new commits for the last couple of years, but one thread from this year discussing the site downtime. There is a fork for windows only.