An offline, privacy-first batch file converter. Drop in video, audio, images, documents, comics, subtitles, spreadsheets, archives, or structured data and convert between 120+ formats - no files leave your machine.
CUC.mp4
One codebase, one repository, two native builds: a Windows .exe and a Linux
binary. Everything below assumes you're starting from a fresh clone:
git clone https://github.com/Sin213/cove-universal-converter.git
cd cove-universal-converter
This release focuses on breadth: many more input and output formats across every engine, plus a couple of small conversion-quality controls.
- Video containers -
.mxf,.rm,.swf,.vob,.asf,.ogv,.m2ts,.mts,.f4vnow read and write like the existing containers..y4mand.ivfare new write-only targets for tools that expect raw YUV4MPEG2 or IVF/VP9 elementary streams. - Audio formats -
.ac3,.mp2,.spx,.caf,.au,.wv,.voc,.w64,.mka,.m4b,.oga,.aif,.tta,.amr, and.webajoin the existing audio targets. - Image formats -
.jpe,.jfif,.avif,.jp2/.j2k/.jpx,.tga,.pcx,.ppm/.pgm/.pbm,.dds, and.icnsare now supported inputs and outputs. - Documents - many more Pandoc-backed input formats (
.rst,.org,.textile,.typst,.ipynb,.fb2,.opml,.muse,.man,.native,.mediawiki,.wiki,.dokuwiki,.jira,.docbook) and output formats (.adoc,.tei,.icml,.pptx). - Comics - CBZ/CBT to PDF, ZIP, or TAR. New Comic Book Archive support: extracts page images and rebuilds them as a PDF, or repacks the archive into a different container.
- Subtitles - ASS, SSA, LRC, SBV. Join SRT and VTT with full pairwise conversion between all six formats. Converting ASS/SSA to SRT shows a tooltip warning that styling, karaoke, and positioning are dropped.
- Spreadsheets - TSV. Round-trips with CSV and XLSX alongside the existing CSV/XLSX pair.
- Archives - tar.bz2, tbz2, tar.xz, txz. Join ZIP, TAR, and TGZ with bzip2 and xz compressed tarballs, including their short aliases.
- Structured data - NDJSON, JSONL, plist. Join JSON and YAML for line-delimited JSON and Apple property list interchange.
- Video codec choice. MP4/MKV output can now target H.264 or AV1.
- M4A audio codec choice. M4A output can now target AAC or ALAC.
Routing, hardening, and correctness fixes shipped alongside this format
expansion are listed in .github/RELEASE_NOTES_v2.4.0.md.
The UI has been rebuilt around the Cove design language shared with the rest of the Cove app suite:
- Frameless window with custom title bar — Cove icon, centered title with a
monospace
v2.0.0chip, and min/max/close controls (no traffic lights). Drag the bar to move, double-click to maximize, grab any edge to resize. - Teal accent on a dark navy surface, Geist / Geist Mono fonts when available (with system fallbacks).
- Redesigned drop zone — dashed border that lights up teal on hover/drag, gradient art tile, and a corner info button that pulls up the full format-support list.
- Format-tinted file badges in the queue: video = blue, audio = pink, images = teal, documents = green — so a glance tells you what kind of file each row is.
- Animated progress bars and status chips — Ready / Queued / Processing / Done / Failed states each have their own color and tint.
- Restyled Quality dialog — segmented controls for video preset and audio bitrate, sliders for image quality and max concurrency, advanced row for fine-grained CRF / WebP tuning.
- Toast notifications for "Added N files", "Quality settings saved", "All N conversions complete", etc.
- PDF → DOCX / ODT / RTF / EPUB is now supported. The PDF text is extracted
with
pypdf, then piped through pandoc to the target document/ebook format. Output is text-only (the original PDF formatting is dropped — that always loses fidelity), but you can edit the result in Word, LibreOffice, or any RTF/EPUB-aware reader. - PDF → MD / HTML / TXT (already worked, retained).
- The PDF target dropdown in the queue now lists
.docx, .odt, .rtf, .epub, .md, .html, .txt— pick whichever document tooling you want to land in. - Subtitles — SRT ↔ VTT. Pure-stdlib worker that handles the timestamp
punctuation difference (
,vs.), strips/synthesises cue indices, and drops VTT-onlyNOTE/STYLE/REGIONblocks on the way to SRT. - Spreadsheets — CSV ↔ XLSX. Backed by
openpyxl; round-trips plain tabular data faithfully (formulae and formatting are dropped on purpose, the goal is interchange not workbook cloning). - Archives — ZIP ↔ TAR ↔ TGZ. Stdlib
zipfile+tarfile; extracts to a temp dir then repacks. Usesfilter='data'on extract (Python 3.12+) to block path traversal / symlink escapes. - Data interchange — JSON ↔ YAML.
yaml.safe_load/safe_dumponly, so untrusted YAML can't construct arbitrary Python objects.
Each new format type has its own UI badge color (lavender for subtitles, mint for spreadsheets, gold for archives, indigo for data) so the queue still tells you what kind of file each row is at a glance.
- HiDPI-aware icons. The Cove title-bar icon and every inline-SVG button
icon are now rendered at
size × devicePixelRatioand tagged with the rightsetDevicePixelRatio, so they stay crisp on 1.25× / 1.5× / 2× displays instead of being bilinearly blurred. - Visible icon tints. Inline SVGs that used
stroke="currentColor"were silently rasterizing to near-black on the dark surface (Qt'sQSvgRendererfalls back to black forcurrentColoroutside a CSS-painted document). Every icon now substitutes an explicit tint at rasterization time, so the title-bar min/max/close, the drop-zone info button, and the empty-state file icon are clearly visible. - SVG pixmap cache. Inline SVGs are rasterized once per
(svg, size, color)combo and reused — opening a file dialog or quality dialog no longer re-renders the same chrome icons. - Stylesheet repolish guard. Progress ticks (~5×/sec per active row) and status updates only re-polish the Qt stylesheet when the chip/bar state actually changes, instead of on every value update.
- Resize cursor no longer sticks. With a translucent frameless window the
main window's
mouseMoveEventonly fires over the 6 px margin, so leaving that margin into a child widget never reset the cursor. The chrome widget now has an event filter that clears the cursor onEnter, and the move handler usesunsetCursor()so children's own cursors take over again. - "Open file" + "Show output folder" buttons. When a batch finishes with
at least one successful conversion, two ghost buttons appear in the action
row: "Open file" launches the most recent converted file in your default
app, "Show output folder" opens the destination directory in your system
file manager. Both go through
QDesktopServices.openUrlso they work on Linux, Windows, and macOS. - Per-row right-click menu. Right-clicking a Done row offers "Open file" and "Show in folder" actions for that specific file — useful when a batch produced several outputs and you want to open one that isn't the most recent. The existing "Remove" item still works for any selection.
- Toast no longer overlaps the action row. Pinned to the top-center of the window (just below the title bar) so it doesn't hide the new button.
- Toast lifecycle fix. The fade-out animation finished signal is wired once at construction time instead of reconnecting every show, eliminating the slow per-toast handler accumulation.
- Centralized theme. A single
cove_converter/ui/theme.pyowns the palette and global stylesheet, applied once to theQApplication— replaces the per- widget QSS strings each Qt widget used to carry.
Cloudconvert supports ~200 formats across 24 categories backed by a fleet of cloud workers (LibreOffice headless, ImageMagick, Calibre, FFmpeg, pandoc, ghostscript, plus their own engines). Cove already covers the FFmpeg + Pillow
- pandoc + xhtml2pdf intersection of that — a meaningful slice of what most people actually convert (A/V, common images, common docs, ebooks). Categories that still aren't supported and would each need their own engine:
- Spreadsheets: xlsx ↔ csv ↔ ods (would add
openpyxl/ pandas). - Presentations: pptx ↔ pdf ↔ odp (LibreOffice headless is the realistic path).
- Archives: zip / tar / 7z (pure-Python
zipfile,tarfile,py7zr). - Vector: svg ↔ png/pdf (
cairosvgorsvglib). - CAD / fonts / 3D / etc.: each of these is its own world.
If any of those categories is interesting to you, file a request and I'll add
it the same way the existing engines are wired — one module under
cove_converter/engines/, one entry per format in routing.py.
| Category | Supported extensions |
|---|---|
| Video | mp4, mkv, webm, mov, avi, mxf, rm, swf, vob, asf, ogv, m2ts, mts, f4v (read/write); y4m, ivf (write-only); flv, wmv, m4v, mpg, mpeg, 3gp, ts, dv, gif (read-only) |
| Audio | mp3, wav, flac, ogg, m4a, aac, opus, ac3, mp2, spx, caf, au, wv, voc, w64, mka, m4b, oga, aif, tta, amr, weba; wma, aiff (read-only) |
| Images | png, jpg, jpeg, jpe, jfif, webp, bmp, tiff, tif, ico, heic, heif, avif, jp2, j2k, jpx, tga, pcx, ppm, pgm, pbm, dds, icns |
| Documents | pdf, docx, odt, rtf, epub, md, html, htm, txt, tex, adoc, tei, icml, pptx, rst, org, textile, typst, ipynb, fb2, opml, muse, man, native, mediawiki, wiki, dokuwiki, jira, docbook |
| Comics | cbz, cbt (to pdf, zip, or tar) |
| Subtitles | srt, vtt, ass, ssa, lrc, sbv |
| Spreadsheets | csv, tsv, xlsx |
| Archives | zip, tar, tgz, tar.gz, tar.bz2, tbz2, tar.xz, txz |
| Data | json, yaml, yml, ndjson, jsonl, plist |
PDF works in both directions: any of the document formats above can be rendered into a PDF, and a PDF can be exported back out to docx, odt, rtf, epub, md, html, txt, or cbz. PDF -> doc-family conversions extract the text via pypdf and pipe it through pandoc, so the original visual layout is dropped in favor of clean editable structure.
Features:
- Drag-and-drop, click-to-browse, or drop a whole folder (recurses automatically).
- Per-file target dropdown, or use the "Save to" field to batch-write to one folder.
- Near-lossless quality by default (CRF 17, preset slow, 320 kbps audio, 95% JPEG/WebP). An opt-in "Customize quality settings" checkbox exposes sliders if you'd rather trade quality for smaller files.
- Video codec choice for MP4/MKV output (H.264 or AV1) and M4A audio codec choice (AAC or ALAC), independent of the quality-customize toggle.
- Hardware video encoding: a "Video encoder" choice (Automatic / CPU / NVIDIA NVENC / AMD AMF) offloads H.264 conversions to a supported GPU for a large speed-up. Unavailable vendors are greyed out and unsupported outputs (VP9, etc.) always stay on CPU; a forced-but-missing GPU falls back to CPU without failing the job.
- A warning tooltip on the target dropdown when converting ASS/SSA subtitles to SRT, since styling, karaoke, and positioning don't survive the format change.
- Real-time progress bars parsed from FFmpeg's output.
- Overwrite confirmation with optional auto-rename to
file (1).ext,file (2).ext, ... - Right-click a row (or press Delete) to remove it from the queue.
You need Python 3.11 or newer. On Arch:
sudo pacman -S python ffmpeg pandocSet up a virtual environment and install the Python dependencies:
python -m venv .venv
.venv/bin/pip install -r requirements.txtLaunch the app:
./run.sh
# or, equivalently:
.venv/bin/python -m cove_converterAlways launch through the venv interpreter (./run.sh enforces this).
Running plain python -m cove_converter against your system Python will
silently skip optional deps like xhtml2pdf and produce confusing
mid-conversion failures (e.g. TXT → PDF appearing to fail at 60%).
FFmpeg and Pandoc are resolved from your system PATH when the app isn't
running as a packaged build.
You need Python 3.11+ from python.org. During installation, tick "Add Python to PATH".
Install FFmpeg and Pandoc:
- FFmpeg: download a release from gyan.dev,
unzip it, and add the
bin\folder to yourPATH, or dropffmpeg.exeintobin\win\inside this repo. - Pandoc: grab the installer from pandoc.org
and run it — the installer adds it to
PATHautomatically.
Then in PowerShell from the repo root:
py -m venv .venv
.venv\Scripts\pip install -r requirements.txt
.venv\Scripts\python -m cove_converterPyInstaller can't cross-compile, so Linux artifacts have to be built on Linux
and Windows artifacts on Windows. Each platform has its own build script that
downloads hash-verified ffmpeg / pandoc archives and produces the final files.
Both scripts install the hash-locked runtime set from
requirements-runtime.lock and exact tools from requirements-build.txt.
After an intentional dependency update, regenerate the runtime export with
uv export --frozen --no-emit-project --no-dev --format requirements-txt --output-file requirements-runtime.lock.
bash scripts/build-release.sh
# Output in release/:
# Cove-Universal-Converter-2.0.0-x86_64.AppImage
# cove-universal-converter_2.0.0_amd64.debOverride the version with VERSION=2.4.1 bash scripts/build-release.sh. The
build rejects unsafe versions and tag mismatches, then runs real packaged
conversions before writing checksums.
Requires Inno Setup 6 to be installed
(bundled on GitHub Actions' windows-latest).
.\build.ps1 -Version 2.0.0
# Output in release\:
# cove-universal-converter-2.0.0-Setup.exe
# cove-universal-converter-2.0.0-Portable.exe"Could not find ffmpeg" on launch
System has neither a PATH install nor a bundled binary. Install ffmpeg via
your package manager, or drop the binary into bin/linux/ or bin\win\.
HEIC files won't open
Make sure pillow-heif was installed (pip install -r requirements.txt).
Some ancient HEIC files from older iPhones use HEVC Range Extensions and
still fail — convert them with another tool first.
PDF output looks plain We render PDFs via xhtml2pdf (pure Python, no LaTeX dependency). That trades some typographical polish for a zero-friction cross-platform install. If you want LaTeX-quality PDFs, install a TeX distribution and switch the PDF engine.
Windows console window flashes during conversion
Shouldn't happen — we pass CREATE_NO_WINDOW to every subprocess. If you see
one, please open an issue with your Python and PySide6 versions.