Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Voice2Text is transcript media file to txt file to use Google Speach API &
Voice2Text need GOOGLE_APPLICATION_CREDENTIALS files. if you don't have this, please build google cloud projects and get from it.
brew cask install google-cloud-sdk
gcloud auth login
gcloud alpha projects create voicetotext-123456 --name voice2text
export GOOGLE_APPLICATION_CREDENTIALS='/your/service/acount/key/xxx.json'
pip install voicetotext
This application has two commands. splitvoice is convert the voice diving. voicetotext is voice existing in the folder into a text through google api. (See help command)
splitvoice --help
voicetotext --help
Sample Japanese voices from here
$ splitvoice voices/hana_1.mp3 --relative
spliting /57
spliting Done!
File was separete 57 filesOutput Separeted files? [Y/n]:y
separeted done! Have a nice Day!⏎
$ voicetotext results/ -s 22050 -l "ja_JP"
芥川龍之介
花
line
朗読池田秀雄
禅智内供の鼻といえば池で知らないものはない
長澤語録すがって上唇の上から顎の下まで下がっている
You need to examine the sample rate. I recommend ffprove to examine.
$ ffmprove results/000.flac
Input #0, flac, from 'results/000.flac':
Metadata:
ENCODER : Lavf57.56.101
Duration: 00:00:01.87, start: 0.000000, bitrate: 184 kb/s
Stream #0:0: Audio: flac, 22050 Hz, mono, s16
You can get framerate. In this case, frame rate is 22050. So, your commands is this.
$ voicetotext results -s 22050
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
# virtualenv
python3 -m venv env
source ./env/bin/activate
# python packages install
pip install -r requirements.txt
This software is released under the MIT License, see LICENSE.txt.
FAQs
Transript media file to text using google api.
We found that voicetotext demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.