Comments (3)
We use PyAV for the audio decoding which is based on FFmpeg, so it virtually supports all audio codecs.
I'm not sure this error is related to the file duration. Is it possible for you to share this input file (or any other file that triggers this error)?
There is a similar error reported here PyAV-Org/PyAV#1048 which seems to happen when the audio sampling rate is changing.
from faster-whisper.
Is it possible for you to share this input file
I downloaded it from youtube yt-dlp -x -f bestaudio "https://youtu.be/P4xuSCEjD5Q" -o "audio.%(ext)s"
just running ffmpeg -i audio.opus audio.mp3
to re-encode it to lame
stops the error from happening. using --format-sort acodec:m4a
to download the m4a from youtube also works.
I'll close the issue since it seems that it's an issue in PyAV
from faster-whisper.
It seems we are hitting a size limit when pushing audio frames in av.audio.fifo.AudioFifo
.
I updated the function decode_audio
to avoid the error on long audio files: 2646906
from faster-whisper.
Related Issues (20)
- After running for a period of time, repeatedly output the same sentence
- Belle-whisper-large-v3-zh δΈζ―ζ ValueError: Invalid model size 'Belle-whisper-large-v3-zh', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3 HOT 4
- ValueError: unsupported device mps | Trying to run my faster-whisper application using "mps" on my M2 Mac
- I see ram usage rises after the model loaded to GPU, how to release it?
- Does Faster-Whisper support float8? HOT 1
- How to achieve known text content and obtain the timestamp of the text corresponding to the audio HOT 5
- Need ability to send multiple files in one go HOT 8
- The option parameter does not affect the VAD process. HOT 2
- major slowdown with batching commit - cpu only HOT 19
- Issues with automatic language detection HOT 4
- Segment timestamps are buggy in BatchedInferencePipeline HOT 6
- why faster-whisper is slower than the origin whisper model HOT 1
- What languages are supported by New PR's VAD model? HOT 1
- vadOptions default value HOT 1
- highest precision level on cpu? HOT 2
- Faster-whisper installation replaces conda-installed CUDA PyTorch with CPU one HOT 2
- For audio with a sample rate of 16kHz HOT 2
- IMPORTANT: pyannote of the 1.0.3 source code HOT 2
- 1.0.3 VAD v5 is much worse than 1.0.2 VAD v4 HOT 10
- I canβt find BatchedInferencePipeline. HOT 2
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 faster-whisper.