Skip to main content

Overview

Tornado supports advanced download options including audio-only extraction, resolution selection, video clipping, and live stream recording.

Audio-Only Extraction

Extract just the audio track from any video. By default, the audio is saved as m4a (native AAC from YouTube) with no re-encoding for maximum quality and speed.

Default (m4a, no re-encoding)

MP3 Output

Audio Formats

Use m4a (default) for the fastest processing since it skips re-encoding entirely. Use mp3 only if you need broad device compatibility.
audio_only can be combined with clip_start/clip_end to extract a specific audio segment, and with audio_bitrate to control output quality.

Resolution Selection

Limit the maximum video resolution to reduce file size and download time.

Available Resolutions

max_resolution checks the shorter dimension of the video. This means 1080 correctly keeps both 1920x1080 landscape videos and 1080x1920 vertical videos (YouTube Shorts), while filtering out anything above 1080p in either orientation.

Example

If the requested resolution is not available, Tornado downloads the next best available quality.

Video Clipping

Extract a specific segment from a video using start and end timestamps.

Timestamp Formats

Both formats are supported:
  • HH:MM:SS - Hours, minutes, seconds (e.g., 01:30:45)
  • Seconds - Raw seconds (e.g., 5445)

Examples

clip_end must be greater than clip_start. Invalid timestamps will return a 400 error.

Live Stream Recording

Record ongoing YouTube or Twitch live streams.

Parameters

Basic Live Recording

Record from Start (VOD Mode)

Wait for Scheduled Stream

Always set max_duration for live streams to prevent indefinite recordings. Recommended: 2-4 hours maximum.

Combining Options

You can combine multiple options in a single request:

Error Handling

Invalid Resolution

Invalid Timestamps