videotools

A collection of video and audio processing tools

stories/media/repologo.png

Description

This repo performs various operations on video and audio files, including:

  1. Extracting short video clips from longer ones.
  2. Enhancing audio by adjusting pitch and volume, eg. for a deeper voice.
  3. Compressing and converting video files to WebM format.
  4. Extracting audio from a video and saving it as an MP3 file.
  5. Amplifying audio if necessary.
  6. Transcribing audio using Whisper.
  7. Correcting raw audio transcripts using ChatGPT.
  8. Embedding subtitles into the WebM video files.

Main Functions

The main file of this repo is runtools.py. In this file, (un)comment the functions you want execute.

Single Video Transcription

For quick, standalone transcription of individual videos, use transcribe_single_video.py. This script provides:

When to use this script

Configuration

Before running, modify these variables at the top of the script:

Requirements

Demo

Using this toolkit, an mp4-video has been converted into the following products:

Articles

Info