Giter Site home page Giter Site logo

aznironman / transcriptgen Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17 KB

TranscriptGen is an application for transcribing audio and video files. Transcription output is .txt or .srt. Most audio and video formats supported (with ffmpeg).

License: MIT License

Python 100.00%
audio-to-text audio-transcription srt srt-files srt-subtitle srt-subtitle-format srt-subtitles subtitle subtitles transcribe

transcriptgen's Introduction

TranscriptGen

TranscriptGen is an application for transcribing audio and video files. Transcription output is .txt or .srt. Most audio and video formats supported (with ffmpeg).

Author

Table of Contents

Installation

Clone this repository and navigate to the project folder. Then run the following command to install the required packages:

pip install -r requirements.txt

Usage

Run the program from the command line:

python main.py

(Optional) Run the program with arguments:

python main.py -f <file_path> -l <language> -m <model> -o <output_folder> -t <output_type> -v <verbose>
  • -f, --file: Path to the video/audio file
  • -l, --language: Language code of the audio file (default: en)
  • -m, --model: Whisper Model name (default: base)
  • -o, --outputfolder: Output folder for the transcription file
  • -t, --type: The output format (0: transcript only, 1: transcript with time, 2: .srt file)
  • -v, --verbose: Verbose output (0: off, 1: on)

Supported File Types

Audio

  • 3g2
  • 3gp
  • aac
  • ac3
  • flac
  • m4a
  • m4b
  • m4r
  • mka
  • mp3
  • mp4
  • ogg
  • oga
  • opus
  • ra
  • ram
  • wav
  • wma

Video

  • 3g2
  • 3gp
  • asf
  • avi
  • dv
  • f4v
  • flv
  • m2ts
  • m4v
  • mkv
  • mov
  • mp4
  • mpeg
  • mpg
  • mts
  • mxf
  • ogv
  • rm
  • rmvb
  • ts
  • vob
  • webm
  • wmv

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

This project is licensed under the MIT License.

Contact

For any queries or concerns, please contact Geoff Clark at geoff @ clarktribegames . com.

transcriptgen's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.