Convert Video with VLC, FFmpeg, or HandBrake

By FileConvertLab

Published: | Updated:

VLC, FFmpeg, and HandBrake logos as free video converter tools
Three free video converters: VLC Media Player (GUI), FFmpeg (command line), and HandBrake (GUI with presets)

VLC is a capable video converter for one-off jobs, and together with two other free tools it handles almost every video conversion task: VLC for quick one-off conversions with no extra software, FFmpeg for fast lossless remuxing and batch automation from the command line, and HandBrake for quality-controlled re-encoding with presets for every device.

For quick conversions without installing anything, our online video converter handles the common formats (for example MKV to MP4) — you upload from any browser and the conversion runs on our servers. The desktop tools below are better for large files, batch jobs, or regular conversion work.

VLC Video Converter: Quick Conversions Without Extra Software

VLC is primarily a media player, but its built-in converter handles most common format changes without installing additional software.

How to convert video with VLC

  1. Open VLC → Media → Convert/Save (Ctrl+R on Windows)
  2. Click Add and select your video file
  3. Click the Convert/Save button
  4. In the Profile dropdown, choose your target format:
    • Video — H.264 + MP3 (MP4) — universal MP4
    • Video — H.265 + MP3 (MP4) — smaller files, modern devices
    • Audio — MP3 — audio only
  5. Set the destination file path (include the correct extension)
  6. Click Start

VLC re-encodes by default, which takes longer than remuxing — on a long video, expect it to run for a good while, depending on your CPU and settings. The profile editor (wrench icon) has "Keep original video track" and "Keep original audio track" options for a copy without re-encoding, but results vary by container; FFmpeg is the more reliable tool for that.

Extract MP3 audio from video with VLC

Use the same Convert/Save dialog but select the Audio — MP3 profile. VLC drops the video stream and encodes only the audio. This is useful for extracting a soundtrack, podcast recording, or voiceover from a video file.

Convert Video with FFmpeg: Fast, Lossless, Scriptable

FFmpeg is a command-line tool that runs on Windows, Mac, and Linux. It's faster than VLC for most tasks because it can remux — move video streams between containers without re-encoding.

Install FFmpeg

  • Mac: brew install ffmpeg
  • Windows: download from ffmpeg.org, extract, add to PATH
  • Linux: sudo apt install ffmpeg

MKV to MP4 (lossless remux)

ffmpeg -i input.mkv -c copy output.mp4

The -c copy flag copies all streams without re-encoding, so even a multi-gigabyte MKV finishes about as fast as your disk can copy it. Use this whenever the MKV contains H.264 or H.265 video — it's lossless and instant.

MKV to MP4 with audio re-encode

ffmpeg -i input.mkv -c:v copy -c:a aac output.mp4

If the MKV contains FLAC or DTS audio (not supported in MP4), add -c:a aac to re-encode only the audio.

Video is still copied losslessly.

Extract MP3 audio from video

ffmpeg -i video.mp4 -q:a 0 -map a audio.mp3

-q:a 0 uses variable bitrate at highest quality. -map a selects only the audio stream. Works with MP4, MKV, MOV, AVI — any format FFmpeg can read.

Convert MP4A / MPEG-4 Audio to MP3

"mp4a" is the codec tag players show for AAC audio in MP4-family files; audio-only files of this kind use the .m4a extension:

ffmpeg -i audio.m4a -codec:a libmp3lame -q:a 2 output.mp3

-q:a 2 is approximately 190 kbps variable bitrate — excellent quality. For our online converter, use the M4A to MP3 tool directly.

Batch convert a folder

Mac/Linux — convert all MKV files in the current folder to MP4:

for f in *.mkv; do ffmpeg -i "$f" -c copy "${f%.mkv}.mp4"; done

Windows PowerShell:

Get-ChildItem *.mkv | ForEach-Object { ffmpeg -i $_.Name -c copy ($_.BaseName + ".mp4") }

Convert Video with HandBrake: Quality Encoding with Presets

