Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pipeline to convert a video file into a vrt file

NotificationsYou must be signed in to change notification settings

daedalusLAB/daedalus_pipeline

Repository files navigation

Pipeline is a simple and easy tools to create vertical (.vrt) and corpus files from videos.

pipeline

It rests on this tools to create the pipeline:

  • OpenAI Whisper: is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification.
  • Spacy: is a free, open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more.
  • Gentle: is a forced aligner for speech and text. It uses a probabilistic model to align speech to text, and is trained on a large dataset of speech and text. It is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification.

Usage

Take a videofile as input and generate the corresponding vtt file namedvideofile.vtt in the same directory.

./daedalus_pipeline.py --file

Installation

Install next dependencies to make it work:

Requirements

ffmpeg

Requires the command-line toolffmpeg to be installed on your system, which is available from most package managers:

# on Ubuntu or Debiansudo apt update&& sudo apt install ffmpeg# on MacOS using Homebrew (https://brew.sh/)brew install ffmpeg# on Windows using Chocolatey (https://chocolatey.org/)choco install ffmpeg

Spacy models

Requires spacy models:

python -m spacy download en_core_web_lg

Some python packages

pip install -r requirements.txt

GENTLE

Requires to install gentle fromhere and be in your path.

About

Pipeline to convert a video file into a vrt file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp