Skip to content

Conversation

@Syed-56
Copy link

@Syed-56 Syed-56 commented Jan 9, 2026

PR Title

Add audio transcription script using Faster Whisper

Summary

Added a new Python script that transcribes audio and video files (MP3, WAV, MP4, etc.) into text using the Faster Whisper library. The script automatically installs the library if missing and checks for ffmpeg.

Description

This script allows users to transcribe audio files quickly and efficiently. It supports multiple model sizes (tiny, small, base, medium, large) and allows English-only or multilingual transcription. The script validates the input file, prompts for model choice, and outputs the transcript in the same folder.

The changes are as follows:

  • Added audio_transcribe.py script
  • Auto-installs faster_whisper if missing
  • Checks for ffmpeg and provides installation instructions
  • Supports MP3, WAV, M4A, FLAC, AAC, and MP4 files
  • Prompts user for model size and English-only/multilingual choice
  • Saves transcription output as <audio_file>_transcript.txt
  • Includes user-friendly messages and error handling

Checks

in the repository

  • Made no changes that degrade the functioning of the repository
  • Gave each commit a descriptive title

in the PR

  • Followed the format of the pull_request_template
  • Made the Pull Request concise and self-contained
  • Tested the script locally and verified transcription works

Thank You,

Syed Sultan

Copy link
Author

@Syed-56 Syed-56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transcription model Validation and loop made for both model and file. Also some minor positive changes also made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants