Media

Convert audio and video between mp4, webm, mov, mp3, wav, m4a, flac and ogg, extract the audio from a video, trim clips, turn video into a GIF and compress video, using ffmpeg, for free. No accounts, files deleted after processing.

About the media tool

The Media tool converts audio and video files with ffmpeg, the same engine many professional tools use. Change a video to MP4 or WebM, turn a recording into MP3, or pull just the soundtrack out of a video.

The other tabs extract the audio from a video, trim a clip to the part you want, turn part of a video into a looping GIF, and compress a video to a smaller MP4.

Your file is uploaded to Anvil's server, processed in a temporary folder and deleted as soon as the result has been sent to you.

How to use it

  1. Drop an audio or video file onto the upload area, or click it to browse. Files can be up to 200 MB.
  2. Choose the target format. To keep only the sound from a video, open the extract audio tab (or tick Extract audio only here). For audio output you can also choose a bitrate.
  3. Press Convert, then download the converted file. To extract audio, trim, make a GIF or compress a video, open the matching tab above the upload area instead.

What it supports

  • Video: MP4, WebM, MOV
  • Audio: MP3, WAV, M4A, FLAC, OGG
  • Inputs also include MKV and most other common audio and video files
  • Extract the audio from a video as MP3, M4A, WAV, FLAC or OGG
  • Trim audio and video, in the same format as the original
  • Video to GIF, up to 15 seconds and 640 px wide
  • Video compression to MP4 (H.264) at three levels

Limits worth knowing

  • One file at a time, up to 200 MB.
  • Converting between lossy formats, for example MP3 to OGG, re-encodes the sound and can lower quality slightly. Start from the best source you have.
  • Long, high resolution videos take longer to convert, since the server is shared and modest in size.
  • Trimming in precise mode, GIFs and video compression re-encode the video, which the free server supports up to 1080p. Fast trimming copies the video without re-encoding and has no size limit, but can start a second or two early.
  • A GIF can be up to 15 seconds long, 150 frames and 640 px wide. GIFs are much larger than the same clip as video, so keep them short.
  • DRM-protected files cannot be converted.

Common questions

How do I get the audio from a video?

Open the extract audio tab, drop the video, choose an audio format such as MP3 and press Extract audio. A video with no sound track gives a clear message instead. The guide on extracting audio from a video walks through it step by step.

Which bitrate should I choose?

128 kbps is fine for speech and casual listening, 192 to 256 kbps suits most music, and 320 kbps is the highest quality MP3 setting. Lossless formats such as WAV and FLAC do not use a bitrate setting.

How do I trim a video or audio file?

Open the trim tab, drop your file, play it and use Set start here and Set end here, or type the times. Precise mode gives an exact cut by re-encoding; fast mode copies the file untouched, which is instant but can start a second or two early on video.

How do I turn a video into a GIF?

Open the video to GIF tab, drop the video, mark where the clip starts, then choose its length, frames per second and width. GIFs are limited to 15 seconds, 150 frames and 640 px wide so they stay a reasonable size.

How much will compressing a video save?

It depends on the video. Light keeps the resolution and mostly trims the bitrate, Balanced caps the picture at 720p and Strong at 480p, which usually saves the most. The result is always an MP4, and you can compare the sizes before you download.

Is there a limit on file size?

Yes, 200 MB per file. If your video is bigger, trim it or compress it first.

Are my recordings kept?

No. Files are deleted from the server right after the converted version is sent back. Anvil does not store them or keep a history.

Guides for this tool