Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Downloaded from their official release pages when the user chooses to install th
| 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 and Upscayl, conda-forge `vc14_runtime` and `vcomp14`) | 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) |
| FFmpeg 9.1 (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) |
| calibre (ebook-convert) | GPL-3.0 | https://calibre-ebook.com |
| WeasyPrint 70.0 (Windows "onedir" build, `weasyprint-windows-onedir.zip`: `weasyprint.exe` with its `_internal` folder, built with PyInstaller on MSYS2 UCRT64; it embeds Python 3.14, Pango, HarfBuzz, FreeType, Fontconfig, FriBidi, GLib, libthai, Pillow, fontTools, Pyphen, pydyf, tinycss2, cssselect2, Brotli, Zopfli, OpenSSL, zlib, libpng, Expat and the MinGW runtime) | BSD-3-Clause (WeasyPrint); PSF-2.0 (Python); LGPL-2.1-or-later (Pango, GLib, FriBidi, libthai); MIT (HarfBuzz, Fontconfig, fontTools, Brotli, Expat); FreeType License; HPND (Pillow); GPL/LGPL/MPL tri-licence (Pyphen); BSD-3-Clause (pydyf, tinycss2, cssselect2); Apache-2.0 (Zopfli, OpenSSL); GCC Runtime Library Exception (MinGW runtime); zlib and libpng licences | https://github.com/Kozea/WeasyPrint |
| Tesseract OCR 5.4 (UB Mannheim Windows build, with Leptonica and the MinGW libraries it ships; their notices are in its `doc` folder) | Apache-2.0 (Tesseract); Leptonica BSD-2-Clause; others as listed in the build | https://github.com/tesseract-ocr/tesseract, build: https://github.com/UB-Mannheim/tesseract |
Expand Down
2 changes: 1 addition & 1 deletion docs/ENGINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,7 @@ target and PNG frames. FFmpeg has no FLIC encoder, so nothing writes them.
A Video CD's `MPEGAV/AVSEQ01.DAT` (MPEG-1 in a RIFF/CDXA wrapper) counts as MPEG: `.dat` is an extension of that
format, and FFmpeg reads what the file holds, so a `.dat` with no video in it fails instead of making a file.

- The download is the gyan.dev **9.0.2 "full_build-shared"** Windows build (GPL-3.0, run as a separate program).
- The download is the gyan.dev **9.1 "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.
Expand Down
8 changes: 4 additions & 4 deletions src/Filee.Engines/Infrastructure/engines.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
"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,
"version": "9.1",
"url": "https://github.com/GyanD/codexffmpeg/releases/download/9.1/ffmpeg-9.1-full_build-shared.zip",
"sha256": "D010A19B78D5EAE62DCA8D4C7F195ACD56DAE8ED6FB85F72821EDD9437DA2898",
"size": 104990867,
"kind": "zip"
},
"calibre": {
Expand Down
4 changes: 2 additions & 2 deletions src/Filee.Engines/Media/FfmpegConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ internal static (string Ffmpeg, string Ffprobe)? Locate()
Path.Combine(folder, EngineEnvironment.ProgramName("ffprobe.exe")));
}

/// <summary>"9.0.2" from <c>ffmpeg -version</c>; cached per executable so re-checking the engines stays cheap.</summary>
/// <summary>"9.1" from <c>ffmpeg -version</c>; cached per executable so re-checking the engines stays cheap.</summary>
/// <exception cref="InvalidOperationException">FFmpeg does not start, fails or does not answer within <paramref name="timeout"/>.</exception>
internal static string VersionOf(string ffmpeg, TimeSpan? timeout = null) =>
Versions.GetOrAdd($"{ffmpeg}|{File.GetLastWriteTimeUtc(ffmpeg).Ticks}", _ =>
Expand All @@ -798,7 +798,7 @@ internal static string VersionOf(string ffmpeg, TimeSpan? timeout = null) =>
}
if (result.ExitCode != 0)
throw new InvalidOperationException($"FFmpeg does not start (exit code {result.ExitCode}).");
// "ffmpeg version 9.0.2-full_build-www.gyan.dev Copyright …" → "9.0.2"
// "ffmpeg version 9.1-full_build-www.gyan.dev Copyright …" → "9.1"
var firstLine = result.StandardOutput.Split('\n', 2)[0];
var match = VersionPattern().Match(firstLine);
return match.Success ? match.Groups[1].Value : firstLine.Trim();
Expand Down
Loading