Content Deep Dive
How to Add Subtitles to Mux Videos with Python
Blog post from AssemblyAI
Post Details
Company
Date Published
Author
Yujian Tang
Word Count
1,451
Language
English
Hacker News Points
-
Summary
This tutorial demonstrates how to programmatically create a subtitle track using AssemblyAI's Speech-to-Text API and add it to a Mux video. The process involves uploading an mp4 file to Amazon S3, transcribing the video with AssemblyAI's automatic transcription service, downloading the subtitle files, and uploading them to S3. Finally, the video is uploaded to Mux using their video API along with the subtitle text track. The tutorial provides detailed steps and code snippets for each part of the process.