Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Merge feat/media-ffmpeg
KnifeLemon2ad79d28fe77
diff --cc THIRD-PARTY-NOTICES.mdindex 31814bc1,d35dbe13..6792aa8e--- a/THIRD-PARTY-NOTICES.md+++ b/THIRD-PARTY-NOTICES.md@@@ -55,8 -40,7 +55,9 @@@ Downloaded from their official release| H2Orestart (HWP/HWPX import for LibreOffice) | GPL-3.0 | https://github.com/ebandal/H2Orestart || Eclipse Temurin JRE (for H2Orestart) | GPL-2.0 with Classpath Exception | https://adoptium.net || Pandoc | GPL-2.0-or-later | https://github.com/jgm/pandoc |+| Ghostscript (conda-forge build) | AGPL-3.0 | https://www.ghostscript.com, https://github.com/conda-forge/ghostscript-feedstock |+| Microsoft Visual C++ Redistributable (for Ghostscript, conda-forge `vc14_runtime`) | Microsoft Visual C++ Redistributable license | https://github.com/conda-forge/vc-feedstock |+ | FFmpeg 9.0.2 (gyan.dev "full_build-shared" Windows build; ffmpeg.exe, ffprobe.exe and their libraries, incl. x264, x265, libvpx, LAME, Opus, Vorbis, Theora, OpenCORE AMR) | GPL-3.0-or-later (the build is configured with `--enable-gpl --enable-version3`); FFmpeg itself LGPL-2.1-or-later | https://ffmpeg.org, build: https://www.gyan.dev/ffmpeg/builds/ (source: https://github.com/GyanD/codexffmpeg) |These programs run as separate processes. Their source code is available from the linked projects.diff --cc build/fetch-engines.ps1index 0e2d3cfa,408a21a9..387646f6--- a/build/fetch-engines.ps1+++ b/build/fetch-engines.ps1@@@ -12,9 -12,7 +12,10 @@@jre/ Eclipse Temurin JRE 21 (GPLv2 + Classpath Exception), used by H2Orestartrhwp/ rhwp command line (MIT), HWP/HWPX -> PDFpandoc/ Pandoc (GPL-2.0-or-later, separate program), Markdown/HTML and MD/HTML/ODT/RTF -> HWPX+ 7zip/ 7-Zip console (7z.exe + 7z.dll, LGPL-2.1 + unRAR restriction, separate program), archives+ ghostscript/ Ghostscript (AGPL-3.0, separate program) from conda-forge, EPS/PS <-> PDF, with the Microsoft+ C++ runtime DLLs (vcruntime/) copied next to gswin64c.exe+ ffmpeg/ FFmpeg (GPL-3.0 build, separate program), video and audio; bin/ffmpeg.exe + bin/ffprobe.exeEvery download is pinned to a version and verified with SHA-256 (src/Filee.Engines/Infrastructure/engines.json,shared with the app). Downloads are cached in build/.cache.@@@ -134,25 -115,15 +135,34 @@@ if ('pandoc' -in $selected)if (-not (Test-Path (Join-Path $Destination 'pandoc\pandoc.exe'))) { throw 'pandoc.exe not found in the archive.' }}+if ('7zip' -in $selected) {+ # The official MSI unpacked with an administrative install (files only, no system changes). Only the console+ # program is kept: 7z.exe + 7z.dll (all formats, incl. RAR), the license and the readme; not the GUI or help.+ $msi = Get-Engine '7zip'+ $tmp = Join-Path $cache '7z-admin'+ Reset-Folder $tmp+ $proc = Start-Process msiexec.exe -ArgumentList @('/a', "`"$msi`"", '/qn', "TARGETDIR=`"$tmp`"") -Wait -PassThru+ if ($proc.ExitCode -ne 0) { throw "msiexec /a failed for 7-Zip with exit code $($proc.ExitCode)." }++ $exe = Get-ChildItem $tmp -Recurse -Filter '7z.exe' | Select-Object -First 1+ if (-not $exe) { throw '7z.exe not found after extracting the 7-Zip MSI.' }+ $target = Join-Path $Destination '7zip'+ Reset-Folder $target+ foreach ($name in @('7z.exe', '7z.dll', 'License.txt', 'readme.txt')) {+ Copy-Item (Join-Path $exe.DirectoryName $name) $target+ }+ Remove-Item $tmp -Recurse -Force+}++ if ('ffmpeg' -in $selected) {+ # Same layout as the app's installer: the archive's single top folder is dropped, the programs stay in bin/.+ $zip = Get-Engine 'ffmpeg'+ Expand-Flat $zip (Join-Path $Destination 'ffmpeg')+ foreach ($exe in 'ffmpeg.exe', 'ffprobe.exe') {+ if (-not (Test-Path (Join-Path $Destination "ffmpeg\bin\$exe"))) { throw "$exe not found in the archive." }+ }+ }+if ('jre' -in $selected) {$zip = Get-Engine 'jre'Expand-Flat $zip (Join-Path $Destination 'jre')diff --cc docs/ENGINES.mdindex 053c9e12,47cb9f63..85b64459--- a/docs/ENGINES.md+++ b/docs/ENGINES.md@@@ -12,26 -10,15 +12,27 @@@ Filee chooses engines automatically. Se| PDFium | built in (library) | PDF → images (multi-page TIFF/GIF supported) || Unhwp | built in (library) | HWP/HWPX → TXT, Markdown, HTML || Markdown (Markdig) | built in (library) | **Markdown → HTML, TXT** (and → PDF / DOCX through the HWPX writer, rhwp or LibreOffice) |-| Spreadsheets | built in | **XLSX ↔ CSV** (one CSV per sheet) |-| **HWPX writer** | built in | **DOCX, XLSX, CSV, PPTX, TXT, Markdown → HWPX** (and with rhwp → PDF and images); HTML, ODT, RTF → HWPX with Pandoc |+| Spreadsheets (ExcelDataReader for XLS) | built in (library) | **XLSX, XLS, ODS, CSV, TSV → XLSX, ODS, CSV, TSV** (one CSV / TSV per sheet) |+| Office Open XML | built in | **DOCM / DOTX / DOTM ↔ DOCX, XLSM / XLTX ↔ XLSX, PPTM / POTX / PPSX ↔ PPTX** (macros removed for macro-free types) |+| Fonts | built in | **TTF, OTF, WOFF, WOFF2, EOT ↔ each other**; CFF (PostScript) outlines become TrueType for TTF and EOT |+| **HWPX writer** | built in | **DOCX (+ DOCM/DOTX/DOTM), XLSX (+ XLSM/XLTX), XLS, ODS, CSV, TSV, PPTX (+ PPTM/POTX/PPSX), PDF, TXT, Markdown → HWPX** (and with rhwp → PDF and images); HTML, ODT, RTF, reStructuredText, LaTeX → HWPX with Pandoc |+| **DOCX writer** | built in | **Markdown, TXT, XLSX, CSV, PPTX (+ variants), PDF → DOCX** |+| PDF text | built in (PdfPig) | **PDF → TXT** (reading order, also two columns; no OCR) |+| E-mail | built in (MimeKit) | **EML → HTML** (headers + body, inline pictures), **TXT**, **ZIP** (the attachments) || rhwp | bundled with the installer (`engines/rhwp`) | HWP/HWPX → PDF, **HWP → HWPX, HWPX → HWP** |-| LibreOffice + H2Orestart + Java | **optional download** (~420 MB, 1.3 GB on disk) | older and rare formats only: DOC, XLS, PPT, RTF and OpenDocument → PDF and to each other, output as DOCX/ODT/ODS; HWP/HWPX → DOCX/ODT |-| Pandoc | **optional download** (~42 MB, 240 MB on disk) | Markdown ↔ DOCX/ODT/RTF, DOCX/ODT/HTML/RTF → Markdown, HTML ↔ DOCX/ODT |+| Archives (7-Zip) | bundled with the installer (`engines/7zip`, ~2.5 MB) + built-in readers | ZIP, 7Z, RAR, TAR (+ GZ/BZ2/XZ/Z/7Z/LZ), CAB, ISO, DMG, … **→ folder, ZIP, 7Z, TAR, TAR.GZ/BZ2/XZ**; ALZ, EGG, lzip read in-process; "Compress into one archive" for any files |+| LibreOffice + H2Orestart + Java | **optional download** (~420 MB, 1.3 GB on disk) | older and rare formats only: DOC, XLS, PPT, RTF and OpenDocument → PDF and to each other, output as DOCX/ODT/ODS/ODP; HWP/HWPX → DOCX/ODT; read-only formats (see below) → PDF and their kind's editable formats |+| Pandoc | **optional download** (~42 MB, 240 MB on disk) | Markdown ↔ DOCX/ODT/RTF, DOCX/ODT/HTML/RTF → Markdown, HTML ↔ DOCX/ODT, reStructuredText and LaTeX ↔ Markdown/HTML/DOCX/ODT (and → RTF, EPUB, TXT) |+| Ghostscript | **optional download** (~20 MB, 31 MB on disk) | EPS/PS → PDF, PDF → EPS/PS, PostScript-based AI → PDF (images through PDF and PDFium) |+ | FFmpeg | **optional download** (~100 MB, 272 MB on disk) | **all video and audio**: video ↔ video, video → animated GIF or a still frame, audio extraction, audio ↔ audio, GIF → MP4/WEBM/MOV |-DOCX, XLSX and PPTX → PDF need neither Microsoft Office nor LibreOffice: they are read in-process, written as HWPX-and rendered by rhwp. LibreOffice's cost is set so the built-in route always wins where one exists.+DOCX, XLSX, XLS, ODS and PPTX → PDF need neither Microsoft Office nor LibreOffice: they are read in-process, written as HWPX+and rendered by rhwp. Anything the built-in readers understand (including PDF) is written as DOCX by the DOCX writer.+LibreOffice's and Pandoc's costs are set so the built-in route always wins where one exists.++All built-in document readers are registered in one place, `Hwp/Hwpx/DocumentReaders.cs` (format id → reader, and+which formats need Pandoc). The HWPX writer and the DOCX writer take their input formats from it: adding a reader+there is one line and makes both writers (and every route through them) accept the format.Filee never uses software installed on the system (Microsoft Office, an installed LibreOffice, programs on `PATH`):every engine is built in, bundled or downloaded into Filee's own folder, so a conversion behaves the same on every@@@ -315,18 -104,47 +316,62 @@@ bundled with the installer), never a 7-fails when two conversions share a profile).- HWP/HWPX import comes from the H2Orestart extension, which is written in Java; Filee points LibreOffice at thedownloaded JRE (`-env:UNO_JAVA_JFW_JREHOME`).+- It is the only reader of rarer formats, converted to PDF and to the editable formats of their kind: DOT, Works /+ WPS Writer, WordPerfect, Lotus Word Pro, AbiWord, Apple Pages and StarWriter (→ DOCX, ODT, DOC, RTF, TXT, HTML);+ WPS Spreadsheets (ET), Apple Numbers and StarCalc (→ XLSX, ODS, XLS, CSV, HTML); Apple Keynote, WPS+ Presentation (DPS) and StarImpress / StarDraw (→ PPTX, ODP, PPT); Publisher, CorelDRAW, Visio, CGM and ODG+ (→ ODG, SVG, PNG). The `--convert-to` filter follows the application that opens the file (checked against+ LibreOffice's filter registry): Publisher, CorelDRAW and Visio open in Draw, CGM in Impress, and "SDA" files+ in Draw (.sda) or Impress (.sdd). SVG and PNG export the first page.++## DjVu++Not supported: DjVuLibre (GPL) has no pinned, redistributable Windows build in an archive the installer can unpack.+The official Windows release is an NSIS installer (`DjVuLibre-3.5.29_DjView-4.12_Setup.exe` on SourceForge), which+would have to be run (a system install) or unpacked with 7-Zip; MSYS2's packages are `.pkg.tar.zst` archives with+five dependency packages. A DjVu engine needs a zip of `ddjvu.exe` / `djvutxt.exe` and their DLLs published for+Filee (with the GPL source offer), then an `engines.json` component and an optional package.++ ## FFmpeg++ `Media/FfmpegConverter.cs` converts every video format to every video format, to animated GIF, to a still PNG frame+ and to every audio format (the sound track); every audio format to every audio format; and GIF to MP4, WEBM and MOV.+ Same-format edges exist too, so "MP4 720p" works on MP4 files and "MP3 128k" on MP3 files.++ - The download is the gyan.dev **9.0.2 "full_build-shared"** Windows build (GPL-3.0, run as a separate program).+ It is smaller than the "essentials" build (100 vs 115 MB download, 272 vs 329 MB on disk, because ffmpeg.exe and+ ffprobe.exe share their libraries) and has a superset of its encoders. It links only Windows system DLLs; GPU+ and Vulkan libraries are loaded only if present. Being over 60 MB, it is offered but not ticked on first run.+ - Container and codecs per target (`Media/MediaEncoding.cs`, every encoder checked with `ffmpeg -encoders`):++ | Target | Written as |+ |---|---|+ | MP4, M4V, MOV, MKV, FLV, TS, M2TS, 3GP, 3G2 | H.264 (x264, preset medium, yuv420p) + AAC; MP4/M4V/MOV/3GP/3G2 with the index at the front (`+faststart`) |+ | WEBM | VP9 (constant quality, speed 4, row multithreading) + Opus |+ | AVI | MPEG-4 part 2 tagged XVID + CBR MP3 |+ | WMV | WMV 8 (wmv2) + WMA 2 |+ | MPG | MPEG-2 program stream: MPEG-2 video + MP2 |+ | VOB | DVD-Video: 720×480 at 29.97 fps (NTSC) or 720×576 at 25 fps (PAL, for 25/50 fps sources), letterboxed into 4:3 or 16:9, AC-3 at 48 kHz, DVD mux rate |+ | OGV | Theora + Vorbis |+ | DV | DV25 with the same NTSC/PAL frames as VOB, 48 kHz stereo PCM |+ | MXF | OP1a with long-GOP MPEG-2 + 48 kHz PCM |+ | GIF | two passes: palettegen over the whole clip, then paletteuse; 15/12/10 fps and at most 640/480/320 px wide (High/Balanced/Small) |+ | MP3 · M4A/M4B · AAC · OGG · OPUS · WEBA · MKA · WMA · MP2 · AC3 · AMR | LAME VBR (V0/V2/V5) or CBR · AAC · AAC (ADTS) · Vorbis · Opus · Opus · Opus · WMA 2 · MP2 · AC-3 · AMR-NB 12.2k (8 kHz mono) |+ | WAV · AIFF · AU · CAF · VOC · FLAC | 16-bit PCM (RF64 for WAV over 4 GB) · FLAC |++ - Preset options (`MediaOptions`): *Quality* picks CRF 18/23/28 (x264), 24/32/38 (VP9), quantizer 2/4/7 (MPEG-4,+ WMV, MPEG-2), Theora 8/6/4 and the audio bitrates (e.g. AAC 256/192/128 kbit/s per stereo pair); *MaxHeight*+ scales down only, keeps the aspect ratio and even sizes; *AudioBitrateKbps* overrides the audio bitrate (snapped to+ the MP3/MP2/AC-3 bitrate tables); *RemoveAudio* drops the sound.+ - The first video stream (cover pictures excluded) and the first audio stream are converted; files without sound+ still convert to video. Title, artist and other tags and chapters are kept, album art too for MP3, M4A, M4B and+ FLAC. Portrait phone videos are turned upright. Odd sizes are evened out, frame rates that MPEG-2/MXF/MPEG-4 part 2+ cannot store are converted, and channels WMA or AMR cannot hold are mixed down.+ - Progress comes from `-progress` (position ÷ duration from ffprobe); the GIF palette pass reports per-frame stats of+ a discarded copy of its frames. Cancelling kills the process tree and deletes the partial output. There is no+ time limit, but FFmpeg is stopped when it reports nothing for 10 minutes. At most two conversions run at a time+ (FFmpeg's encoders use every core themselves).+ - Video → PNG writes one still frame (a tenth into the video, where the picture has usually faded in); the image+ engines turn it into JPG, WEBP, PDF, …. The GIF edge costs more, so these routes never go through an animated GIF+ of the whole video. Images and PDFs → MP4/WEBM/MOV are possible through GIF (a slideshow of the PDF's pages, a+ single frame for a photo).diff --cc src/Filee.App/Assets/i18n/en.jsonindex fe25f9f8,75df9fb9..1bbbc447--- a/src/Filee.App/Assets/i18n/en.json+++ b/src/Filee.App/Assets/i18n/en.json@@@ -315,16 -237,12 +315,18 @@@"engines.optional_description": "Large engines are only downloaded when you want them. They are kept when Filee updates and removed when you uninstall it.","engines.all_title": "All engines","engines.package.libreoffice.name": "LibreOffice (older and rare formats)",- "engines.package.libreoffice.description": "Only needed for older and less common formats: DOC, XLS, PPT and OpenDocument files, conversions to DOCX, ODT and ODS, and HWP → DOCX (includes the H2Orestart filter and Java). DOCX, XLSX, PPTX and CSV convert without it.",- "engines.package.pandoc.name": "Pandoc (HTML and Markdown ↔ Word)",- "engines.package.pandoc.description": "Markdown ↔ DOCX, ODT and RTF, and HTML, ODT and RTF → HWPX. Markdown → PDF, HWPX, HTML and TXT, and DOCX → HWPX work without it.",+ "engines.package.libreoffice.description": "Only needed for older and less common formats: DOC, XLS, PPT and OpenDocument files, WordPerfect, Works, Apple Pages, Numbers and Keynote, Publisher, CorelDRAW and Visio, conversions to ODT, ODS and ODP, and HWP → DOCX (includes the H2Orestart filter and Java). DOCX, XLSX, PPTX, CSV and PDF convert without it.",+ "engines.package.pandoc.name": "Pandoc (Markdown, HTML, LaTeX ↔ Word)",+ "engines.package.pandoc.description": "DOCX, ODT and RTF → Markdown, reStructuredText and LaTeX ↔ Markdown, HTML and DOCX, and HTML, ODT, RTF, reStructuredText and LaTeX → HWPX. Markdown → PDF, DOCX, HWPX, HTML and TXT work without it.",+ "engines.package.ghostscript.name": "Ghostscript (EPS and PostScript)",+ "engines.package.ghostscript.description": "EPS, PS and older Illustrator files → PDF, PNG and other images, and PDF or SVG → EPS/PS. SVG and AI files saved with PDF compatibility convert without it.",+ "engines.package.ffmpeg.name": "FFmpeg (video and audio)",+ "engines.package.ffmpeg.description": "Video ↔ video (MP4, MOV, MKV, WEBM, AVI, WMV and more), video → animated GIF or a still image, sound from videos (→ MP3, M4A, WAV …), audio ↔ audio (MP3, M4A, FLAC, WAV, OGG, OPUS and more) and GIF → MP4, WEBM, MOV. Only needed for video and audio.","engines.package.size": "Download {0} · {1} on disk",+ "engines.progress_detail": "{0} of {1} · {2}/s · {3}",+ "engines.eta.estimating": "estimating time left…",+ "engines.eta.seconds": "{0} s left",+ "engines.eta.minutes": "{0} min left","engines.install": "Install","engines.cancel": "Cancel","engines.remove": "Remove",diff --cc src/Filee.App/Assets/i18n/ko.jsonindex 62a424ee,d05c6559..efff3262--- a/src/Filee.App/Assets/i18n/ko.json+++ b/src/Filee.App/Assets/i18n/ko.json@@@ -315,16 -237,12 +315,18 @@@"engines.optional_description": "용량이 큰 엔진은 원할 때만 내려받습니다. Filee를 업데이트해도 유지되고, 제거하면 함께 지워집니다.","engines.all_title": "전체 엔진","engines.package.libreoffice.name": "LibreOffice (오래되었거나 드문 형식)",- "engines.package.libreoffice.description": "오래되었거나 흔하지 않은 형식에만 필요해요: DOC·XLS·PPT·OpenDocument 파일, DOCX·ODT·ODS로 변환, HWP → DOCX (H2Orestart 필터와 Java 포함). DOCX·XLSX·PPTX·CSV는 없어도 변환돼요.",- "engines.package.pandoc.name": "Pandoc (HTML·마크다운 ↔ 워드)",- "engines.package.pandoc.description": "마크다운 ↔ DOCX·ODT·RTF 변환과 HTML·ODT·RTF → HWPX 변환을 추가합니다. 마크다운 → PDF·HWPX·HTML·TXT와 DOCX → HWPX는 없어도 됩니다.",+ "engines.package.libreoffice.description": "오래되었거나 흔하지 않은 형식에만 필요해요: DOC·XLS·PPT·OpenDocument 파일, 워드퍼펙트·Works, Apple Pages·Numbers·Keynote, Publisher·CorelDRAW·Visio, ODT·ODS·ODP로 변환, HWP → DOCX (H2Orestart 필터와 Java 포함). DOCX·XLSX·PPTX·CSV·PDF는 없어도 변환돼요.",+ "engines.package.pandoc.name": "Pandoc (마크다운·HTML·LaTeX ↔ 워드)",+ "engines.package.pandoc.description": "DOCX·ODT·RTF → 마크다운, reStructuredText·LaTeX ↔ 마크다운·HTML·DOCX, HTML·ODT·RTF·reStructuredText·LaTeX → HWPX 변환을 추가해요. 마크다운 → PDF·DOCX·HWPX·HTML·TXT는 없어도 돼요.",+ "engines.package.ghostscript.name": "Ghostscript (EPS·PostScript)",+ "engines.package.ghostscript.description": "EPS·PS 파일과 예전 일러스트레이터 파일을 PDF·PNG 등 이미지로, PDF·SVG를 EPS·PS로 변환해요. SVG와 PDF 호환으로 저장한 AI 파일은 없어도 변환돼요.",+ "engines.package.ffmpeg.name": "FFmpeg (동영상·오디오)",+ "engines.package.ffmpeg.description": "동영상 ↔ 동영상(MP4·MOV·MKV·WEBM·AVI·WMV 등), 동영상 → 움직이는 GIF·정지 이미지, 동영상에서 소리 추출(→ MP3·M4A·WAV 등), 오디오 ↔ 오디오(MP3·M4A·FLAC·WAV·OGG·OPUS 등), GIF → MP4·WEBM·MOV 변환을 추가해요. 동영상과 오디오에만 필요해요.","engines.package.size": "다운로드 {0} · 설치 후 {1}",+ "engines.progress_detail": "{0} / {1} · {2}/s · {3}",+ "engines.eta.estimating": "남은 시간 계산 중…",+ "engines.eta.seconds": "{0}초 남음",+ "engines.eta.minutes": "{0}분 남음","engines.install": "설치","engines.cancel": "취소","engines.remove": "제거",diff --cc src/Filee.App/Assets/i18n/zh-CN.jsonindex 51395cd7,13eb21b7..19d91d11--- a/src/Filee.App/Assets/i18n/zh-CN.json+++ b/src/Filee.App/Assets/i18n/zh-CN.json@@@ -315,16 -237,12 +315,18 @@@"engines.optional_description": "体积较大的引擎仅在需要时下载。更新 Filee 时会保留,卸载时一并删除。","engines.all_title": "全部引擎","engines.package.libreoffice.name": "LibreOffice(旧版和少见格式)",- "engines.package.libreoffice.description": "仅用于较旧或不常见的格式:DOC、XLS、PPT 和 OpenDocument 文件,转换为 DOCX、ODT 和 ODS,以及 HWP → DOCX(含 H2Orestart 过滤器和 Java)。DOCX、XLSX、PPTX 和 CSV 无需它即可转换。",- "engines.package.pandoc.name": "Pandoc(HTML 与 Markdown ↔ Word)",- "engines.package.pandoc.description": "支持 Markdown ↔ DOCX、ODT、RTF,以及 HTML、ODT、RTF → HWPX。Markdown → PDF、HWPX、HTML、TXT 和 DOCX → HWPX 无需此引擎。",+ "engines.package.libreoffice.description": "仅用于较旧或不常见的格式:DOC、XLS、PPT 和 OpenDocument 文件,WordPerfect、Works,Apple Pages、Numbers 和 Keynote,Publisher、CorelDRAW 和 Visio,转换为 ODT、ODS 和 ODP,以及 HWP → DOCX(含 H2Orestart 过滤器和 Java)。DOCX、XLSX、PPTX、CSV 和 PDF 无需它即可转换。",+ "engines.package.pandoc.name": "Pandoc(Markdown、HTML、LaTeX ↔ Word)",+ "engines.package.pandoc.description": "支持 DOCX、ODT、RTF → Markdown,reStructuredText 和 LaTeX ↔ Markdown、HTML、DOCX,以及 HTML、ODT、RTF、reStructuredText、LaTeX → HWPX。Markdown → PDF、DOCX、HWPX、HTML 和 TXT 无需此引擎。",+ "engines.package.ghostscript.name": "Ghostscript(EPS 与 PostScript)",+ "engines.package.ghostscript.description": "EPS、PS 和旧版 Illustrator 文件 → PDF、PNG 等图片,以及 PDF 或 SVG → EPS/PS。SVG 和以 PDF 兼容方式保存的 AI 文件无需它即可转换。",+ "engines.package.ffmpeg.name": "FFmpeg(视频和音频)",+ "engines.package.ffmpeg.description": "支持视频 ↔ 视频(MP4、MOV、MKV、WEBM、AVI、WMV 等)、视频 → GIF 动图或静态图片、从视频提取声音(→ MP3、M4A、WAV 等)、音频 ↔ 音频(MP3、M4A、FLAC、WAV、OGG、OPUS 等)以及 GIF → MP4、WEBM、MOV。仅视频和音频转换需要它。","engines.package.size": "下载 {0} · 占用 {1}",+ "engines.progress_detail": "{0} / {1} · {2}/s · {3}",+ "engines.eta.estimating": "正在估算剩余时间…",+ "engines.eta.seconds": "剩余 {0} 秒",+ "engines.eta.minutes": "剩余 {0} 分钟","engines.install": "安装","engines.cancel": "取消","engines.remove": "删除",diff --cc src/Filee.App/ViewModels/EngineSetupViewModel.csindex ab48212a,f78dd4a1..b30d627a--- a/src/Filee.App/ViewModels/EngineSetupViewModel.cs+++ b/src/Filee.App/ViewModels/EngineSetupViewModel.cs@@@ -20,9 -20,9 +20,12 @@@ public sealed partial class EngineSetup_loc = loc;foreach (var package in Packages){- // LibreOffice is large and only needed for older formats (DOC, XLS, PPT, OpenDocument), Ghostscript only- // for EPS/PostScript: offered, not pre-selected.- package.Selected = !package.IsInstalled && package.Package.Id is not ("libreoffice" or "ghostscript");+ // Large downloads are offered, not pre-selected: LibreOffice is only needed for older formats (DOC, XLS,- // PPT, OpenDocument), FFmpeg (~100 MB) only for video and audio.- package.Selected = !package.IsInstalled && Filee.Engines.Infrastructure.EngineDownloads.DownloadSize(package.Package) < PreselectLimit;++ // PPT, OpenDocument), FFmpeg (~100 MB) only for video and audio. Ghostscript is small but only needed for++ // EPS / PostScript.++ package.Selected = !package.IsInstalled++ && Filee.Engines.Infrastructure.EngineDownloads.DownloadSize(package.Package) < PreselectLimit++ && package.Package.Id != "ghostscript";package.PropertyChanged += OnPackageChanged;}}diff --cc src/Filee.Engines/EngineRegistry.csindex 1a38b2c6,8ae5c311..37e8cb69--- a/src/Filee.Engines/EngineRegistry.cs+++ b/src/Filee.Engines/EngineRegistry.cs@@@ -1,14 -1,11 +1,15 @@@// THE place where conversion engines are registered. Adding an engine = one line in CreateAll.using Filee.Core.Conversion;+using Filee.Engines.Archives;+using Filee.Engines.Email;+using Filee.Engines.Fonts;using Filee.Engines.Hwp;using Filee.Engines.Hwp.Hwpx;+using Filee.Engines.Icns;using Filee.Engines.Infrastructure;using Filee.Engines.Magick;+ using Filee.Engines.Media;using Filee.Engines.Office;using Filee.Engines.Pdf;using Filee.Engines.Text;@@@ -33,17 -29,9 +34,18 @@@ public static class EngineRegistrnew UnhwpConverter(),new MarkdownConverter(),new SpreadsheetConverter(),+ new OoxmlConverter(),new HwpxConverter(),+ new ArchiveConverter(),+ new VectorConverter(),+ new IcnsConverter(),+ new FontConverter(),+ new DocxWriterConverter(),+ new PdfTextConverter(),+ new EmlConverter(),+ new FfmpegConverter(),new PandocConverter(),+ new GhostscriptConverter(),new LibreOfficeConverter(env),];diff --cc src/Filee.Engines/Infrastructure/EngineDownloads.csindex 5cf12a24,400a4c01..ab8d7d74--- a/src/Filee.Engines/Infrastructure/EngineDownloads.cs+++ b/src/Filee.Engines/Infrastructure/EngineDownloads.cs@@@ -31,8 -28,7 +31,9 @@@ public static class EngineDownload[new("libreoffice", ["libreoffice", "h2orestart", "jre"], 1_265_000_000, ["libreoffice"]),new("pandoc", ["pandoc"], 236_000_000, ["pandoc"]),+ // Ghostscript from conda-forge plus the Microsoft C++ runtime it was built against (copied next to it).+ new("ghostscript", ["ghostscript", "vcruntime"], 31_000_000, ["ghostscript"]),+ new("ffmpeg", ["ffmpeg"], 272_000_000, ["ffmpeg"]),];/// <summary>Total download size of a package in bytes.</summary>diff --cc src/Filee.Engines/Infrastructure/engines.jsonindex fa7bfcb5,750472a0..d7759e2f--- a/src/Filee.Engines/Infrastructure/engines.json+++ b/src/Filee.Engines/Infrastructure/engines.json@@@ -43,19 -36,12 +43,26 @@@"size": 606257,"kind": "oxt"},+ "ghostscript": {+ "version": "10.08.0",+ "url": "https://conda.anaconda.org/conda-forge/win-64/ghostscript-10.08.0-hac47afa_0.conda",+ "sha256": "512BE9413C58B0AD3A2CD95A63EAEA73CBE32D9A6B9170C848BF825694A4ADB0",+ "size": 19295904,+ "kind": "conda"+ },+ "vcruntime": {+ "version": "14.44.35208",+ "url": "https://conda.anaconda.org/conda-forge/win-64/vc14_runtime-14.44.35208-h818238b_41.conda",+ "sha256": "EC706FE9368B837FBD05AF4851F5EBEF12BEF8C471A273F4805F7AF788407317",+ "size": 682908,+ "kind": "conda"++ },+ "ffmpeg": {+ "version": "9.0.2",+ "url": "https://github.com/GyanD/codexffmpeg/releases/download/9.0.2/ffmpeg-9.0.2-full_build-shared.zip",+ "sha256": "8D31E162F1616E37AAB3FA2DB991B97E1B8DBEB1C8465FD81A81BE16FF91B328",+ "size": 99899672,+ "kind": "zip"}}}diff --cc tests/Filee.App.Tests/RenderTests.csindex 971c2a0b,1a8b72b3..f49db3e1--- a/tests/Filee.App.Tests/RenderTests.cs+++ b/tests/Filee.App.Tests/RenderTests.cs@@@ -103,8 -66,10 +103,12 @@@ public class RenderTestwindow.Show();Pump();- // Everything not installed is offered; all but the large LibreOffice and the EPS-only Ghostscript pre-selected.- Assert.All(vm.Packages.Where(p => !p.IsInstalled), p => Assert.Equal(p.Package.Id is not ("libreoffice" or "ghostscript"), p.Selected));- // Everything not installed is offered; small downloads are pre-selected, the large LibreOffice and FFmpeg not.++ // Everything not installed is offered; small downloads are pre-selected, the large LibreOffice and FFmpeg and the++ // EPS-only Ghostscript not.+ Assert.All(vm.Packages.Where(p => !p.IsInstalled), p => Assert.Equal(- Filee.Engines.Infrastructure.EngineDownloads.DownloadSize(p.Package) < EngineSetupViewModel.PreselectLimit, p.Selected));- Assert.DoesNotContain(vm.Packages, p => p.Package.Id is "libreoffice" or "ffmpeg" && p.Selected);++ Filee.Engines.Infrastructure.EngineDownloads.DownloadSize(p.Package) < EngineSetupViewModel.PreselectLimit++ && p.Package.Id != "ghostscript", p.Selected));++ Assert.DoesNotContain(vm.Packages, p => p.Package.Id is "libreoffice" or "ffmpeg" or "ghostscript" && p.Selected);Assert.Equal(vm.Packages.Any(p => p.Selected && p.CanInstall), vm.InstallCommand.CanExecute(null));Save(window, $"engine-setup-{language}.png");window.Close();