Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(export): own disclosure class, honest destination docs
EtienneLescotb073961128fe
diff --git a/src/components/ai-edition/ExportDialog.tsx b/src/components/ai-edition/ExportDialog.tsxindex d342bf0f0..c6d6bef82 100644--- a/src/components/ai-edition/ExportDialog.tsx+++ b/src/components/ai-edition/ExportDialog.tsx@@ -161,7 +161,7 @@ interface ExportChoice {* picked while the settings still match it. */const DESTINATIONS: Array<{ labelKey: string; set: Partial<ExportChoice> }> = [{ labelKey: "destinationWeb", set: { format: "mp4", quality: "good", fps: 60, codec: "h264" } },- // Half the frames at the same bits per frame: half the file.+ // Half the frames at the same bits per frame: half the bitrate.{labelKey: "destinationSocial",set: { format: "mp4", quality: "good", fps: 30, codec: "h264" },@@ -594,8 +594,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {<buttontype="button"- className={styles.bgDisclosure}- style={{ margin: 0, alignSelf: "flex-start" }}+ className={styles.exportAdvanced}aria-expanded={advancedOpen}onClick={() => setAdvancedOpen((open) => !open)}>diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.cssindex 7f83726f1..c901ed8b0 100644--- a/src/components/ai-edition/NewEditorShell.module.css+++ b/src/components/ai-edition/NewEditorShell.module.css@@ -1328,6 +1328,22 @@ textarea.control {.bgDisclosure:hover { color: var(--fg); }.bgDisclosure svg { transition: transform var(--motion-fast) var(--ease); }.bgDisclosure[aria-expanded="true"] svg { transform: rotate(180deg); }+/* The export dialog's "Advanced" disclosure. Its own class: it must not ride on a pane's. */+.exportAdvanced {+ display: inline-flex;+ align-self: flex-start;+ align-items: center;+ gap: 4px;+ padding: 0;+ border: 0;+ background: transparent;+ color: var(--fg-2);+ font: 500 13px/1.2 var(--font-body);+ cursor: pointer;+}+.exportAdvanced:hover { color: var(--fg); }+.exportAdvanced svg { transition: transform var(--motion-fast) var(--ease); }+.exportAdvanced[aria-expanded="true"] svg { transform: rotate(180deg); }.bgThumb:hover { transform: translateY(-1px); }.bgThumb.isActive {border-color: var(--brand);diff --git a/technical-documentation/architecture/editor-shell.md b/technical-documentation/architecture/editor-shell.mdindex bd9305703..dcef2eb6e 100644--- a/technical-documentation/architecture/editor-shell.md+++ b/technical-documentation/architecture/editor-shell.md@@ -60,7 +60,7 @@ of those are local React state, with the document itself read through| **Floating inspector** | `src/components/ai-edition/v4/FloatingInspector.tsx` | Floating facet rail over the stage; the open panel either shows the `FacetBody` for the current facet (`effects` / `layout` / `audio` / `cursor` / `captions` / `transcript`) or, when a region is selected, a `SelectionPane` (`:434`) that edits the selected pill by id. The "pencil" rail button opens `EditClipModal` for crop + trim. || **Left chat column** (`ChatStripPanel`) | `src/components/ai-edition/LeftPanel.tsx` | Only mounted when `mode === "edit"` and `chatOpen` is true (`NewEditorShell.tsx` `:1191-1195`). Sends user messages to the LLM via IPC. Resize handle is `v4.chatResizeHandle`; width persists in `localStorage` as `os-editor-chat-width`. || **Modals** | `src/components/ai-edition/Modals.tsx` | `OpenProjectModal`, `NewProjectModal`, `EditClipModal` (per-clip crop + in/out), `UnsavedChangesModal`. Mounted at the shell level (`:1333-1385`) so every trigger site reuses the same instance. |-| **Export dialog** | `src/components/ai-edition/ExportDialog.tsx` | Named destinations (Web / YouTube, Social, Studio, README GIF) that set format / quality / frame-rate / codec / size together, all of which stay under **Advanced**; calls `exportAxcutDocument` (GIF path, WebCodecs) or `exportMultiNative` (MP4 path, native D3D compositor). The MP4 path is the one that goes through `src/lib/ai-edition/exporter/documentExporter.ts`'s `projectRegionsToSourceTime` and the multi-clip native bridge. |+| **Export dialog** | `src/components/ai-edition/ExportDialog.tsx` | Named destinations (Web / YouTube, Social, Studio, README GIF) that set format / quality / frame-rate / codec / size together, all of which stay under **Advanced**. Both formats go through the native compositor with the same clip list (`resolveVisibleClips`) and scene (`buildSceneDescription`): `exportGifNative` for GIF, `exportMultiNative` for MP4. || **Captions pane** | `src/components/ai-edition/CaptionsPane.tsx` | Mounted as a facet body from `FloatingInspector.tsx` (`:1062`). Controls caption appearance + translations; the cues themselves are a derived view over `document.transcripts` (see [`src/lib/ai-edition/captions/`](../../src/lib/ai-edition/captions/)). |## Modes and facetsdiff --git a/website/docs/export.md b/website/docs/export.mdindex 1ebf03033..e71b5325d 100644--- a/website/docs/export.md+++ b/website/docs/export.md@@ -17,7 +17,7 @@ keywords:Click **Export** in the top bar to open the export dialog.-Pick a **destination** first: **Web / YouTube** (MP4, 1080p, 60 fps), **Social** (the same at 30 fps, half the file size), **Studio** (MP4 at the recording's own resolution, 60 fps) or **README GIF** (a 480p GIF at 15 fps). A destination never changes the project's aspect ratio. Everything below sits under **Advanced**.+Pick a **destination** first: **Web / YouTube** (MP4, 1080p, 60 fps), **Social** (the same at 30 fps, at a lower bitrate), **Studio** (MP4 at the smallest clip's own resolution, fitted to the project's aspect ratio, 60 fps) or **README GIF** (a 480p GIF at 15 fps). A destination never changes the project's aspect ratio. Everything below sits under **Advanced**.## Formatsdiff --git a/website/i18n/de/docusaurus-plugin-content-docs/current/export.md b/website/i18n/de/docusaurus-plugin-content-docs/current/export.mdindex c632f3d88..5fd60a66d 100644--- a/website/i18n/de/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/de/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:Klicke in der oberen Leiste auf **Export**, um den Exportdialog zu öffnen.-Wähle zuerst ein **Ziel**: **Web / YouTube** (MP4, 1080p, 60 fps), **Social Media** (dasselbe mit 30 fps, halb so große Datei), **Studio** (MP4 in der Auflösung der Aufnahme, 60 fps) oder **README-GIF** (ein 480p-GIF mit 15 fps). Ein Ziel ändert nie das Seitenverhältnis des Projekts. Alles Folgende liegt unter **Erweitert**.+Wähle zuerst ein **Ziel**: **Web / YouTube** (MP4, 1080p, 60 fps), **Social Media** (dasselbe mit 30 fps und niedrigerer Bitrate), **Studio** (MP4 in der Auflösung des kleinsten Clips, an das Seitenverhältnis des Projekts angepasst, 60 fps) oder **README-GIF** (ein 480p-GIF mit 15 fps). Ein Ziel ändert nie das Seitenverhältnis des Projekts. Alles Folgende liegt unter **Erweitert**.## Formate {#formats}diff --git a/website/i18n/es/docusaurus-plugin-content-docs/current/export.md b/website/i18n/es/docusaurus-plugin-content-docs/current/export.mdindex 8fa316576..8dc62a496 100644--- a/website/i18n/es/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/es/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:Haz clic en **Exportar** en la barra superior para abrir el cuadro de diálogo de exportación.-Elige primero un **destino**: **Web / YouTube** (MP4, 1080p, 60 fps), **Redes sociales** (lo mismo a 30 fps, un archivo de la mitad de tamaño), **Estudio** (MP4 a la resolución de la grabación, 60 fps) o **GIF para README** (un GIF de 480p a 15 fps). Un destino nunca cambia la relación de aspecto del proyecto. Todo lo que sigue está en **Avanzado**.+Elige primero un **destino**: **Web / YouTube** (MP4, 1080p, 60 fps), **Redes sociales** (lo mismo a 30 fps, con una tasa de bits menor), **Estudio** (MP4 a la resolución del clip más pequeño, ajustada a la relación de aspecto del proyecto, 60 fps) o **GIF para README** (un GIF de 480p a 15 fps). Un destino nunca cambia la relación de aspecto del proyecto. Todo lo que sigue está en **Avanzado**.## Formatos {#formats}diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/export.md b/website/i18n/fr/docusaurus-plugin-content-docs/current/export.mdindex bf21290ed..b9c43c240 100644--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:Cliquez sur **Exporter** dans la barre supérieure pour ouvrir la fenêtre d'export.-Choisissez d'abord une **destination** : **Web / YouTube** (MP4, 1080p, 60 fps), **Réseaux sociaux** (la même chose à 30 fps, un fichier deux fois plus léger), **Studio** (MP4 à la résolution de l'enregistrement, 60 fps) ou **GIF pour README** (un GIF 480p à 15 fps). Une destination ne change jamais le ratio du projet. Tout ce qui suit se trouve sous **Avancé**.+Choisissez d'abord une **destination** : **Web / YouTube** (MP4, 1080p, 60 fps), **Réseaux sociaux** (la même chose à 30 fps, à un débit plus faible), **Studio** (MP4 à la résolution du plus petit clip, ajustée au ratio du projet, 60 fps) ou **GIF pour README** (un GIF 480p à 15 fps). Une destination ne change jamais le ratio du projet. Tout ce qui suit se trouve sous **Avancé**.## Formats {#formats}diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/export.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/export.mdindex b553f244b..c5a1d734e 100644--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:トップバーの**エクスポート**をクリックすると、エクスポートのダイアログが開きます。-まず**書き出し先**を選びます。**Web / YouTube**(MP4、1080p、60 fps)、**SNS**(同じ内容を 30 fps で。ファイルサイズは半分)、**スタジオ**(録画そのままの解像度の MP4、60 fps)、**README 用 GIF**(480p、15 fps の GIF)。書き出し先を選んでもプロジェクトのアスペクト比は変わりません。以下の設定はすべて**詳細設定**の中にあります。+まず**書き出し先**を選びます。**Web / YouTube**(MP4、1080p、60 fps)、**SNS**(同じ内容を 30 fps で、より低いビットレートで)、**スタジオ**(いちばん小さいクリップの解像度をプロジェクトのアスペクト比に合わせた MP4、60 fps)、**README 用 GIF**(480p、15 fps の GIF)。書き出し先を選んでもプロジェクトのアスペクト比は変わりません。以下の設定はすべて**詳細設定**の中にあります。## 形式 {#formats}diff --git a/website/i18n/pt-BR/docusaurus-plugin-content-docs/current/export.md b/website/i18n/pt-BR/docusaurus-plugin-content-docs/current/export.mdindex 66a5b0790..6a9c66b5e 100644--- a/website/i18n/pt-BR/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/pt-BR/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:Clique em **Exportar** na barra superior para abrir a caixa de diálogo de exportação.-Escolha primeiro um **destino**: **Web / YouTube** (MP4, 1080p, 60 fps), **Redes sociais** (o mesmo a 30 fps, arquivo com metade do tamanho), **Estúdio** (MP4 na resolução da gravação, 60 fps) ou **GIF para README** (um GIF de 480p a 15 fps). Um destino nunca muda a proporção do projeto. Tudo o que vem a seguir fica em **Avançado**.+Escolha primeiro um **destino**: **Web / YouTube** (MP4, 1080p, 60 fps), **Redes sociais** (o mesmo a 30 fps, com uma taxa de bits menor), **Estúdio** (MP4 na resolução do menor clipe, ajustada à proporção do projeto, 60 fps) ou **GIF para README** (um GIF de 480p a 15 fps). Um destino nunca muda a proporção do projeto. Tudo o que vem a seguir fica em **Avançado**.## Formatos {#formats}diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/export.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/export.mdindex a08051fd7..2a88ef2b1 100644--- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:点击顶栏中的**导出**,打开导出对话框。-先选择一个**导出用途**:**网页 / YouTube**(MP4,1080p,60 fps)、**社交媒体**(同样的画面,30 fps,文件大小减半)、**工作室**(按录制原始分辨率导出的 MP4,60 fps)或 **README GIF**(480p、15 fps 的 GIF)。导出用途不会改变项目的画面比例。以下所有设置都在**高级**中。+先选择一个**导出用途**:**网页 / YouTube**(MP4,1080p,60 fps)、**社交媒体**(同样的画面,30 fps,码率更低)、**工作室**(按最小片段的分辨率并适配项目画面比例导出的 MP4,60 fps)或 **README GIF**(480p、15 fps 的 GIF)。导出用途不会改变项目的画面比例。以下所有设置都在**高级**中。## 格式 {#formats}diff --git a/website/i18n/zh-TW/docusaurus-plugin-content-docs/current/export.md b/website/i18n/zh-TW/docusaurus-plugin-content-docs/current/export.mdindex 524179746..2eedd062a 100644--- a/website/i18n/zh-TW/docusaurus-plugin-content-docs/current/export.md+++ b/website/i18n/zh-TW/docusaurus-plugin-content-docs/current/export.md@@ -17,7 +17,7 @@ keywords:點擊頂端列的**匯出**,即可開啟匯出對話框。-先選擇一個**匯出用途**:**網頁 / YouTube**(MP4,1080p,60 fps)、**社群媒體**(同樣的畫面,30 fps,檔案大小減半)、**工作室**(以錄製原始解析度匯出的 MP4,60 fps)或 **README GIF**(480p、15 fps 的 GIF)。匯出用途不會改變專案的畫面比例。以下所有設定都在**進階**中。+先選擇一個**匯出用途**:**網頁 / YouTube**(MP4,1080p,60 fps)、**社群媒體**(同樣的畫面,30 fps,位元率較低)、**工作室**(以最小片段的解析度並配合專案畫面比例匯出的 MP4,60 fps)或 **README GIF**(480p、15 fps 的 GIF)。匯出用途不會改變專案的畫面比例。以下所有設定都在**進階**中。## 格式 {#formats}