YT-DLX: The Ultimate Multimedia Downloader
YT-DLX is a powerful and versatile tool that allows you to download audio and video content from a wide range of sources, including YouTube, Vimeo, and many more.

YtDlx.Audio_Video.Custom()
Downloads or streams combined audio and video from YouTube with custom options.
Combined Audio/Video
Download or stream combined audio and video
Parameters
An object containing the configuration options.
The search query or video URL. Required.
The desired video resolution. Required.
Available: "144p"
"240p"
"360p"
"480p"
"720p"
"1080p"
"1440p"
"2160p"
"3072p"
"4320p"
"6480p"
"8640p"
"12000p"
(Optional) The directory to save the output file.Cannot be used with metadata: true
.
(Optional) Whether to use Tor.
(Optional) Whether to stream the output.Cannot be used with metadata: true
.
(Optional) Enable verbose logging.
(Optional) Only fetch metadata.Cannot be used with output
,stream
, orfilter
.
(Optional) A video filter to apply.Cannot be used with metadata: true
.
Available: "invert"
"rotate90"
"rotate270"
"grayscale"
"rotate180"
"flipVertical"
"flipHorizontal"
Return Value
An EventEmitter instance for handling events during the audio/video processing.
FFmpeg command started.
Download/stream progress.
Process complete (path or stream path).
Video metadata, formats, suggested filename.(if metadata: true
)
Streamable filename/path and FFmpeg instance.(if stream: true
)
Error occurred.