Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

How to Auto-Generate Subtitles for Videos using Python, OpenAI Whisper & FFMPEG

Автор: Generative Geek

Загружено: 16 мая 2024 г.

Просмотров: 2 016 просмотров

Описание:

Reach a wider audience and boost your video engagement. In this video, you'll learn how to automatically generate subtitles for any video using Python, OpenAI's Whisper, and FFMPEG!

We'll walk you through the entire process step-by-step, including:

Downloading any YouTube video using PyTube.
Extracting the audio from your video with FFMPEG.
Leveraging the cutting-edge OpenAI Whisper model to transcribe the audio into text. We'll use the faster-whisper library for blazing-fast transcription speeds!
Formatting the transcription into a proper SRT (SubRip Subtitle) file.
Seamlessly embedding the subtitles back into your video using FFMPEG.

Code Repository : https://github.com/technofriends/add-...

Chapters

(00:00) Introduction
(02:58) Environment creation
(03:56) Faster Whisper for Transcription
(05:52) Downloading Video using pytube
(10:12) Extracting Audio from Video using ffmpeg
(15:40) Transcription using Whisper
(25:42) Formatting time for Subrip SRT
(28:53) Generating Subtitles
(34:10) Adding subtitle to the video
(38:42) Output Demonstration

This is the ultimate guide to automated subtitle generation, and by the end, you'll be able to add subtitles to your own videos with ease!

Ready to dive in? Here's what you'll need:
Python installed on your system.

The following Python libraries:
pytube
ffmpeg-python
faster-whisper

You can install these libraries easily using pip install pytube ffmpeg-python faster-whisper.
Let's automate those subtitles! 🔥
#python #opensouce #ai #subtitles #youtube #videoediting #ffmpeg #whisper #tutorial #codealong #programming

How to Auto-Generate Subtitles for Videos using Python, OpenAI Whisper & FFMPEG

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

How to Load HackerNews & YouTube Transcripts using LangChain for AI Projects

How to Load HackerNews & YouTube Transcripts using LangChain for AI Projects

Introduction to Generative AI

Introduction to Generative AI

Boost views with AI : Automate YouTube Chapter Creation with Generative AI

Boost views with AI : Automate YouTube Chapter Creation with Generative AI

Python Strings SIMPLY EXPLAINED! Part 2

Python Strings SIMPLY EXPLAINED! Part 2

A Guide to Using Supabase Edge Functions with Storage Buckets

A Guide to Using Supabase Edge Functions with Storage Buckets

Building with AWS API Gateway - Part 1: HTTP API & Lambda Integration with Terraform

Building with AWS API Gateway - Part 1: HTTP API & Lambda Integration with Terraform

Музыка для работы — Deep Focus Mix для программирования, кодирования

Музыка для работы — Deep Focus Mix для программирования, кодирования

Визуализация внимания, сердце трансформера | Глава 6, Глубокое обучение

Визуализация внимания, сердце трансформера | Глава 6, Глубокое обучение

Кухня | Сезон 1 | Серия 1 - 5

Кухня | Сезон 1 | Серия 1 - 5

Feels like the FIRST TIME (playlist)

Feels like the FIRST TIME (playlist)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]