Convert HEVC to OGG — Free Online Tool
Extract and convert audio from HEVC/H.265 video files into OGG format using the Vorbis codec — ideal for stripping audio from high-efficiency video streams into an open, widely compatible audio container. Since HEVC is a video-only format, this tool discards the video stream entirely and transcodes the accompanying audio to OGG Vorbis at quality level 4.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your HEVC file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
HEVC (.hevc) files contain a raw H.265 video stream, and often carry an audio track alongside it. During this conversion, FFmpeg completely drops the video stream — there is no video codec in OGG to remap it to — and focuses entirely on the audio. The audio is transcoded using libvorbis, Xiph.Org's open-source lossy audio encoder, and wrapped in an OGG container. This is a full audio re-encode, not a remux: the audio data is decoded from its original codec and re-compressed as Vorbis using a variable bitrate quality scale. The result is a standalone audio file with no video data, suitable for playback in any OGG-compatible player or browser.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool — in this browser-based context it runs as FFmpeg.wasm compiled to WebAssembly, executing entirely within your browser with no server involvement. |
-i input.hevc
|
Specifies the input file — a raw HEVC/H.265 elementary video stream. FFmpeg reads the H.265 video data and any associated audio track from this file for processing. |
-c:a libvorbis
|
Sets the audio codec to libvorbis, Xiph.Org's open-source Vorbis encoder. This re-encodes whatever audio was present in the HEVC source into the Vorbis format, which is the native and most compatible audio codec for the OGG container. |
-q:a 4
|
Sets the Vorbis variable bitrate quality level to 4 on a 0–10 scale, targeting approximately 128 kbps. This balances audio fidelity and file size well for both music and voice content extracted from HEVC footage. |
output.ogg
|
Defines the output filename and container format. The .ogg extension tells FFmpeg to wrap the encoded Vorbis audio stream in an OGG container — an open, patent-free format developed by Xiph.Org. No video data is written since OGG has no video codec mapping for H.265. |
Common Use Cases
- Extracting a voice-over or narration track from an H.265-encoded screen recording to publish as a standalone audio file
- Pulling the soundtrack from an HEVC-encoded film clip to use as background music in a video editor that prefers OGG Vorbis input
- Converting HEVC video lectures or tutorials into OGG audio for offline listening on media players that support Vorbis but not H.265 video
- Stripping audio from 4K or HDR HEVC footage to create lightweight preview audio tracks for review without transferring large video files
- Archiving dialogue or commentary from HEVC source files in an open, patent-free OGG Vorbis format for long-term storage
- Preparing audio extracted from HEVC clips for use in a web application or game engine that natively supports OGG Vorbis playback
Frequently Asked Questions
No — OGG is an audio container format and cannot store H.265 or any other video stream in a meaningful, playback-compatible way. FFmpeg automatically drops the video when targeting OGG output. The resulting file will contain only the audio track transcoded to Vorbis. If you need to keep the video, you should target a container like MKV or MP4 instead.
HEVC files commonly carry audio in AAC, AC-3, or DTS formats, though the specific codec varies by how the file was encoded. Regardless of the source audio codec, FFmpeg decodes it fully before re-encoding it as OGG Vorbis. This means there is a generation loss — the audio is decoded from its original lossy format and re-compressed as Vorbis. If the source audio quality was already degraded, the OGG output will reflect that. For best results, use source HEVC files with high-bitrate or lossless audio tracks.
The `-q:a` parameter for libvorbis uses a scale from 0 to 10, where 0 is the lowest quality (roughly 64 kbps) and 10 is the highest (roughly 500 kbps). Quality level 4 targets approximately 128 kbps, which is a good general-purpose setting for speech and music. To increase quality, change `-q:a 4` to `-q:a 6` or higher in the FFmpeg command; to reduce file size at the cost of fidelity, use `-q:a 2` or `-q:a 3`.
FFmpeg will attempt to copy global metadata tags (such as title, artist, or comment fields) from the source file into the OGG container, which supports Vorbis Comment metadata natively. However, HEVC raw stream files often contain minimal metadata compared to container formats like MKV or MP4, so the tags available for transfer may be limited. Chapter data is not preserved in this conversion since raw HEVC files do not carry chapter information.
The size difference can be dramatic. HEVC files include highly compressed video data that typically dominates file size — even 4K HEVC video at 10 Mbps dwarfs a 128 kbps audio track. Stripping the video and keeping only the Vorbis audio will usually reduce file size by 90–99%, depending on the video's resolution, bitrate, and duration. The resulting OGG file size depends almost entirely on audio duration and the chosen `-q:a` quality level.
Yes. On Linux or macOS, you can loop over files with a shell command like `for f in *.hevc; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f%.hevc}.ogg"; done`. On Windows Command Prompt, use `for %f in (*.hevc) do ffmpeg -i "%f" -c:a libvorbis -q:a 4 "%~nf.ogg"`. The browser-based tool processes one file at a time, but the displayed FFmpeg command is designed to be copy-paste ready for desktop batch workflows, especially useful for large HEVC files over 1GB.
Technical Notes
Because HEVC is a raw elementary video stream format rather than a muxed container, it does not have a standardized audio track structure — audio is typically implicit from the source workflow (e.g., a separately muxed MKV or MP4 that was demuxed). If your .hevc file has no embedded audio, the conversion will fail or produce a silent/empty output. OGG Vorbis uses variable bitrate (VBR) encoding controlled by the `-q:a` quality parameter rather than a fixed bitrate, which means file sizes will vary based on audio complexity. Vorbis is a mature, patent-free codec with broad support in web browsers (Firefox, Chrome) and open-source media players (VLC, mpv), but it is not natively supported by Apple devices without third-party apps. The OGG container does support multiple audio tracks and chapter markers, though this conversion produces a single Vorbis track and no chapter data. FLAC and Opus are alternative codecs available in the OGG container — Opus is preferable for low-bitrate speech, while FLAC provides lossless compression if the source audio justifies it.