Back to Autogpt

Video Download

docs/integrations/block-integrations/video/download.md

0.6.441.7 KB
Original Source

Video Download

<!-- MANUAL: file_description -->

This block downloads videos from URLs, supporting a wide range of video platforms and direct links.

<!-- END MANUAL -->

Video Download

What it is

Download video from URL (YouTube, Vimeo, news sites, direct links)

How it works

<!-- MANUAL: how_it_works -->

The block uses yt-dlp, a powerful video downloading library that supports over 1000 websites. It accepts a URL, quality preference, and output format, then downloads the video while merging the best available video and audio streams for the selected quality. Quality options: best (highest available), 1080p/720p/480p (maximum resolution at that height), audio_only (extracts just the audio track).

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
urlURL of the video to download (YouTube, Vimeo, direct link, etc.)strYes
qualityVideo quality preference"best" | "1080p" | "720p" | "480p" | "audio_only"No
output_formatOutput video format"mp4" | "webm" | "mkv"No

Outputs

OutputDescriptionType
errorError message if the operation failedstr
video_fileDownloaded video (path or data URI)str (file)
durationVideo duration in secondsfloat
titleVideo title from sourcestr
source_urlOriginal source URLstr

Possible use case

<!-- MANUAL: use_case -->
  • Downloading source videos for editing or remixing
  • Archiving video content for offline processing
  • Extracting audio from videos for transcription or podcast creation
  • Gathering video content for automated content pipelines
<!-- END MANUAL -->