Skip to content
Merged
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
9 changes: 4 additions & 5 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ También puedes cambiar la resolución de salida. Todo el procesamiento de video
## Descargar e instalar

1. **Instala la app.** Abre la [última versión](https://github.com/ixiehao/MP4Flow/releases/latest), despliega **Assets** y descarga el **instalador `.dmg` de MP4Flow** para tu chip: **arm64 (Apple Silicon)** o **x86_64 (Intel)**. Ábrelo y arrastra **MP4Flow** a **Applications (Aplicaciones)**.
2. **Instala las herramientas de video una vez.** Abre **Terminal** con Spotlight (`⌘ Espacio`). Si no tienes Homebrew, [instálalo](https://brew.sh/) y completa sus **Next steps**. Después ejecuta:
2. **Configura FFmpeg y ffprobe.** Abre MP4Flow y haz clic en el icono de onda de la parte superior para abrir Diagnóstico.

```sh
brew install ffmpeg
```
- **¿Ya tienes Homebrew?** Si faltan las herramientas, pulsa «Instalar dependencias».
- **¿No tienes Homebrew?** Sigue las instrucciones oficiales y completa los «Next steps» si aparecen. Vuelve a MP4Flow y pulsa «Instalar dependencias». [Abrir Homebrew](https://brew.sh/)

Esto instala FFmpeg y ffprobe. Homebrew tiene sus propios [requisitos del sistema](https://docs.brew.sh/Installation#macos-requirements).
MP4Flow vuelve a comprobar FFmpeg y ffprobe automáticamente. Cuando ambos estén listos, puedes empezar a convertir. [Requisitos de Homebrew](https://docs.brew.sh/Installation#macos-requirements)

3. **Convierte tu primer video.** Añádelo a MP4Flow, mantén **Conversión inteligente**, elige la calidad y pulsa **Iniciar**.

Expand Down
9 changes: 4 additions & 5 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ Vous pouvez aussi changer la résolution de sortie. Tout le traitement vidéo se
## Télécharger et installer

1. **Installez l’app.** Ouvrez la [dernière version](https://github.com/ixiehao/MP4Flow/releases/latest), dépliez **Assets** et téléchargez le **fichier `.dmg` de MP4Flow** adapté : **arm64 (Apple Silicon)** ou **x86_64 (Intel)**. Ouvrez-le, puis glissez **MP4Flow** dans **Applications**.
2. **Installez les outils vidéo une seule fois.** Ouvrez **Terminal** avec Spotlight (`⌘ Espace`). Au besoin, [installez Homebrew](https://brew.sh/) et suivez ses **Next steps** jusqu’au bout. Exécutez ensuite :
2. **Configurez FFmpeg et ffprobe.** Ouvrez MP4Flow et cliquez sur l’icône en forme d’onde en haut pour ouvrir le diagnostic.

```sh
brew install ffmpeg
```
- **Homebrew est déjà installé ?** Si les outils manquent, cliquez sur « Installer les dépendances ».
- **Vous n’avez pas Homebrew ?** Suivez les instructions officielles et effectuez les éventuelles étapes « Next steps ». Revenez ensuite à MP4Flow et cliquez sur « Installer les dépendances ». [Ouvrir Homebrew](https://brew.sh/)

Cette commande installe FFmpeg et ffprobe. Homebrew a ses propres [prérequis système](https://docs.brew.sh/Installation#macos-requirements).
MP4Flow vérifie automatiquement FFmpeg et ffprobe. Vous pouvez convertir vos vidéos dès que les deux outils sont prêts. [Configuration requise pour Homebrew](https://docs.brew.sh/Installation#macos-requirements)

3. **Convertissez votre première vidéo.** Ajoutez-la dans MP4Flow, gardez **Conversion intelligente**, choisissez la qualité et cliquez sur **Démarrer**.

Expand Down
9 changes: 4 additions & 5 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
## ダウンロードと導入

1. **アプリを入れる。** [最新リリース](https://github.com/ixiehao/MP4Flow/releases/latest)の **Assets** を開き、チップに合う **MP4Flow の `.dmg` ファイル**(**arm64:Apple Silicon** / **x86_64:Intel**)をダウンロード。開いて **MP4Flow** を **Applications(アプリケーション)** にドラッグします。
2. **動画ツールを一度だけ入れる。** `⌘ スペース` で「ターミナル」を検索して開きます。Homebrew がなければ[公式の手順](https://brew.sh/)で導入し、最後に表示される **Next steps** まで完了してください。その後、次を実行します。
2. **FFmpeg と ffprobe を設定します。** MP4Flow を開き、ウィンドウ上部の波形アイコンをクリックして「環境チェック」を開きます。

```sh
brew install ffmpeg
```
- **Homebrew をインストール済みの場合** ツールが不足している場合は「依存関係をインストール」をクリックします。
- **Homebrew がない場合** 公式の手順に従い、「Next steps」が表示されたら最後まで実行します。その後 MP4Flow に戻り、「依存関係をインストール」をクリックします。 [Homebrewを開く](https://brew.sh/)

FFmpeg と ffprobe の両方が入ります。Homebrew の[動作要件](https://docs.brew.sh/Installation#macos-requirements)は MP4Flow とは異なります。
MP4Flow が FFmpeg と ffprobe を自動で再確認します。両方の準備ができたら変換を開始できます。 [Homebrew の動作要件](https://docs.brew.sh/Installation#macos-requirements)

3. **動画を変換する。** MP4Flow に動画を追加し、**スマート変換(おすすめ)** のまま画質を選び、**変換を開始** をクリックします。

Expand Down
9 changes: 4 additions & 5 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
## 다운로드와 설치

1. **앱을 설치하세요.** [최신 버전 페이지](https://github.com/ixiehao/MP4Flow/releases/latest)에서 **Assets**를 펼쳐 칩에 맞는 **MP4Flow `.dmg` 설치 파일**: **arm64(Apple Silicon)** 또는 **x86_64(Intel)**을 다운로드하세요. 파일을 열고 **MP4Flow**를 **Applications(응용 프로그램)**로 드래그하세요.
2. **영상 도구를 한 번만 설치하세요.** Spotlight(`⌘ 스페이스`)에서 **터미널**을 찾아 여세요. Homebrew가 없다면 [공식 안내](https://brew.sh/)에 따라 설치하고 마지막의 **Next steps**까지 완료하세요. 그다음 아래 명령을 실행하세요.
2. **FFmpeg와 ffprobe를 설정하세요.** MP4Flow를 열고 창 상단의 파형 아이콘을 눌러 ‘환경 점검’을 엽니다.

```sh
brew install ffmpeg
```
- **Homebrew가 이미 있나요?** 도구가 없으면 ‘의존성 설치’를 누르세요.
- **Homebrew가 없나요?** 공식 안내에 따라 설치하고 ‘Next steps’가 표시되면 완료하세요. MP4Flow로 돌아와 ‘의존성 설치’를 누르세요. [Homebrew 웹사이트 열기](https://brew.sh/)

FFmpeg와 ffprobe가 함께 설치돼요. Homebrew의 [시스템 요구 사항](https://docs.brew.sh/Installation#macos-requirements)은 MP4Flow와 별개예요.
MP4Flow가 FFmpeg와 ffprobe를 자동으로 다시 확인합니다. 두 도구가 준비되면 변환을 시작할 수 있습니다. [Homebrew 시스템 요구 사항](https://docs.brew.sh/Installation#macos-requirements)

3. **첫 영상을 변환하세요.** MP4Flow에 영상을 추가하고 **스마트 변환**을 유지한 채 화질을 고른 다음 **시작**을 누르세요.

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ You can also change output resolution. All video processing stays on your Mac.
## Download and install

1. **Install the app.** Open the [latest release](https://github.com/ixiehao/MP4Flow/releases/latest), expand **Assets**, and download the MP4Flow **`.dmg` installer** for your chip: **arm64 (Apple Silicon)** or **x86_64 (Intel)**. Open it and drag **MP4Flow** to **Applications**.
2. **Install the video tools once.** Open **Terminal** using Spotlight (`⌘ Space`). If needed, [install Homebrew](https://brew.sh/) first and complete its **Next steps**. Then run:
2. **Set up FFmpeg and ffprobe.** Open MP4Flow and click the waveform icon at the top to open Environment Check.

```sh
brew install ffmpeg
```
- **Already have Homebrew?** If the tools are missing, click “Install dependencies”.
- **No Homebrew?** Follow the official installation instructions and complete any “Next steps”. Then return to MP4Flow and click “Install dependencies”. [Open Homebrew](https://brew.sh/)

This installs both FFmpeg and ffprobe. Homebrew has its own [system requirements](https://docs.brew.sh/Installation#macos-requirements).
MP4Flow checks FFmpeg and ffprobe again automatically. If both are ready, you can start converting. [Homebrew system requirements](https://docs.brew.sh/Installation#macos-requirements)

3. **Convert your first video.** Open MP4Flow, add a video, keep **Smart Convert** selected, choose quality, and click **Start**.

Expand Down
9 changes: 4 additions & 5 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
## Скачать и установить

1. **Установите приложение.** Откройте [последний выпуск](https://github.com/ixiehao/MP4Flow/releases/latest), разверните **Assets** и скачайте **установщик MP4Flow `.dmg`** для вашего чипа: **arm64 (Apple Silicon)** или **x86_64 (Intel)**. Откройте файл и перетащите **MP4Flow** в **Applications («Программы»)**.
2. **Один раз установите инструменты для видео.** Через Spotlight (`⌘ Пробел`) найдите и откройте **Терминал**. Если Homebrew ещё нет, [установите его](https://brew.sh/) и выполните указания **Next steps** в конце установки. Затем запустите:
2. **Настройте FFmpeg и ffprobe.** Откройте MP4Flow и нажмите значок с волной в верхней части окна, чтобы открыть «Диагностику».

```sh
brew install ffmpeg
```
- **Homebrew уже установлен?** Если инструментов нет, нажмите «Установить зависимости».
- **Нет Homebrew?** Установите его по официальной инструкции и выполните шаги «Next steps», если они появятся. Вернитесь в MP4Flow и нажмите «Установить зависимости». [Открыть сайт Homebrew](https://brew.sh/)

Команда установит FFmpeg и ffprobe. У Homebrew отдельные [системные требования](https://docs.brew.sh/Installation#macos-requirements).
MP4Flow автоматически проверит FFmpeg и ffprobe. Когда оба инструмента готовы, можно начинать конвертацию. [Системные требования Homebrew](https://docs.brew.sh/Installation#macos-requirements)

3. **Конвертируйте первое видео.** Добавьте его в MP4Flow, оставьте **Умная конвертация**, выберите качество и нажмите **Начать**.

Expand Down
9 changes: 4 additions & 5 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@
## 下载与安装

1. **安装应用。** 打开[最新版本页面](https://github.com/ixiehao/MP4Flow/releases/latest),展开 **Assets**,下载对应芯片的 **MP4Flow `.dmg` 安装包**:**arm64(Apple 芯片)** 或 **x86_64(Intel)**。打开后,将 **MP4Flow** 拖入 **Applications(应用程序)**。
2. **首次安装视频工具。** 按 `⌘ 空格`,搜索并打开「终端」。如果还没有 Homebrew,先按[官网说明](https://brew.sh/)安装,并完成安装后提示的 **Next steps**。然后运行:
2. **安装 FFmpeg 和 ffprobe。** 打开 MP4Flow,点击窗口顶部的波形图标,进入「环境体检」。

```sh
brew install ffmpeg
```
- **已安装 Homebrew?** 如果缺少转换工具,点击「一键安装依赖」。
- **还没有 Homebrew?** 按官网提示安装,并完成安装后显示的「Next steps」(如有)。然后回到 MP4Flow,点击「一键安装依赖」。 [打开 Homebrew 官网](https://brew.sh/)

这会同时安装 FFmpeg 和 ffprobe。Homebrew 的[系统要求](https://docs.brew.sh/Installation#macos-requirements)与 MP4Flow 分开计算。
MP4Flow 会自动复检 FFmpeg 和 ffprobe。两项都已就绪后,即可开始转换。 [Homebrew 的系统要求](https://docs.brew.sh/Installation#macos-requirements)

3. **开始第一次转换。** 打开 MP4Flow,添加视频,保持「**智能转换(推荐)**」,选择画质,点击「**开始转换**」。

Expand Down
16 changes: 15 additions & 1 deletion Scripts/tests/website.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,21 @@ test('seven canonical pages are complete, crawlable and use matching real screen
assert.equal((html.match(/aria-current="page"/g) ?? []).length, 1);
assert.equal((html.match(/<link rel="alternate" hreflang=/g) ?? []).length, 8);
assert.ok(html.includes(catalogs[language.id].installTitle));
assert.ok(html.includes('brew install ffmpeg'));
const setup = html.match(/<dialog class="install-dialog"[\s\S]*?<\/dialog>/)?.[0];
const fallback = html.match(/<noscript>[\s\S]*?<\/noscript>/)?.[0];
const resourceLocale = language.id === 'zh' ? 'zh-Hans' : language.id;
const strings = await readFile(new URL(`../../AppResources/${resourceLocale}.lproj/Localizable.strings`, import.meta.url), 'utf8');
const installerLabel = strings.match(/^"一键安装依赖" = "([^"]+)";$/m)?.[1];
assert.ok(installerLabel);
const readmeName = language.id === 'en' ? 'README.md' : `README.${language.id === 'zh' ? 'zh-CN' : language.id}.md`;
const readme = await readFile(new URL(`../../${readmeName}`, import.meta.url), 'utf8');
for (const guide of [setup, fallback, readme]) {
assert.ok(guide?.includes(copy.installWithHomebrew));
assert.ok(guide.includes(copy.installWithoutHomebrew));
assert.ok(guide.includes('https://brew.sh/'));
assert.ok(guide.includes(copy.installStepThree));
assert.equal(guide.split(installerLabel).length - 1, 2, 'both branches use the actual App button label');
}
const schema = JSON.parse(html.match(/id="software-schema"[^>]*>([\s\S]*?)<\/script>/)[1]);
assert.deepEqual(schema.inLanguage, languages.map(l => l.locale));
assert.equal(schema.url, siteURL + localePath(language.id));
Expand Down
33 changes: 23 additions & 10 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,23 +171,36 @@ <h2 id="download-title" data-i18n="downloadTitle">{{downloadTitle}}</h2>
</div>
<h2 id="install-dialog-title" data-i18n="installTitle">{{installTitle}}</h2>
<p class="dialog-intro" data-i18n="installIntro">{{installIntro}}</p>
<p class="install-help"><span data-i18n="installHelp">{{installHelp}}</span> <a href="https://brew.sh/" target="_blank" rel="noreferrer">brew.sh</a></p>
<ol class="install-steps">
<li data-i18n="installStepOne">{{installStepOne}}</li>
<li>
<span data-i18n="installStepTwo">{{installStepTwo}}</span>
<code>brew install ffmpeg</code>
</li>
<li data-i18n="installStepThree">{{installStepThree}}</li>
</ol>
<ul class="install-steps">
<li><strong>{{installWithHomebrew}}</strong> {{installStepTwo}}</li>
<li><strong>{{installWithoutHomebrew}}</strong> {{installHelp}} <a href="https://brew.sh/" target="_blank" rel="noreferrer">{{installOpenHomebrew}}</a></li>
</ul>
<p class="install-result">{{installStepThree}}</p>
<details class="install-optional">
<summary>{{installManual}}</summary>
<p>{{installManualBody}}</p>
</details>
<details class="install-optional">
<summary>{{installOptional}}</summary>
<p>{{installOptionalBody}} <code>brew install ffmpeg-full</code></p>
</details>
<p class="install-help"><a href="https://docs.brew.sh/Installation#macos-requirements" target="_blank" rel="noreferrer">{{installRequirements}}</a></p>
</dialog>

<noscript><div class="noscript-install"><p>{{installIntro}}</p><p>{{installHelp}} <a href="https://brew.sh/">brew.sh</a></p><p>{{installStepOne}} {{installStepTwo}} <code>brew install ffmpeg</code></p><p>{{installStepThree}}</p><p>{{installOptionalBody}} <code>brew install ffmpeg-full</code></p><a href="https://docs.brew.sh/Installation#macos-requirements">{{installRequirements}}</a></div></noscript>
<noscript>
<section class="noscript-install">
<h2>{{installTitle}}</h2>
<p>{{installIntro}}</p>
<ul class="install-steps">
<li><strong>{{installWithHomebrew}}</strong> {{installStepTwo}}</li>
<li><strong>{{installWithoutHomebrew}}</strong> {{installHelp}} <a href="https://brew.sh/">{{installOpenHomebrew}}</a></li>
</ul>
<p class="install-result">{{installStepThree}}</p>
<p>{{installManualBody}}</p>
<p>{{installOptionalBody}} <code>brew install ffmpeg-full</code></p>
<a href="https://docs.brew.sh/Installation#macos-requirements">{{installRequirements}}</a>
</section>
</noscript>
<script src="app.js?v={{scriptVersion}}" defer></script>
</body>
</html>
16 changes: 10 additions & 6 deletions website/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@
"socialImageAlt": "MP4Flow, a native Mac video converter, showing its real English crop window with Tears of Steel",
"installEyebrow": "ONE-TIME SETUP",
"installTitle": "Install FFmpeg",
"installIntro": "Homebrew installs both tools MP4Flow needs: FFmpeg and ffprobe.",
"installStepOne": "Open Terminal.",
"installStepTwo": "Run this command:",
"installStepThree": "In MP4Flow, select Environment Check → Recheck.",
"installHelp": "No Homebrew? Install it first and complete its Next steps:",
"installIntro": "Open MP4Flow and click the waveform icon at the top to open Environment Check.",
"installWithHomebrew": "Already have Homebrew?",
"installWithoutHomebrew": "No Homebrew?",
"installManual": "Install from Terminal",
"installManualBody": "Choose “Copy Command”, paste it into Terminal and run it. Then return to Environment Check and click “Recheck”.",
"installOpenHomebrew": "Open Homebrew",
"installStepTwo": "If the tools are missing, click “Install dependencies”.",
"installStepThree": "MP4Flow checks FFmpeg and ffprobe again automatically. If both are ready, you can start converting.",
"installHelp": "Follow the official installation instructions and complete any “Next steps”. Then return to MP4Flow and click “Install dependencies”.",
"homeLabel": "MP4Flow home",
"navLabel": "Main navigation",
"languagePickerLabel": "Language",
Expand All @@ -66,7 +70,7 @@
"faqQualityQ": "Will converting a video make the file smaller?",
"faqQualityA": "Not always. Smart Convert can copy compatible video without re-encoding. Set a target size in Export Settings, or lower the resolution. Size is approximate; re-encoding may reduce quality.",
"faqSetupQ": "What do I need to get started?",
"faqSetupA": "Use macOS 13+ on Apple silicon or Intel. Drag MP4Flow from the DMG to Applications, then install FFmpeg and ffprobe separately. The guide includes Homebrew steps.",
"faqSetupA": "Use macOS 13+ on Apple Silicon or Intel. Drag MP4Flow to Applications, then open Environment Check to set up FFmpeg and ffprobe.",
"exportBody": "Set an approximate size, choose audio, and keep or burn a text-subtitle track.",
"exportDetail": "All audio kept by default",
"recoveryTitle": "Queue Recovery",
Expand Down
Loading
Loading