Transcribe speech and identify speakers with WhisperX
Transcribe speech with WhisperX in Python, identify speakers, and search the transcript with word-level timestamps.
Extract the audio track from video files for transcription, analysis, or processing.
Audio · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You use the extract_audio function to create an audio column from video. This integrates seamlessly with transcription and other audio processing.
pip install pixeltable 'numpy<2.4' openai-whisper
video.extract_audio()whisper.transcribe()pxt.create_table()add_computed_column()insert()# Add computed column to extract audio as MP3videos.add_computed_column(audio=extract_audio(videos.video, format='mp3'))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Transcribe speech with WhisperX in Python, identify speakers, and search the transcript with word-level timestamps.
Convert speech to text locally using OpenAI's open-source Whisper model—no API key needed.
In this tutorial, we'll build an end-to-end workflow for creating and indexing audio transcriptions of video data.
Transcribe audio files and generate summaries automatically using Whisper and LLMs.