import { useGalleryStore } from "../../store"; import { FakeProgressBar, formatBytes } from "./fakes"; export function FfmpegStatusRow() { const ffmpegStatus = useGalleryStore((s) => s.ffmpegStatus); const ffmpegProgress = useGalleryStore((s) => s.ffmpegProgress); const ffmpegError = useGalleryStore((s) => s.ffmpegError); const retryFfmpegDownload = useGalleryStore((s) => s.retryFfmpegDownload); if (ffmpegStatus === "installed") { return (
Media engine ready
FFmpeg is installed — video thumbnails and metadata are available.
Media engine download failed
{ffmpegError}
You can keep going — photos work without it. Video thumbnails and metadata will start automatically once the download succeeds.
{ffmpegStatus === "unpacking" ? "Unpacking media engine..." : "Downloading media engine (FFmpeg)..."}
{ffmpegProgress ? ( {formatBytes(ffmpegProgress.downloaded_bytes)} / {formatBytes(ffmpegProgress.total_bytes)} ) : null}FFmpeg powers video thumbnails and metadata. It downloads once in the background — you can keep using the tour and the app while it finishes.
Phokus is a local-first media library: point it at your folders and it builds a fast, searchable gallery with thumbnails, AI tags, and visual search. Everything is processed on this machine — your photos and videos never leave it.
This short tour shows what to expect. Every step is skippable, and you can re-run it any time from Settings.