Comments (4)
There is a check to stop processing if less than 1s of audio remains:
Lines 5271 to 5277 in a750868
I've figured it helps in most situations, but obviously can affect negatively in cases like yours. This should become an input parameter
from whisper.cpp.
There is a check to stop processing if less than 1s of audio remains:
Lines 5271 to 5277 in a750868
I've figured it helps in most situations, but obviously can affect negatively in cases like yours. This should become an input parameter
Thanks for pointing it out. However, even if I comment out this block of code, the result is the same (no output).
If it improves behavior in some scenarios, the guard condition could stay as is, but it would be nice if a more prominent output message was shown at least when running via "main" in interactive mode (otherwise it just looks as if it's "broken somehow", which may be off-putting for first-time users).
(And quick processing of short audio files is needed for implementing interactive voice interfaces a'la Talon/Alexa etc.)
from whisper.cpp.
@jploski you can pad your input with 0s until you hit 1000ms in length
from whisper.cpp.
I'm not 100% sure if this is the same issue, but I'm currently having a problem where if the first bit of audio is blank it just doesnt bother transcribing the rest. So if my audio file has say 10 seconds of silence at the beginning but then a minute of audio after that, it outputs a blank transcript.
I think what's happening is if the first segment is empty, whisper doesn't try for the next segment.
(Small update, I think this only occurs if you have single segment set to true)
from whisper.cpp.
Related Issues (20)
- FYI, a pull request submitted to support whisper.cpp in package 'speech_recognition' HOT 1
- Async prediction on iOS 17
- Install
- Instal
- Equivalent of transformer's chunk_length_s in whisper.cpp HOT 2
- Which binary should be used for mac m1?
- Segmentation fault - Illegal instruction HOT 1
- Different platforms return different results HOT 2
- 'stdbool.h' file not found
- Silent crash on Windows HOT 1
- Crash with multiple whisper states running at the same time CUDA HOT 4
- Windows service crashes during inference HOT 5
- Microphone not working? HOT 3
- JSON Output Contains Garbled Characters for Chinese Audio Transcription HOT 1
- can i use the fasterWhisper model?
- Last version of ruby gem "whispercpp" cannot be build HOT 2
- Degraded quality with timestamps disabled
- Disable avx / avx2 / fma / f16c at runtime
- Question: make -j4 ggml for seamlessM4T , "ggml_backend" is undefined
- Usage of deprecated OpenVINO packages under Python 3.12 prevents using OpenVINO models
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisper.cpp.