Skip to content

About

a simple utility using yt-dlp and ffmpeg to download/convert videos

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Video Downloader

繁體中文 · Developer notes

A portable Windows video downloader and converter with a Chrome/Edge companion extension.

Video Downloader uses a small Tauri + Rust desktop app, yt-dlp for site extraction and downloads, and FFmpeg/ffprobe for media processing. The browser extension can save verified direct media and simple HLS streams on its own, or hand more complex pages to the desktop app.

Features

  • Download from video pages, direct media URLs, HLS and DASH sources.
  • Convert local or downloaded media to H.264, HEVC, VP9, AV1, or keep the original encoding.
  • Use compatible NVIDIA, Intel, or AMD hardware encoders when available, with CPU fallback.
  • Choose source resolution before downloading instead of fetching an unnecessarily larger representation.
  • Run downloads and conversions in parallel with separate configurable limits.
  • Keep downloads running after the desktop window closes.
  • Reuse recently downloaded source media for retries or alternate exports, with automatic cleanup.
  • Pass an authorized browser session to the desktop app for private/login-required media.
  • English and Traditional Chinese UI, with build-time discovery for additional desktop translations.
  • Portable full and slim distributions; Node/npm are not required.

Desktop app

  1. Run VideoDownloader.exe.
  2. Paste a video/page URL, or choose a local media file.
  3. Select Inspect to load available source information.
  4. Choose the output format, resolution, and optional encoding settings.
  5. Add the job to the download list.

Downloads continue in the background if the window is closed. The Activity view shows current and previous jobs, supports retry, sorting, clearing individual entries, and clearing waiting jobs.

Default output folder:

%USERPROFILE%\Downloads\VideoDownloader

Browser extension

  1. Run the desktop app once so it can register the native-messaging host.
  2. Extract VideoDownloader-extension-x.x.x.zip to a permanent folder.
  3. Open chrome://extensions or edge://extensions.
  4. Enable Developer mode, choose Load unpacked, and select the extracted extension folder.

The extension can work standalone for verified complete direct-media files and simple unencrypted HLS streams. The desktop app adds site extraction, complex HLS/DASH assembly, conversion, background processing, and session-assisted downloads.

Stream discovery is opt-in and tab-specific. It can be turned off manually, turns off when you switch tabs, and expires automatically.

Portable packages

A normal build creates:

  • Full portable — includes the pinned yt-dlp, QuickJS-NG, FFmpeg and ffprobe tools.
  • Slim portable — contains the app only and looks for compatible tools in a custom tools folder, common package-manager locations, and PATH.
  • Browser extension ZIP.
  • SHA-256 manifest.

An NSIS installer can be generated optionally, but portable builds are the normal distribution.

Build from source

Requirements:

  • Rust stable with the Windows MSVC toolchain
  • Visual Studio C++ Build Tools / Windows SDK
  • PowerShell
  • 7-Zip

From the repository root:

build.cmd

The equivalent direct command is:

powershell -NoProfile -ExecutionPolicy Bypass -File scripts\build.ps1

The first build installs the Cargo Tauri CLI automatically if it is missing. Node and npm are not required.

For the optional installer:

build.cmd -Installer

See DEVELOPMENT.md for architecture, testing, localization, cache/worker behavior, and release details.

Localization

Desktop translations live in ui/locales/. Each locale file contains its own display name:

{
  "_meta": {
    "name": "日本語"
  }
}

To add a desktop language:

  1. Copy ui/locales/en.json to a locale-named file such as ja.json.
  2. Change _meta.name to the language's human-readable/native name.
  3. Translate the values while keeping the message keys unchanged.
  4. Run a normal build.

The build scans ui/locales/*.json and regenerates the language manifest automatically; no JavaScript or HTML language list needs to be edited.

Browser-extension translations use Chromium's standard extension/_locales/<locale>/messages.json structure.

Data and privacy

Application state and temporary cache are stored under:

%LOCALAPPDATA%\VideoDownloader

unless VD_DATA_DIR overrides it.

Reusable source media is retained for roughly 30 minutes and may be removed earlier when its final Activity reference is cleared. Job/session/temp data has separate cleanup paths. Completed media is never deleted merely because an Activity entry is cleared.

Browser-session cookies are used locally for the requested job and temporary session files are cleaned afterward.

DRM-protected media is not supported.

Third-party components

Third-party notices and bundled-tool licensing information are under src-tauri/resources/THIRD_PARTY.md.

License

Video Downloader is released under the MIT License. Bundled third-party tools remain subject to their own licenses; see src-tauri/resources/THIRD_PARTY.md.

About

a simple utility using yt-dlp and ffmpeg to download/convert videos

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages