Why Convert HEVC to H264?
HEVC files are H.265 codec with great compression but limited compatibility. Converting to H264 ensures H.264 codec with universal device support. Whether you're trying to play a video on your phone, edit footage for YouTube, share a clip on social media, or reduce file size for email, converting HEVC to H264 solves compatibility and usability problems.
This guide covers everything you need to know about HEVC to H264 conversion — from quick online tools for one-off conversions to professional desktop software for batch processing. We'll walk through multiple methods, recommended quality settings, common problems and their solutions, and expert tips for getting the best results.
What You'll Need
- A HEVC video file you want to convert
- An internet connection (for online converters) or desktop software (for offline conversion)
- Enough storage space for the output H264 file (typically similar size or smaller)
- Optional: headphones or speakers to verify audio after conversion
Method 1: Using a Free Online Converter (Quickest)
Online converters are the fastest way to convert HEVC to H264 without installing any software. They're perfect for one-off conversions and files under 500MB. Here's how to use them:
Open your web browser and go to a free online HEVC to H264 converter (see recommended tools below)
- CloudConvert, Convertio, and Online-Convert are reliable options
- Look for a converter that specifically supports ${from} input and ${to} output
Upload your HEVC file by clicking the "Choose File" or "Select File" button, or drag and drop the file onto the page
- Most online converters accept files up to 100MB-1GB depending on the service
- For larger files, consider using a desktop tool instead
Select H264 as the output format from the dropdown or format selector
Adjust quality settings if the converter offers them
- Video codec: H.264 for maximum compatibility, H.265 for smaller files
- Resolution: Keep original or select 1080p/720p
- Bitrate: Higher = better quality but larger file
- Frame rate: Match your source (24, 30, or 60 fps)
Click the "Convert" or "Start" button and wait for the process to complete
- Conversion time depends on file size and the service's server load
- Most online converters show a progress bar
- Don't close the browser tab during conversion
Download your converted H264 file by clicking the "Download" button
- Some services email you a download link
- Save the file to a location you'll remember
Pro Tip: For files over 500MB, online converters may be slow or hit file size limits. Desktop tools like HandBrake or FFmpeg handle large files faster and without limits.
Method 2: Using HandBrake (Free Desktop Tool — Best for Quality)
HandBrake is a free, open-source video transcoder that offers professional-level control over conversion settings. It's the best choice for users who convert videos regularly or need specific quality settings.
Download and install HandBrake from handbrake.fr (free, available for Windows, Mac, and Linux)
- Always download from the official site to avoid malware
- Install like any standard application
Open HandBrake and click "Open Source" in the top-left corner to select your HEVC file
- You can also drag and drop the file into the HandBrake window
- HandBrake will analyze the file and display its properties
In the "Summary" tab, set the output format to MP4
- MP4 is recommended for maximum compatibility
- MKV supports multiple audio tracks and subtitles
Go to the "Video" tab and configure the codec and quality
- Video Codec: H.264 (recommended) or H.265 for smaller files
- Quality: Set RF (Rate Factor) — lower = higher quality (RF 20-23 is good for most uses)
- Frame Rate: Same as source (select "Same as source" and "Constant Framerate")
- Encoder Preset: "Fast" for speed, "Slow" for better compression
Configure audio settings in the "Audio" tab
- Codec: AAC (recommended for compatibility) or AC3
- Bitrate: 160kbps for standard, 256kbps for high quality
- Mixdown: Stereo for most content
Set the destination file path at the bottom of the window ("Save As")
- Choose where you want the converted file saved
- Give it a clear filename
Click "Start Encode" (or press Ctrl+E / Cmd+E) to begin conversion
- A progress bar appears at the bottom
- Conversion time depends on file size and your computer's speed
- You can queue multiple files for batch conversion
Once complete, navigate to your output folder and verify the H264 file plays correctly
Pro Tip: Use H.265 (HEVC) codec instead of H.264 for files that are about 50% smaller with similar visual quality. However, H.265 is not supported by all devices — check compatibility first.
Method 3: Using FFmpeg (Command Line — Maximum Control)
FFmpeg is the most powerful video conversion tool available. It's a command-line tool used by professionals and in automated workflows. While it requires learning commands, it offers unparalleled control and speed.
Install FFmpeg on your system
- Windows: Download from ffmpeg.org or use "winget install ffmpeg"
- Mac: Install via Homebrew: "brew install ffmpeg"
- Linux: Use your package manager: "sudo apt install ffmpeg" or "sudo dnf install ffmpeg"
Open a terminal (Command Prompt on Windows, Terminal on Mac/Linux)
Run the basic conversion command
ffmpeg -i input.hevc -c:v libx264 -c:a aac -preset fast -crf 23 output.h264Wait for the conversion to complete. FFmpeg shows progress in the terminal
Verify the output file plays correctly in a media player
Advanced FFmpeg Settings
For more control over the conversion quality and output, use these advanced FFmpeg options:
# High quality with H.264
ffmpeg -i input.hevc -c:v libx264 -preset slow -crf 18 -c:a aac -b:a 256k output.h264
# Smaller file with H.265
ffmpeg -i input.hevc -c:v libx265 -preset medium -crf 28 -c:a aac -b:a 128k output.h264
# Batch convert all files in a folder
for f in *.hevc; do ffmpeg -i "$f" -c:v libx264 -c:a aac output.${f%.hevc}.h264"; doneWarning: FFmpeg requires command-line knowledge. If you're not comfortable with the terminal, use HandBrake or an online converter instead. Always test with a small file first to verify your command works.
Method 4: Using VLC Media Player (Free, Already Installed)
VLC Media Player isn't just for playing videos — it has a built-in converter that handles HEVC to H264 conversion. If you already have VLC installed, this is a convenient option.
Open VLC Media Player
Click "Media" in the menu, then select "Convert / Save" (or press Ctrl+R / Cmd+R)
Click "Add" and select your HEVC file, then click "Convert / Save"
In the "Settings" section, click the profile dropdown and select the H264 profile (e.g., "Video - H.264 + MP3 (MP4)")
- If no exact profile exists, choose the closest one and click the wrench icon to customize
- You can adjust codec, bitrate, and resolution in the profile settings
Click "Browse" to set the destination filename and location, then click "Start"
VLC will show a progress bar in the player window. Wait for conversion to complete
- VLC may appear to be playing the video — this is normal during conversion
- The progress bar shows conversion progress
Pro Tip: VLC's conversion is slower than HandBrake or FFmpeg, but it's convenient if VLC is already installed and you need a quick conversion without installing new software.
HEVC vs H264 — Key Differences
Understanding the differences between HEVC and H264 helps you make informed decisions about which format to use and when:
- Container vs Codec: Both are video formats but with different characteristics
- File Size: Converting to H264 typically results in similar or smaller file size with modern codecs
- Compatibility: H264 is well-supported across platforms
- Quality: Converting between formats may involve slight quality loss due to re-encoding — use high quality settings to minimize this
- Audio Support: Both formats support audio, but codec compatibility varies
Recommended Quality Settings
For the best balance of quality and file size when converting HEVC to H264, use these recommended settings:
- Video Codec: H.264 (libx264) for compatibility, H.265 (libx265) for smaller files
- Quality (CRF): 18-23 (lower = better quality, higher = smaller file)
- Preset: "Fast" for quick conversion, "Slow" for better compression
- Resolution: Match source or downscale to 1080p/720p
- Frame Rate: Match source (24, 25, 30, or 60 fps)
- Audio Codec: AAC at 128-256kbps
- Container: MP4 (recommended) or MKV (for multiple tracks)
Common Problems and Solutions
When converting HEVC to H264, you may encounter these common issues. Here's how to fix them:
Problem: Output File Has No Audio
This happens when the audio codec in your HEVC file isn't compatible with the H264 container, or the audio track wasn't selected during conversion.
- Solution 1: In HandBrake, go to the Audio tab and make sure an audio track is selected
- Solution 2: In FFmpeg, explicitly specify audio codec: -c:a aac
- Solution 3: Check if the source file actually has an audio track using MediaInfo
- Solution 4: Try a different converter — some handle audio better than others
Problem: Video Quality Is Poor After Conversion
Low quality usually means the bitrate is too low or the wrong codec settings were used.
- Solution 1: Increase the quality setting (lower CRF in HandBrake/FFmpeg)
- Solution 2: Use H.264 instead of older codecs for better quality at same bitrate
- Solution 3: Don't upscale — keep the original resolution or downscale only
- Solution 4: Use a higher bitrate preset (e.g., 10+ Mbps for 1080p)
Problem: Conversion Is Very Slow
- Solution 1: Use a faster encoder preset in HandBrake (e.g., "Fast" or "Very Fast")
- Solution 2: In FFmpeg, use -preset fast or -preset ultrafast
- Solution 3: Close other applications to free up CPU for conversion
- Solution 4: For very large files, use a desktop tool instead of online converters
- Solution 5: GPU acceleration: some converters support NVIDIA NVENC or AMD AMF for faster encoding
Problem: File Size Is Too Large
- Solution 1: Use H.265 (HEVC) codec — about 50% smaller than H.264 at same quality
- Solution 2: Lower the bitrate or increase CRF value
- Solution 3: Reduce resolution (e.g., 4K to 1080p, 1080p to 720p)
- Solution 4: Reduce frame rate (e.g., 60fps to 30fps)
- Solution 5: Use two-pass encoding for better quality at lower bitrates
Problem: Subtitles Are Missing
Subtitle issues can occur when converting between formats.
- Solution 1: In HandBrake, go to the Subtitles tab and add the subtitle track
- Solution 2: In FFmpeg, use -c:s mov_text to convert subtitles to MP4-compatible format
- Solution 3: Burn subtitles into the video if you want them always visible
- Solution 4: Export subtitles as a separate SRT file and load them manually
Troubleshooting Table
- Error "codec not found": Install the required codec pack or use a different converter
- Error "cannot open file": The file may be corrupted — try repairing it first
- Audio out of sync: Use -vsync 1 in FFmpeg or adjust audio delay in HandBrake
- Black bars in output: Check aspect ratio settings — use "Keep Display Aspect Ratio"
- Green frames: Update your video drivers and converter software to latest version
Best Practices for Batch Conversion
If you need to convert many HEVC files to H264, follow these best practices for efficiency:
- Use HandBrake's queue feature: add multiple files and convert them all at once
- Use FFmpeg in a shell loop for automated batch conversion (see code example above)
- Create a consistent output folder structure for organized file management
- Use the same quality settings across all files for consistent results
- Convert overnight or when not using the computer for large batches
- Verify a few output files before processing the entire batch
Platform-Specific Notes
Different operating systems have different tools and considerations for HEVC to H264 conversion:
Windows
- HandBrake works great on Windows with full GPU acceleration support
- Windows users can also use the built-in Windows Media Player for basic conversion
- PowerShell can run FFmpeg commands and batch scripts easily
- Clipboard monitoring tools can automate conversion workflows
macOS
- HandBrake is optimized for Mac with Metal GPU acceleration on Apple Silicon
- QuickTime Player can convert some formats via File > Export As
- Homebrew makes installing FFmpeg easy: "brew install ffmpeg"
- Automator can create batch conversion workflows for repeated tasks
Linux
- FFmpeg is available from all major package managers
- HandBrake has a Linux GUI version (ghb) available
- Shell scripts make batch conversion powerful and automatable
- Cron jobs can schedule conversions during off-hours
Mobile (iOS and Android)
- Online converters work in mobile browsers for small files
- Apps like "Video Convert" (Android) and "The Video Converter" (iOS) handle on-device conversion
- For large files, convert on a computer and transfer to your phone
- Cloud storage (Google Drive, Dropbox) can bridge mobile and desktop conversion
Frequently Asked Questions
**Will I lose quality converting HEVC to H264?** — Re-encoding video always involves some quality loss, but with proper settings (high bitrate, CRF 18-23, H.264 codec), the loss is visually imperceptible. Avoid multiple consecutive conversions — always convert from the original source when possible.
**How long does HEVC to H264 conversion take?** — Conversion time depends on file size, duration, codec complexity, and your hardware. As a rough guide: a 10-minute 1080p video takes 2-5 minutes on a modern computer with H.264. H.265 encoding takes 2-3x longer. Online converters add upload/download time.
**Is it free to convert HEVC to H264?** — Yes! All tools recommended in this guide — HandBrake, FFmpeg, VLC, CloudConvert, Convertio — offer free conversion. Some online services have file size limits on free tiers but are still free for most uses.
**Can I convert HEVC to H264 without software?** — Yes, online converters like CloudConvert and Convertio work entirely in your browser with no installation. However, for large files or frequent conversions, desktop software is faster and more reliable.
**What's the maximum file size for online conversion?** — Most free online converters limit files to 100MB-1GB. CloudConvert allows up to 1GB on free plans. For larger files, use HandBrake or FFmpeg on your computer.
**Can I batch convert multiple HEVC files?** — Yes. HandBrake has a built-in queue feature. FFmpeg can batch convert using shell loops. Online converters typically handle one file at a time on free plans.
Conclusion
Converting HEVC to H264 is straightforward with the right tools. For quick, one-off conversions, use an online converter like CloudConvert. For regular use or large files, HandBrake offers the best balance of quality and ease. For maximum control and automation, FFmpeg is the professional choice. And if you already have VLC installed, its built-in converter works in a pinch.
Remember to always keep your original HEVC files as backups, use high quality settings to minimize quality loss, and test your output files before deleting the source. With the methods and settings in this guide, you can reliably convert HEVC to H264 for any purpose — playback, editing, sharing, or archiving.