Commit Graph
1049 Commits
Author SHA1 Message Date
wizardAEI 4152f27f2e Add webcam crop and mirror controls 2026-04-30 19:06:23 +08:00
wizardAEI 8bfd739eca Keep caption edit target current 2026-04-30 18:00:09 +08:00
wizardAEI cace34d3ad Add inline auto-caption editing 2026-04-30 16:51:53 +08:00
webadderall d686ee1874 Merge pull request #379 from kingfive/feat/increase-frame-corner-radius
feat: increase frame corner radius max from 50 to 200
2026-04-30 17:47:08 +10:00
webadderall d02f369249 Revert "Stream blob exports through temp files"
This reverts commit 18916b1afc.
2026-04-30 15:26:02 +10:00
webadderall 18916b1afc Stream blob exports through temp files 2026-04-30 15:24:05 +10:00
webadderall c04255db7b Stream blob exports through temp files 2026-04-30 15:23:27 +10:00
webadderall a095ab050c Add editor presets menu 2026-04-30 11:17:01 +10:00
kingfive 5610f436b1 feat: increase frame corner radius 2026-04-29 02:29:32 +08:00
Shuwn Hsu d5a0f7be3f Merge branch 'webadderallorg:main' into main 2026-04-29 00:30:12 +08:00
Shuwn Hsu a9e70069c8 feat(i18n): Fix locale tags 2026-04-29 00:29:24 +08:00
webadderall 05f6f65c66 Update Discord invite link 2026-04-28 19:12:56 +10:00
webadderall 39c874c083 Merge pull request #369 from webadderallorg/fix/project-autosave-media-path-handling
Improve project autosave and media path handling
2026-04-28 09:45:06 +10:00
webadderall 661123cc0a Revert gradient changes and clean previews 2026-04-28 09:39:48 +10:00
webadderall a8bb003076 Refresh bundled wallpapers and gradient presets 2026-04-28 09:17:51 +10:00
Shuwn Hsu c7c576a1b8 Fix CAPTION_LANGUAGE_OPTIONS language options by restoring the setting to "zh"; adding new caption languages is not within the scope of this PR. 2026-04-27 23:27:18 +08:00
Shuwn Hsu a9f6119847 Merge branch 'webadderallorg:main' into main 2026-04-27 23:01:31 +08:00
Amaan ba89539b3e fix(linux): move fallback out of audio-only branch and surface audio downgrade 2026-04-27 17:10:12 +05:30
Amaan 39673f1c65 fix(linux): fallback to desktop capture when getDisplayMedia fails 2026-04-27 16:09:00 +05:30
webadderall 98e4c7cade Improve project autosave and media path handling 2026-04-27 20:07:32 +10:00
webadderall a4f475228a Fix video wallpaper export stutter 2026-04-27 17:32:43 +10:00
webadderall ae060e83fe Wait for wallpaper frames during export 2026-04-27 17:09:42 +10:00
webadderall 19a09cf37f fix(timeline): restore visible track row height 2026-04-27 16:52:15 +10:00
webadderall 15cd2f15a3 Loop wallpaper videos during export 2026-04-27 16:50:30 +10:00
webadderall 0cf4fe8393 revert: undo recent session changes 2026-04-27 16:33:13 +10:00
webadderall 8830542921 fix(timeline): stretch visible rows without capping panel 2026-04-27 16:29:26 +10:00
webadderall fe5fdff35a fix(timeline): cap viewport to two rows 2026-04-27 16:24:35 +10:00
webadderall f1449073e6 Fix black video wallpaper exports 2026-04-27 16:22:57 +10:00
webadderall b4b009fafa feat(webcam): add mirror toggle to settings
Closes #363
2026-04-27 16:13:58 +10:00
webadderall fb34bf2ef9 Address CodeRabbit review feedback 2026-04-27 16:04:04 +10:00
webadderall bbd46b44ac Fix video wallpaper sync and streamline updater UI 2026-04-27 15:48:38 +10:00
Wiii 0e972ba96e feat(editor): add audio region volume control
Expose the existing added-audio volume field in the selected-audio settings panel and keep timeline row hit targets selectable.
2026-04-27 00:16:08 +07:00
Wiii 5238dd79ce fix(editor): allow scrolling all audio tracks
Allow timeline content to grow with additional audio rows so the existing scroll container can reach lower tracks.
2026-04-26 23:48:38 +07:00
webadderall 2d23885bd3 style(ui): use SF Pro globally and add release helper 2026-04-26 20:36:01 +10:00
webadderall ca05a3fcc0 fix(webcam): correct sync offset direction 2026-04-26 20:10:38 +10:00
webadderall 99ea9df18d Promote padding label to section heading 2026-04-26 19:56:40 +10:00
webadderall 21d8f321ec Match macOS cursor height to Tahoe 2026-04-26 19:56:40 +10:00
webadderall 4961cfe33d Merge pull request #351 from webadderallorg/codex/cursor-asset-sets
Wire new cursor asset sets
2026-04-26 19:27:59 +10:00
webadderall 5d23baab52 Add missing locale strings for cursor padding 2026-04-26 19:26:06 +10:00
Shuwn Hsu db36f70bed Merge branch 'webadderallorg:main' into main 2026-04-26 01:45:21 +08:00
Shuwn Hsu 79c1db6212 add Chinese (Traditional) 2026-04-26 01:40:53 +08:00
Wiii f483b0a4a0 fix(editor): align preview timing with presented video frames 2026-04-26 00:02:46 +07:00
webadderall ef636934f2 Wire new cursor asset sets 2026-04-26 00:28:45 +10:00
webadderall 624c3047be Improve HUD and update prompt UI 2026-04-25 21:34:55 +10:00
webadderall aab14e822a Merge pull request #295 from BillLucky/fix/export-large-files-upstream
fix(export): stream MP4 output to disk to unblock >2 GiB exports
2026-04-25 00:45:44 +10:00
webadderall 66bd91e6a5 Merge pull request #321 from meiiie/fix/win10-floating-webcam-preview
fix(launch): disable floating webcam preview without passthrough
2026-04-25 00:44:41 +10:00
webadderall b7b984d130 Merge pull request #256 from akctba/feature/brazilian-portuguese
Adding Portuguese to languages
2026-04-25 00:42:59 +10:00
大彪 f05dc1f495 fix(export): address remaining PR #295 review threads
- Include `resolvedWebcamVideoUrl` in the dependency arrays for
  `captureProjectThumbnail` and `handleExport` so thumbnail capture and
  export settings stay in sync when the webcam URL refreshes.
- Clear `VideoMuxer.streamSink` before awaiting `closeIpcExportStream`
  in `finalize()` to close the race where a concurrent `destroy()` →
  `abortStream()` could try to close the same stream ID a second time.
2026-04-24 16:02:37 +08:00
大彪 f8122bde18 chore(smoke-export): let the smoke harness open .recordly project files
Previously the smoke-export harness only accepted a raw MP4 input path.
Validating the export pipeline on a real editor project (with its own
zoom regions, wallpaper, annotations, and webcam state) required
opening the editor by hand and clicking through the GUI.

This adds three new environment variables that are picked up by the
existing smoke-export query string plumbing:

- RECORDLY_SMOKE_EXPORT_PROJECT  — path to a .recordly project file;
  when set, the editor opens it via openProjectFileAtPath and applies
  the saved state before the auto-export fires.
- RECORDLY_SMOKE_EXPORT_QUALITY  — overrides the hard-coded "good"
  quality used by the auto-export trigger; accepts medium / good /
  high / source.
- RECORDLY_SMOKE_EXPORT_FPS      — overrides the frame rate; accepts
  24 / 30 / 60.

No behavior change for existing RECORDLY_SMOKE_EXPORT_INPUT runs;
the new inputs are strictly additive and optional. The startup log
line prefers the project path over the raw-input path when both are
populated.
2026-04-24 16:02:37 +08:00
大彪 9ac4dbd2e8 fix(export): stream MP4 output to disk to unblock >2 GiB exports
Long recordings (35-minute screencaps were the motivating case) fail at
the 99% "Finalizing" step with a RangeError once the muxed MP4 would
exceed V8's ~2 GiB per-ArrayBuffer limit. Both export paths accumulate
the whole file in renderer memory and round-trip it through IPC, so no
output size past that point can complete:

- Legacy: src/lib/exporter/muxer.ts uses mediabunny's BufferTarget,
  which holds the entire MP4 in a single ArrayBuffer. finalize() → Blob
  → blob.arrayBuffer() → ipcRenderer.invoke('write-exported-video-to-
  path', arrayBuffer, path) — every step wants a ≥2 GiB contiguous
  allocation.
- Lightning: native-video-export-finish did fs.readFile(finalizedPath)
  and shipped the bytes back to the renderer, which re-serialized them
  again. Same ceiling.

This change moves the finished MP4 across the renderer↔main boundary
via a temp file instead of an ArrayBuffer:

- New electron/ipc/export/exportStream.ts manages streaming temp files
  via fh.write(buf, 0, len, position) so out-of-order writes (moov box
  rewrites, etc.) stay safe. Each session lives in a 0700 mkdtemp()
  directory opened with O_CREAT | O_EXCL so a hostile local user on a
  shared tempdir cannot pre-plant a symlink at the predicted path.
- New renderer-facing IPCs: export-stream-open/write/close,
  finalize-exported-video (renames temp to final path, copy+unlink
  fallback on EXDEV/EPERM/ENOTEMPTY with console.warn on leaked bytes),
  mux-exported-video-audio-from-path (FFmpeg audio fallback that takes
  a path instead of an ArrayBuffer), and discard-exported-temp. Every
  handler validates the caller-supplied path against an owned-export-
  paths registry before touching disk, so a compromised renderer cannot
  route arbitrary filesystem paths into main-process deletes/moves.
- The muxer now picks mediabunny's StreamTarget automatically when the
  Electron bridge is available (BufferTarget stays for tests and any
  non-Electron callers). finalize() returns { mode, tempFilePath,
  bytesWritten } or { mode, blob } so the exporter can branch.
- Exporters forward tempFilePath through ExportResult. Lightning's
  finish returns the ffmpeg temp path directly; the FFmpeg audio
  fallback forks on the muxer result type. modernVideoExporter's
  Lightning success branch now accepts tempFilePath (previously it
  checked blob only, which regressed every native export).
- VideoEditor.tsx dispatches on tempFilePath: finalize via the new IPC,
  keep the temp in place when the save dialog is canceled so "Save
  Again" still works without re-rendering, keep the pending-save entry
  alive on non-canceled save failures, and discard the temp on unmount
  or explicit clear. GIF and smoke-test code paths still use the
  legacy Blob path unchanged.
- app.on('before-quit') also reaps any open streaming sessions via
  cleanupAllExportStreams().

Chunk size is 16 MiB — well under Electron/Mojo IPC message limits
while keeping total writes low (~160 for a 2.5 GB export).

Tested locally: exported a 35:13 source (~2.7 GiB H.264 input) at
Original 1920×1080 + Balanced. Previously failed on finalize with a
RangeError; with this patch the Legacy pipeline produced a valid 3.7
GiB MP4 whose ffmpeg -i duration/streams match the source.

Addresses #194.
2026-04-24 16:02:37 +08:00