Comments (5)
Hi
Could you please detail the steps you took leading up to this issue?
Here's a similar issue on Mozilla Discourse. Is this similar to what you're facing?
from autosub.
yes I found the issue the mentioned thread helped me thank you so much for the quick response.
from autosub.
And I am running this code:
import os
import speech_recognition as sr
filename="1"
command2mp3 = f"ffmpeg -i {filename}.mp4 {filename}.mp3"
command2wav = f"ffmpeg -i {filename}.mp3 {filename}.wav"
os.system(command2mp3)
os.system(command2wav)
filename=f"{filename}.wav"
r=sr.Recognizer()
with sr.AudioFile(filename) as source:
audio_data=r.record(source)
text=r.recognize_google(audio_data)
print(text)
And it is giving me the speech text from the wave file pretty good can you tell me how to make a subtitle file out of that text
from autosub.
Hi
Can you tell me what the WAV file is in this context?
writeToFile.py handles writing the subtitles to the SRT file. It recieves the time stamps and text for each spoken sentence from main.py
Please go through the README properly to understand the flow of execution.
from autosub.
WAV sound format and thank you I found the way to do them
from autosub.
Related Issues (20)
- fix imports to autosub module
- flac not wav HOT 1
- multi core
- stream not stack = write result to disk more often
- ImportError: attempted relative import with no known parent package HOT 8
- Broken Docker build HOT 1
- Broken logging module import HOT 1
- Move model COPY steps higher in Dockerfile
- Docker build broken HOT 6
- Cannot import logger HOT 1
- Issue in running model HOT 1
- Problem running on Mac OS X Moterey HOT 3
- Include OpenAI Whisper model HOT 1
- Generated VTT files are not standard compliant
- ERROR: Could not find a version that satisfies the requirement stt==1.0.0 HOT 1
- Docker run return ` No module named 'autosub'` HOT 1
- force use utf-8 open README.md HOT 5
- Feature Request: Readme update for Windows users
- Instructions not working
- I had to change np.int to np.int64 to appease numpy "int" deprecation warning
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 autosub.