Skip to content
m110sPublic

About

AV1 / HEVC video converter for GNOME (GTK4 / libadwaita)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

86 Commits

Folders and files

Repository files navigation

Recast icon

Recast

AV1 / HEVC video converter for movies and TV series on the GNOME desktop — Rust, GTK4 and libadwaita.

An alternative to HandBrake with the focus on automatic analysis of the source and suggested settings: every value is a suggestion you can see and change.

Overview: the frame with the suggested crop and the source analysis

Features

  • Source analysis — black bar (crop) detection with variable aspect ratio warnings, interlace detection, noise measurement (→ film grain synthesis), a short test encode for the size and time estimate, and an optional VMAF-based quality search (SDR).
  • Encoders — SVT-AV1 (with Variance Boost), x265 (HEVC) and AV1 on the GPU through VAAPI; Auto picks the GPU for clean sources and SVT-AV1 for grainy ones.
  • HDR — HDR10 metadata is carried over; Dolby Vision can be kept as AV1 profile 10.1 (needs dovi_tool).
  • Tracks — per-track Copy / Opus / FLAC, downmix, language, title, default and forced flags; automatic selection by language rules; chapters copied or created every N minutes.
  • Many videos at once — every episode has its own settings; Apply Settings copies your changes to other episodes (tracks are matched by language, not by index).
  • Queue — pause / resume, lower CPU and I/O priority so the computer stays usable, output names from a template (Show.S01E01.2160p.HDR.AV1.Opus.7.1.MyEncode.mkv).
  • The source file is never modified.

Screenshots

Video settings
Video — every value starts as a suggestion; a changed one is highlighted and ↶ brings the suggestion back.
Tracks
Tracks — what happens with every audio and subtitle track, selected by language rules from Preferences.
Queue
Queue — the encode in progress, with the expected output on the Output tab.
Preferences
Preferences — encoders, default quality and encoder parameters.
Overview in the dark style
Dark style — Overview.
Tracks in the dark style
Dark style — Tracks.

Install (Flatpak)

The easiest way: a Flatpak bundle from the Releases page. It includes everything the app needs (ffmpeg with SVT-AV1, x265, Opus, libvmaf and zimg, plus dovi_tool); the GNOME 51 runtime comes from Flathub.

  1. Flatpak with the Flathub repository — already there on most distributions; if not, see flathub.org/setup or add Flathub with: flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  2. Download recast.flatpak from the latest release.
  3. Install it (the GNOME runtime is downloaded from Flathub the first time, a few hundred MB): flatpak install --user recast.flatpak
  4. Start Recast from the app menu, or with flatpak run rs.recast.Recast.

A newer version is installed the same way, over the old one. Remove: flatpak uninstall --user rs.recast.Recast

Notes: the GPU encoder (VAAPI) uses the graphics drivers from Flathub (tested with AMD / Mesa); settings are kept in ~/.var/app/rs.recast.Recast/; Open in Player uses the system default player.

Requirements (building from source)

  • GTK 4.22+ and libadwaita 1.9+
  • ffmpeg with libsvtav1, libx265, libopus, libvmaf and zimg (zscale)
  • optional: dovi_tool (Dolby Vision), a VAAPI driver with AV1 encoding (GPU encoder)

On Arch Linux:

sudo pacman -S --needed rust gtk4 libadwaita blueprint-compiler ffmpeg dovi-tool

System Check in the app (☰ menu or Ctrl+I) shows what was found and what is missing.

Build and run

cargo run --release

Install system-wide into /usr/local: ./install.sh (remove: ./install.sh --uninstall)

Install for the current user into ~/.local: ./install-user.sh (remove: ./install-user.sh --uninstall)

Flatpak

./flatpak/build.sh --install builds a Flatpak with its own ffmpeg, SVT-AV1, x265, libvmaf and dovi_tool (needs flatpak-builder, the GNOME 51 SDK and the rust-stable SDK extension).

Status

A personal project, vibe-coded with Claude.

Developed and tested on Arch Linux (AMD Ryzen, AMD Radeon RX 9060 XT). It works for the author's everyday use; expect rough edges elsewhere.

Credits

The videos in the screenshots are Blender Foundation open movies, licensed under CC BY 3.0: Tears of Steel (mango.blender.org), Sintel (durian.blender.org) and Big Buck Bunny (peach.blender.org). The Tears of Steel file was letterboxed to 1920×1080 for the crop demonstration.

License

GPL-3.0-or-later — see LICENSE.

About

AV1 / HEVC video converter for GNOME (GTK4 / libadwaita)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages