# YAFW for Raycast

URL: https://www.raycast.com/pablopunk/yafw

> Compress, convert, resize, trim, stabilize and optimize videos with ffmpeg, from the clipboard or Finder, and view your compression history.

- Install: raycast://extensions/pablopunk/yafw
- Author: [Pablo Varela](https://www.raycast.com/pablopunk)
- Installs: 6,017
- Platforms: macOS
- Categories: Productivity, Applications
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/886cbd73fe377ad1d8f0c17083e6cd4c96748a33/extensions/yafw/

## Commands

- **Compress Video**: Quickly compress any video
- **Open History**: See videos you've recently compressed
- **Convert To**: This command encodes the file in the selected folder.
- **Optimize**: The command allows you to optimize the selected video according to the selected template. There are 3 templates available: lighter weight, optimal and best quality. Under the hood, these settings affect the bitrate. GIFs are not currently supported for optimization.
- **Resize**: Specify width or height. If one of them is not specified, the other will be calculated automatically to maintain the aspect ratio of the original.
- **Stabilize**: The command allows to stabilize video
- **Trim**: Trim video by specifying start time and either end time or duration. Time format: seconds (e.g., '10') or HH:MM:SS (e.g., '00:00:10').

## README

### ▶︎ YAFW

> Yet Another FFMPEG Wrapper.

Compress videos easily from [Raycast](https://raycast.com). Zero config. From your clipboard, or the Finder.

#### Requirements

It *obviously* requires ffmpeg, but it does not come bundled with it. It will use the one from your system.

The easiest way to install ffmpeg is using [Homebrew](https://brew.sh/):

```bash
brew install ffmpeg
```

If it's not installed on a standard path, you can specify the path to ffmpeg in the extension settings.
