captain-fact icon indicating copy to clipboard operation
captain-fact copied to clipboard

Get the transcript of a quote automatically

Open Vayel opened this issue 6 years ago • 1 comments

To add a fact, we need to type what is said in the video, what makes it difficult to both register facts and listen to the video. It would be convenient to have a button Record that would automatically get the transcript of what is being said. I can see two solutions:

  • Use a custom speech recognition system
  • Read the automatic translation made by Youtube

Vayel avatar Feb 14 '19 17:02 Vayel

Hi @Vayel!

A speech recognition system may be complex to integrate.

Getting the YouTube transcript however is a very good first step, we actually have it half-implemented since: https://github.com/CaptainFact/captain-fact-api/pull/25

In short:

  • This method supports getting the captions for YouTube videos and store them in DB
  • It does not work automatic transcripts (but http://downsub.com/ supports it, so there's a way to do it)
  • We still need to specify how we want to integrate this in frontend
  • At this doesn't work for live videos, we'll need a job that check for new subtitles every x hours/days

Betree avatar Mar 04 '19 20:03 Betree