Скачиваем видео с YouTube
Пакет pytube предоставляет всю небходимую функциональность для скачивания видео с YouTube, а также для сбора всей информации о нем.
Для работы нам необходимо создать объект класса YouTube. Помимо ссылки на видео в конструктор можно передать в качестве параметров функции для обработки прогресса загрузки и завершения.
Большинство видео на ютубе не имеют аудиодорожки на потоках с высоким разрешением, свыше 720p — это связано с технологией передачи DASH, которую использует ютьюб. Решение данной проблемы покажем в следующем посте.
На картинке мы показали как отфильтровать потоки с прогрессивной передачей и выбрать из полученного списка с максимальным доступным разрешением до 720p.
Для загрузки выбранного потока используем функцию download(), в функцию можно передать в качестве параметров путь до директории для сохранения и имя файла.
#youtube
📺 Video Streaming Stats from Nielsen
A new age of media is upon us. As a number of powerful media companies enter the streaming video marketplace in a very big way, choice in this promising arena has never been greater.
The Nielsen report notes that 60% of Americans subscribe to more than one paid #VideoStreaming service. Better still—especially for platforms entering the streaming market—is that 93% of U.S. consumers say they will either increase or keep their existing streaming services.
#Netflix#Hulu#Amazon#YouTube
📡 Read more on Pulse 77.
🦅@PerspectiveIX
AI-Video-Transcriber
#AI#Video#Transcriber is a powerful video transcription and summarization tool with support for over 30 platforms such as #YouTube and #TikTok.
It offers multilingual support and intelligent transcription with high accuracy through Faster-Whisper.
The tool also provides automatic text optimization and #summary#translation using GPT-4.
AI-Video-Transcriber is also compatible with mobile devices, making it easy to use.
https://github.com/wendy7756/AI-Video-Transcriber
================
@open_source_friend