axutongxue

xiaowan-toolbox

axutongxue

Xiaowan Toolbox 2.x is a desktop audio/video toolbox forked and refactored from the 52ting build, adding target-size compression, stream extraction, AV1 hardware encoding, and offline macOS packaging on top of PySide6 and FFmpeg.

v2.3.0
Published at
6d ago
85
Stars
617
Download

Latest release

v2.3.0Nov 29, 2026, 10:59 AM
Downloads slow? Switch the source anytime above

README

Project Overview

This repository forked 52ting/xiaowan-toolbox at 1.2.4 and was taken over by axutongxue, refactored, and carried to 2.3.0. The compression page split into two peer tabs, presets and target file size; stream extraction, test encodes, media info, and cover art were added; Windows moved to a single-file exe while macOS gained an offline packaging script.

Item Value
Platform Windows 10/11, macOS (Intel and Apple silicon)
Upstream 52ting/xiaowan-toolbox at 1.2.4
Version 2.3.0, Windows single file around 218 MB
Stack Python + PySide6 (Qt 6), FFmpeg
License MIT

One interface now covers two very different jobs: hitting a hard size limit, and simply making a file smaller.

Key Features

  • Target-size compression: enter the size you must hit, get a feasibility pre-check that refuses impossible targets with advice, and an automatic bitrate retry when the first pass overshoots
  • Test encode: compress only the middle 20 seconds (5 to 60 seconds selectable) to judge quality before committing the whole file
  • Purpose presets: H.264 8-bit for sending to others, AV1 for roughly half the size when only you will watch it
  • Stream extraction: pick video, audio, and subtitle streams to split into separate files, all via copy, with PGS graphics subtitles saved as .sup
  • Surround downmix: 5.1 / 7.1 to stereo or mono with 5 presets, three independent gains, and a live output size estimate
  • Remuxing: choose exactly which audio and subtitle tracks survive, mark a default track, and let subtitles transcode per container (copied in MKV, mov_text in MP4, webvtt in WebM)
  • Cover art: same-name images are written into the MP4 covr atom, so player posters and Windows Explorer thumbnails both pick it up
  • Media info: container, bitrate, profile and level, colour space, chroma subsampling, bit depth, scan type, and per-stream size share on one page
  • Background mode: ffmpeg runs at low priority so the machine stays responsive while encoding, returning to full speed when idle
  • Custom presets: save the full parameter set as a card and export it as JSON for another machine

Differences from 1.2.x

Capability 1.2.x (upstream) This repository at 2.3.0
Windows delivery Inno Setup installer, about 47 MB Single-file exe around 218 MB, plus a 47 MB lite build
Compression entry One parameter page Preset and target-size peer tabs
Stream extraction None Multi-select split of video, audio, and subtitles
Codecs H.264 / H.265 AV1 added, including AV1 hardware encoding
macOS build Depends on Homebrew ffmpeg Offline zip with wheels and dual-architecture ffmpeg

Target Audience

  • Creators who must hit an upload size cap exactly
  • Post-production users who need subtitle or audio streams pulled out
  • Collectors compressing a series to AV1 for disk space
  • Users who must produce a macOS build without network access

Quick Start

  1. On Windows download XiaoWanToolbox-2.3.0.exe and run it; for a smaller download use -lite.exe, which needs ffmpeg already on PATH
  2. Start on the target-size tab: type the MB limit, run a test encode on the 20-second sample, then compress the full file
  3. On macOS download XiaoWanToolbox-2.3.0-mac.zip, unpack it, and run bash 打包小丸工具箱.command; it stays offline for roughly 3 to 8 minutes
  4. From source, build with python packaging/build_windows.py or bash packaging/build_macos.sh
  5. When ffmpeg is missing, check in order: the path set in settings, the XIAOWAN_FFMPEG environment variable, the bundled bin/ folder, PATH, then common locations such as /opt/homebrew/bin

System Requirements

Item Requirement
OS Windows 10 or later; macOS 12 or later
Architecture Windows x86_64; macOS Intel and Apple silicon
Runtime Full builds bundle ffmpeg; lite builds need ffmpeg and ffprobe installed
Disk The single-file build unpacks its bundled ffmpeg on first launch, so leave cache space

Notes

  • Lite builds warn about a missing ffmpeg: that is expected, and the path is set under functional settings
  • The single-file build starts slowly: it unpacks the bundled ffmpeg each launch, then reuses the cache
  • PGS subtitles do not fit MP4: graphics subtitles grey out in MP4 and MOV, and the UI suggests a container change
  • Cover art only affects MP4 thumbnails: MKV stores it as an attachment, and MOV or WebM do not support it
  • covr writing never re-encodes: cover art is a container metadata edit, so the source must demux cleanly

Release history

Sort