YTD Node Client wrapper on @distube/ytdl-core
1. Install ffmpeg from https://ffmpeg.org/download.html and add the bin path in environment variables
- Audio Only (mp3)
- Video Only
- Both (merged mp4)
- Single file (best available, e.g. webm/mp4)
- `3` or `03` for 3 seconds
- `3:00` for 3 minutes
- `1:02:03` for 1 hour, 2 minutes, 3 seconds
- Leave blank for full file
- Download audio only and convert to mp3
- Download video only (no audio)
- Download both video and audio, merged to mp4 (only compatible formats shown)
- Download best available single file (video+audio, e.g. webm/mp4)
- Optionally trim output file with flexible time input
- Node.js
- ffmpeg (must be installed and available in PATH)
Run npm start and follow the prompts:
- Enter the YouTube video URL
- Choose download type (audio, video, both, or best available)
- Select quality/format
- Find your file in the
downloadsfolder