HandBrake is the best free GUI tool when you need to compress video while controlling quality — converting a 4K file for a tablet, shrinking a large video for sharing, or preparing content for specific devices.

  1. Open HandBrake and drag your video onto the window
  2. Choose a Preset from the right panel (Fast 1080p30 is a good default for general use; device-specific presets like Apple TV or Android are in the sub-menus)
  3. Set the output folder in the Save As field
  4. Click Start Encode — or Add to Queue for batch processing

HandBrake always re-encodes, which takes longer than FFmpeg remuxing but gives you control over the output size and quality.

Which Free Video Converter to Use

TaskBest toolSpeed
MKV → MP4, no quality changeFFmpeg -c copySeconds
Single file conversion, no CLIVLC or online toolMinutes
Compress video for sharing/storageHandBrakeMinutes–hours
Batch convert a folderFFmpeg loop or HandBrake queueVaries
Extract audio from videoFFmpeg or online toolSeconds

Summary

Use FFmpeg with -c copy for instant lossless remuxing (MKV → MP4 in seconds), HandBrake when you need quality-controlled re-encoding with presets, and VLC for occasional one-off conversions without installing anything new. For jobs without installing anything, the online video converter covers the common formats.

Related Tools

Frequently Asked Questions

How do I convert videos with VLC player?

Open VLC → Media → Convert/Save (Ctrl+R). Add your video file, click Convert/Save, choose a profile (e.g. Video - H.264 + MP3 (MP4)), set the output file path, and click Start. VLC will re-encode the video to the selected format. It's slower than remuxing but produces widely compatible output.

Is VLC a good video converter?

VLC is a capable free converter for occasional use. It handles most formats and needs nothing beyond VLC itself. Its limitations: batch conversion in the GUI is awkward, it has fewer quality controls than HandBrake, and it re-encodes by default (its keep-original-track options for a lossless copy are unreliable). For regular conversion work, HandBrake or FFmpeg give better results.

What is MP4A and how do I convert it to MP3?

mp4a is the codec tag for AAC audio (MPEG-4 Audio) that players show in their codec information. Audio-only files with it use the .m4a extension. VLC converts them to MP3 via Media → Convert/Save with the Audio - MP3 profile. Alternatively, use our online M4A to MP3 converter, which needs no setup.

What is the FFmpeg command to convert MKV to MP4?

The fastest command is: ffmpeg -i input.mkv -c copy output.mp4 — this remuxes the file (copies streams without re-encoding) in seconds. If the MKV contains codecs not supported in MP4 (like FLAC audio), add -c:a aac to re-encode only the audio: ffmpeg -i input.mkv -c:v copy -c:a aac output.mp4

How do I extract audio from a video with VLC?

Open VLC → Media → Convert/Save. Add the video file. In the Profile dropdown, select Audio - MP3 (or Audio - FLAC). Set an output path ending in .mp3. Click Start. VLC re-encodes the audio track only and discards the video. For an exact copy without re-encoding, use FFmpeg: ffmpeg -i video.mp4 -vn -c:a copy audio.m4a (for AAC audio).

What is HandBrake best for?

HandBrake excels at compressing video for storage or streaming while controlling quality. Its presets (Apple TV, Android, Web, etc.) make it easy to hit target devices without manual codec settings. It supports batch conversion through the queue. It's the best free GUI option for H.264/H.265 encoding with quality control.

Can I convert video formats without losing quality?

Yes, if you remux rather than re-encode. Remuxing moves the video stream from one container to another (for example MKV to MP4) without touching the video data — zero quality loss, very fast. Re-encoding compresses the video again, which degrades quality slightly. FFmpeg's -c copy flag performs remuxing. HandBrake always re-encodes, and VLC re-encodes by default.

How do I convert a whole folder of videos at once?

HandBrake has a built-in queue: drag a folder onto it to add all videos, set a profile, and start the queue. FFmpeg handles batch conversion with a shell loop: for f in *.mkv; do ffmpeg -i \"$f\" -c copy \"${f%.mkv}.mp4\"; done — this remuxes every MKV in the current folder to MP4.