whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Twitch.tv live transcription

Open ggerganov opened this issue 1 year ago • 0 comments

We now have a sample script for transcribing radio livestream, such as BBC radio:

$ ./examples/livestream.sh http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_world_service.m3u8 10 small.en
[+] Transcribing stream with model 'small.en', step_s 10 (press Ctrl+C to stop):

Buffering audio. Please wait...

 dug out enough of this trench one. I thought they can't go back now but it's because it's um you know the car parks now a bit of a mess. So that day was...
 - Today was a very special day for me, very special. - Very quickly, there are remains found. How do you feel when you're told that there are (buzzer)
 in fact bones where you have been digging. Yeah, you know, again, it was remarkable because we haven't been digging for long. It was just...
 few hours and it was in trench one and we uncovered a lower leg bone or it looked to be a human lower leg bone and
 it was right in the area where I'd had this intuitive experience and it was right beside the letter R on the tarmac and all of that. So I was really...
 Excited. After 11 days of careful excavation they exhumed a skeleton. And that's when everyone got very interested very quickly because it's
 looked like substantial battle wounds particularly on the skull and the skeleton showed a spinal abnormality which we then discovered was
 scoliosis. And the curved spine, the scoliosis, was significant because some historical accounts had described the king as having unequal shoulders. And then after months of 10-
 the University of Leicester confirmed what everyone suspected. The skeleton was Richard III. Beyond reasonable doubt, the individual exhumed...
 Greyfriars in September 2012 is indeed Richard III, the last Plantagenet King of England. [Applause]
 BBC News with Marion Marshall. Scientists in England.

It would be cool if we could transcribe https://twitch.tv livestreams in a similar way. I tried to understand how to read the livestream audio using ffmpeg but couldn't figure it out. I think it shouldn't be very difficult to achieve.

ggerganov avatar Dec 01 '22 18:12 ggerganov