# Troubleshooting & FAQ

> Fast fixes for FFmpeg, Chromium, cache locations, output protection, and platform support questions.

## `aifilm doctor` says FFmpeg is missing

Install FFmpeg with `libx264` support:

- **macOS:** `brew install ffmpeg`
- **Ubuntu / Debian Linux:** `sudo apt update && sudo apt install -y ffmpeg libatomic1`

Then re-run `aifilm doctor`.

---

## `aifilm doctor` says Chromium could not launch

Install Playwright's lightweight headless Chromium shell:

- **macOS:** `python -m playwright install --only-shell chromium`
- **Ubuntu / Debian Linux:** `python -m playwright install --with-deps --only-shell chromium`

---

## Does PraisonAI Film work on Windows?

**Windows is currently unverified.** PraisonAI Film `0.1.0` is verified locally and in automated CI on **macOS** and **Ubuntu Linux**.

---

## Why did `aifilm render` refuse to overwrite my MP4?

By design, `aifilm render` protects existing files so an accidental command never clobbers a finished render. Pass `--overwrite` when you want to replace an existing `.mp4`:

```bash
aifilm render hello/film.yaml --out hello.mp4 --overwrite
```

---

## Where does `aifilm` store caches?

Reusable render and edit caches are stored in `$XDG_CACHE_HOME/aifilm` (or `~/.cache/aifilm`), keeping your project folder clean and portable. Override the cache directory anytime with:

```bash
export FILM_CACHE_DIR=/path/to/cache
```

---

## Does PraisonAI Film require an internet connection?

**No.** Once `aifilm`, FFmpeg, and the Playwright Chromium shell are installed, rendering runs 100% locally and offline with zero telemetry and zero cloud uploads.

---

## How do I remove or customize the `PraisonAI Film` watermark?

All generated films include a subtle transparent **`PraisonAI Film`** corner marker by default. Commercial licence holders can disable it by adding `watermark: false` to `film.yaml` (see [Licensing & Commercial Use](https://film.praison.ai/docs/reference/licensing.md)).

## Related pages

- [Step-by-Step Setup](https://film.praison.ai/docs/getting-started/install.md)
- [CLI Command Reference](https://film.praison.ai/docs/guides/cli-reference.md)
- [Offline Rendering & Portable Projects](https://film.praison.ai/docs/guides/offline-and-portability.md)
