Skip to content

Mahmoud-Da/Transcribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transcribe

Using with Docker

1.add the file in this location

src/inputs

1.build the image

docker compose build

2.run the container

docker compose up

3.enter to the container

docker run -it --rm transcribe-app

4.inside the container run the script

.//transcribe.sh FILENAME LANGUAGE

5.without terminate the running container open new shell tap and run:

  1. for the first time
chmod +x transcribe.sh
  1. run the script to extract the files
./extract-files.sh

NOTE: when upload/delete file from src/inputs rebuild the Image

Using Locally

Installation Mac

  1. brew install ffmpeg
  2. pip install openai-whisper

How to use:

  1. chmod +x transcribe.sh
  2. ./transcribe.sh example_video.mp4 English

Related References

Whisper

https://openai.com/index/whisper/

ffmpeg

https://www.ffmpeg.org/

pip

https://pypi.org/project/pip/

About

Translate video to Text using AI Model calling WHISPER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published