-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silly script: BBC world service streaming text #185
Comments
@semiformal-net I added the livestream.sh script to the repo. It is based on your idea above. cd whisper.cpp
make
# transcribe BBC radio stream using small.en at 10s chunks
./examples/livestream.sh http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_world_service.m3u8 10000 small.en There is a problem that across sequential |
@ggerganov glad I could help! I noticed the loss of audio between snapshots as well... I'll play around with ffmpeg and see if I can figure out a patch. |
In the result it may become what I was looking for, but I would consider this a workaround ... to me it seems kind of breaking how one expects unix-programs usually work - when getting data via pipe, process it ... Maybe the approach might be to adapt the stream example and generalize it (where one example/specific use case is reading from mic-device and another might be reading from pipe ...) ... in fact it should make no difference, if input to the command is a mic or an ffmpeg-stream or whatever, as long as it has the wav-format |
You can actually already achieve something very similar to what you describe:
|
I created PR #195 that is a bit better. It seems to eliminate the lost words between clips with new logic |
Continued in #209 |
Thanks for the code! This is great!
This script will:
bbc_blaster.sh
Which looks like this...
The text was updated successfully, but these errors were encountered: