# Media Converter for Raycast

URL: https://www.raycast.com/leandro.maia/media-converter

> Convert, merge, trim and edit video, image and audio files with FFmpeg, turn video into GIFs, inspect media, and use presets on Mac and Windows.

- Install: raycast://extensions/leandro.maia/media-converter
- Author: [Leandro Maia](https://www.raycast.com/leandro.maia)
- Installs: 31,197
- Platforms: macOS, Windows
- Categories: Productivity, Design Tools, Media, AI Extensions
- Updated: 2026-12-03
- Source: https://github.com/raycast/extensions/tree/f5afc34b0341ef57c48cc1b534a15d88d038c4cb/extensions/media-converter/

## Commands

- **Convert Media**: Converts a media file to a different file format
- **Merge Media**: Concatenate multiple video or audio files into a single output file
- **View Conversion History**: Browse, re-run or clear your recent conversions
- **Manage Presets**: Create, edit and delete conversion presets
- **Inspect Media**: Inspect codecs, streams, dimensions, bitrate and metadata
- **Conversion Queue**: Run, monitor, cancel and retry queued conversions
- **Edit Media**: Trim losslessly, resize, crop, change speed or frame rate, remove or extract audio, normalize loudness, or edit subtitles

## AI tools

- **Convert Media**: Convert an image, video or audio file to a different file format
- **Merge Media**: Concatenate multiple video or audio files into a single output file

## README

<div align="center">
  <h1>Media Converter</h1>
  <p>Convert any media file with just a few keystrokes</p>
</div>

#### Features

- Convert videos, images, and audio files with a simple interface
- Support for all popular media formats
- **Video → Animated GIF** with quality palette generation
- **Trim** videos and audio via Start / End fields in Convert Media, or use lossless **Trim** (`-c copy`, with optional in-place replacement via Trash / Recycle Bin) in **Edit Media**
- **Replace original file** — optional checkbox in Convert Media, Manage Presets, and Edit Media → Trim to move the original to Trash / Recycle Bin once processing succeeds
- **Video codec selection** for `.mp4` and `.mkv` (`H.264`, `H.265 / HEVC`, `AV1` via `libsvtav1`/`libaom-av1`, and hardware-detected NVIDIA NVENC)
- **Strip metadata** (EXIF, GPS, tags) for privacy — per-run toggle or a default preference
- **Custom output folder** — save converted files anywhere (per-run or as a preference)
- **Before/After size comparison** in the success toast (e.g. "saved 42 MB (58%)")
- **Live progress %** and ETA for video and GIF conversions
- **Target file size** for video — enter an approximate MB limit and the extension calculates a two-pass bitrate
- **Persistent conversion queue** — add multiple conversions, reorder, cancel, retry, and recover jobs interrupted by Raycast closing
- **Media Inspector** — view container, duration, codecs, dimensions, frame rate, bitrate, audio details, and metadata
- **Editing tools** — resize/crop, change playback speed, extract audio, normalize loudness, burn subtitles, or remove subtitle streams
- **Media history** — browse conversions and merges; re-run conversions, open outputs, or copy FFmpeg commands
- **Presets** — built-in presets (Web WebP, Email MP4, Podcast MP3, Twitter GIF, …) plus save-your-own
- **Merge / concatenate** multiple video or audio files with automatic fast stream-copy or re-encode fallback
- Simple customization of the quality of the output file; precise control by enabling it in extension preferences
- Smart file naming to prevent conflicts
- Automatic FFmpeg installation and management
- Copy FFmpeg command to clipboard to inspect/learn/run it manually in terminal

#### Supported Formats

| Media Type | Supported Input Formats                                                                                                                            | Supported Output Formats                 |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| Video      | MOV, MP4, AVI, MKV, MPG, WEBM, TS, MPEG, VOB, M2TS, MTS, M4V, FLV, 3GP, ASF, WMV, RMVB, OGV, MXF, NUT, DV, GXF, RM, CDXL, WTV, M3U8, MPD, SEG, TXD | MP4, AVI, MKV, MOV, MPG, WEBM, **GIF**   |
| Image      | JPG, JPEG, PNG, WEBP, HEIC (macOS, or Windows/Linux with FFmpeg 7+), TIFF, TIF, AVIF, BMP, PCX, TGA, RAS, SGI, PPM, PGM, PBM, PNM, XBM, XPM, ICO, JP2, J2K, PCD, CIN, WBMP, XFACE   | JPG, PNG, WEBP, HEIC (macOS), TIFF, AVIF |
| Audio      | MP3, AAC, WAV, M4A, FLAC, AIF, AIFF, OGG, OGA, ALAC, WMA, OPUS, AMR, CAF, AU, SND, APE, DSF, DFF, MPC, WV, SPX, XA, RA                             | MP3, AAC, WAV, FLAC, M4A                 |

#### Usage

##### Convert Media

1. Open Raycast and search for "Convert Media"
2. Select files to convert (⌘ + click for multiple) OR select files in Finder before opening the extension
3. (Optional) Pick a **Preset**, adjust **Trim**, toggle **Strip metadata**, or change the **Save to** folder
4. Choose your desired output format and quality settings (defaults are fine)
5. For supported video outputs, optionally enter a **Target Size** in MB
6. Press &#8984;↵ to start conversion, or use **Add to Conversion Queue** (⌘⇧↵)
7. After conversion, a toast shows the size savings (e.g. "saved 42 MB (58%)"). Press &#8984;O to open the new file.

Long-running conversions can be cancelled from the progress toast or with ⌘..

###### Converting video to GIF

Select any video file, pick `.gif` as the output format, then choose frame rate (10/15/24/30 fps), width, and whether the GIF should loop. The extension uses FFmpeg's `palettegen` + `paletteuse` pipeline for high-quality GIF output.

##### Merge Media

1. Search for "Merge Media" in Raycast
2. Select 2+ video files OR 2+ audio files (all must be the same type)
3. Pick an output format and filename
4. Turn on "Always re-encode" if your inputs have different codecs/resolutions; otherwise the extension tries fast stream-copy first.

##### Inspect Media

Open **Inspect Media** with files selected in Finder, or choose files in the command. The inspector shows file size, container, duration, bitrate, video and audio stream details, subtitle streams, and embedded metadata.

##### Conversion Queue

Use **Add to Conversion Queue** from Convert Media, then keep the **Conversion Queue** command open while jobs run. Jobs are stored between launches and run one at a time. You can reorder pending jobs, cancel the active job, retry failed/cancelled/interrupted jobs, open completed outputs, and clear finished entries.

Raycast extensions cannot run as permanent background daemons. If Raycast or the extension process stops, the active job is marked interrupted the next time the queue opens and can be retried; pending jobs remain queued.

##### Edit Media

Open **Edit Media**, choose one file, and select an operation:

- Trim a video or audio file losslessly (`-c copy`), optionally replacing the original file in place
- Resize and/or crop an image or video
- Change audio or video playback speed from 0.25× to 40×. For video, optionally choose 24, 30, or 60 fps and remove audio in the same edit
- Change video frame rate to 24, 30, or 60 fps, keeping audio unless removal is selected
- Remove audio to create a silent MP4 video at its original speed
- Extract an audio stream as MP3, M4A, WAV, or FLAC
- Normalize loudness to a chosen LUFS target
- Burn an external subtitle file into video
- Remove embedded subtitle streams

##### View Conversion History

- Open "View Conversion History" to see your recent conversions grouped by day.
- For each entry: Open the file, show in Finder, re-run with the exact same settings (great after re-saving a source file), copy the FFmpeg command, or remove from history.
- Conversion, merge, and edit results are recorded in history.

##### Manage Presets

- "Manage Presets" lets you browse built-in presets (WebP 80, Podcast MP3, Twitter GIF, etc.) and create/edit/delete your own.
- Built-in presets can be duplicated to "My Presets" and then customized.
- From the Convert Media form, use "Save Settings as Preset…" (⌘S) to capture the current format, quality, trim, metadata and output folder as a reusable preset.

##### Preferences

You can also set defaults in extension preferences:

- **Default Image Output Format**: default output format for image conversions.
- **Default JPG Quality**: default JPG quality (`0` to `100`, step `5`).
- **Default WEBP Quality**: default WEBP quality (`Lossless (when supported)` or `0` to `100`, step `5`).
- **Default PNG Variant**: default PNG variant (`PNG-24` or `PNG-8`).
- **Default HEIC Quality (macOS only)**: default HEIC quality (`0` to `100`, step `5`).
- **Default TIFF Compression**: default TIFF compression (`Deflate` or `LZW`).
- **Default AVIF Quality**: default AVIF quality (`0` to `100`, step `5`).
- **Default Audio Output Format**: default output format for audio conversions.
- **Default Audio Quality Preset**: preset used in simple mode (`lowest`, `low`, `medium`, `high`, `highest`).
- **Default Video Output Format**: default output format for video conversions.
- **Default Video Codec (MP4 / MKV)**: default video codec for `.mp4` and `.mkv` outputs (`Format Default`, `H.264`, `H.265 / HEVC`, `AV1 (CPU)`, and NVIDIA NVENC variants).
- **Default Video Quality Preset**: preset used in simple mode (`lowest`, `low`, `medium`, `high`, `highest`).
- **Default GIF FPS**: default frame rate for video → GIF conversions (`10`, `15`, `24`, `30`).
- **Default GIF Width**: default output width for GIFs (`original`, `480`, `720`, `1080`).
- **Default Output Location**: `Same folder as input` or `Custom folder` (see next).
- **Custom Output Folder**: absolute path used when `Default Output Location` is set to `Custom folder`.
- **Preserve original files' date when modified**: when on (default), keeps the original file's Date Modified timestamp on converted outputs (skipped when Strip Metadata is enabled).
- **Strip Metadata By Default**: when on, converted files get `-map_metadata -1` applied so EXIF/GPS/tags are removed.

You can still override all values in the Convert Media form every time you run a conversion.

##### ✨ Ask Media Converter

1. Get started by typing @ in Raycast AI
2. Example prompts:
   - Convert the last mp3 file in @finder downloads to wav
   - Convert all png files on my @finder desktop to webp
   - Convert my last screen recording in @finder downloads to webm
   - Convert the heic photos in @finder desktop to png
   - Turn my last video in @finder downloads into a 15fps 720px looping gif
   - Trim the first 3 seconds off my last mp4 and save to Desktop
   - Merge the three mp3s on my @finder desktop into one file called interview.mp3
   - Compress my last mp4 without metadata

##### Advanced usage

###### Specify Local FFmpeg Path

Already have FFmpeg on your system but the extension didn't automatically detect it? Open the extension preferences and set the path to your FFmpeg executable.

###### More Conversion Settings (Advanced)

By default, audio and video formats will only propose 5 quality levels. Want more granular control, like encoding method, bitrate, bit depth, etc?
Open the extension preferences and turn on "More Conversion Settings (Advanced)".

##### Requirements

- FFmpeg:
  - **RECOMMENDED:** If no FFmpeg is auto-detected, the extension will install a correct binary executable. That binary will only be available for the extension (not system-wide), and will be uninstalled when the extension is uninstalled. On MacOS, that weights about 45.6 MB.
  - If FFmpeg is already installed (and auto-detected) and is of version 6.0+, that will be used
  - If you have a 6.0+ FFmpeg binary executable but the extension didn't auto-detect it, you can specify the path to that binary on the Welcome page under actions, &#9881; Specify Local FFmpeg Path (Advanced)

##### For Contributors

Image preference definitions are maintained in `src/config/image-preferences.json` and synced into `package.json`.

- Run `npm run generate:image-preferences` to write image preference entries into `package.json`.
- Run `npm run check:image-preferences` to verify `package.json` is in sync with `src/config/image-preferences.json`.

#### License

MIT License

#### Author

Created by [@leandro.maia](https://raycast.com/leandro.maia)
