سجل إصدارات AutoSlides Extractor
كل الإصدارات المتابعة من المصدر الرسمي مع سجل التغييرات والملفات.
إصدارات 2026
-
## [2.1.0] - 2026-10-31 ### 🚀 Added - **Video export (Slides Export → Video)**: Slides Export now has **PDF** and **Video** modes. Video mode rebuilds each selected folder as an MP4 that follows its `timeline.json`. A slide shown again (duplicate) shows its kept copy, and a removed slide (ML, exclusion, manual trash) keeps the previous slide on screen. H.264 (x264) is written at a variable frame rate: one frame per slide change, plus an optional repeat every 30 s – 10 min (or off), so players that seek to the next frame stay close. Each slide gets a chapter named after its PDF page. Audio comes from a per-folder source (the original video, filled in automatically when the timeline recorded it, or any audio file) and is copied unchanged or compressed to AAC (bitrate, mono/stereo, sample rate) or Opus (bitrate, mono/stereo; libopus, tuned for speech, 60 ms frames to keep MP4 overhead down); folders without a source are exported silent. Re-encoded audio follows the source timestamps: holes where the recorder dropped audio are filled with silence (and overlaps dropped, beyond 10 ms), so the voice stays in step with the slides; counting samples back to back put it 3.1 s ahead by the end of a 99-minute screen recording. On that lecture (1080p, 249 MB): about 10 MB with Opus 12 kbps, 14 MB with Opus 16 kbps, 38 MB with AAC 48 kbps, 47 MB with the original audio, 1 MB without audio. - **CLI exports**: `--export-pdf` writes `<output>/<name>.pdf` after extraction and post-processing (`--pdf-reduce-size`, `--pdf-aspect`, `--pdf-height`, `--pdf-jpeg-quality`; `pdf_exported` event, exit code 7). `--export-video` writes `<output>/<name>.mp4` (implies `--write-timeline`; `--video-height`, `--video-crf`, `--video-repeat`, `--video-audio aac|opus|copy|none`, `--video-audio-bitrate`, `--video-audio-channels`, `--video-audio-rate`; `video_progress` / `video_exported` events, exit code 6). Defaults match Slides Export; export settings are not saved. The Linux and macOS CI smoke tests now export both and check the video with ffprobe. - **`timeline.json` source block**: extraction records `source.path`, `source.duration` and `source.startTime` of the video, so Slides Export can find the audio later. - **macOS release build**: New `Build macOS Release` workflow producing an Apple Silicon (arm64) `.dmg` (LZMA-compressed, app + `/Applications` link, ad-hoc signed). The DMG window shows the install steps: drag the app to Applications and the `xattr` command to run (background and icon layout in `installer/dmg`, written with dmgbuild, so CI needs no Finder scripting). Dependencies come from the same pinned vcpkg and `vcpkg.json` as Windows/Linux (overlay triplet `arm64-osx-dynamic-release`, deployment target macOS 12), with the Core ML ONNX Runtime and Qt 6.8. Packaging lives in `installer/package-macos.sh`. It fails on unresolved, external or Homebrew libraries, on vcpkg binaries built for a newer macOS than the target, and on an FFmpeg built without VideoToolbox. It sets `LSMinimumSystemVersion` from the bundled binaries. The DMG is smoke-tested in CI (CLI extraction with ML + timeline, GUI launch). `install.command` is no longer shipped. - **Linux release build**: New `Build Linux Release` workflow producing an x86_64 AppImage, a portable `.tar.gz` and a self-contained `.deb` (installs to `/opt/autoslides-extractor`, with a `/usr/bin` command and menu entry) (vcpkg OpenCV/FFmpeg from the same `vcpkg.json` as Windows, Qt 6.8, CPU ONNX Runtime; built on Ubuntu 22.04 for glibc 2.35+). Packaging lives in `installer/package-linux.sh` and can be run locally. - **Linux desktop integration**: `.desktop` entry and 256 px icon, installed by `cmake --install`; the GUI sets its window icon and desktop file name on Linux. ### 🔄 Changed - **FFmpeg now built with x264, Opus, `gpl`, `version3` and `swresample`** (`vcpkg.json`) for video export. Because libx264 is GPL, release builds are distributed under **GPLv3**; the source code stays MIT. Every package ships a `licenses` folder (notice, GPL text, MIT licence, where to get the corresponding source), the Windows installer's licence page says so, and the Debian `copyright` file includes the notice. macOS packaging fails if the bundled FFmpeg lacks libx264 or libopus; the Linux and macOS smoke tests also export with Opus. - **vcpkg pin `2025.04.09` → `2026.07.29`** (Windows and Linux CI): FFmpeg 7.1.1 → 8.1.2, OpenCV 4.11.0 → 4.12.0. The old pin could no longer build FFmpeg on Windows because its MSYS2 package (`file-5.45-3`) was removed from all mirrors. The Windows workflow drops vcpkg's `x-gha` binary cache, which current vcpkg-tool no longer supports, and keeps the `actions/cache` files layer. - **CI vcpkg caches** (all three workflows): release-only triplets (`x64-windows-release`, new `x64-linux-dynamic-release` overlay, like macOS), so no Debug FFmpeg/OpenCV is built. Each run that builds packages saves a new cache entry (run id suffix) and later runs restore the newest one, first for the same `vcpkg.json`, else for the same vcpkg + triplet; vcpkg's ABI hashes decide what is reused. This survives runner image updates (which change those hashes without changing the compiler version) and dependency changes, and archives unused for 14 days are pruned. - **Release flow** (CI): Draft releases are now made only by pushing a `v<version>` tag: the new `Release` workflow runs the checks, calls the three platform builds and attaches all six packages to one draft (so the platforms can no longer race into duplicate drafts). Pushes to `main` and pull requests build and smoke-test packages as workflow artifacts only, and skip docs-only changes. A new fast `CI` workflow checks that the version in `CMakeLists.txt`, `vcpkg.json`, the Windows `.rc`, the NSIS script and the version strings in `main.cpp` / `mainwindow.cpp` agree (plus tag and CHANGELOG entry on release), lints the workflows with actionlint and syntax-checks the packaging scripts. ### 🐛 Fixed - **Slide …