Convert TS to OGA — Free Online Tool

Convert TS broadcast stream files to OGA (Ogg Audio) by extracting and encoding the audio track as Vorbis using FFmpeg. This is ideal for stripping audio from MPEG-2 transport streams — commonly recorded from TV broadcasts or live streams — into a compact, open-format audio file.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

TS (MPEG-2 Transport Stream) files contain multiplexed video, audio, and sometimes subtitle data designed for broadcast transmission. During this conversion, FFmpeg demultiplexes the TS container to isolate the audio stream, then discards all video data entirely. The extracted audio — which in broadcast TS files is typically AAC or AC3 — is then re-encoded (transcoded) into the Vorbis codec and wrapped in an OGA (Ogg Audio) container. Because Vorbis uses a fundamentally different compression model than AAC or AC3, this is a full transcode rather than a remux, and the audio quality is controlled by the -q:a variable bitrate quality scale. OGA is a pure audio-only variant of the Ogg container, so no video track is stored in the output at all.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg application, the open-source multimedia processing engine that handles demultiplexing the TS container, discarding the video stream, and transcoding the audio to Vorbis OGA.
-i input.ts Specifies the input MPEG-2 Transport Stream file. FFmpeg will parse the TS container's program map tables to identify all multiplexed video, audio, and data streams available for processing.
-c:a libvorbis Sets the audio codec to libvorbis, encoding the output audio using the open-source Vorbis lossy compression algorithm. Since the source TS audio (typically AAC or AC3) is not natively supported by the OGA container, this transcode step is mandatory.
-q:a 4 Sets the Vorbis variable bitrate quality level to 4 on a 0–10 scale, targeting approximately 128 kbps output. This is a balanced default for general broadcast audio content; increase the value toward 10 for higher quality at the cost of a larger OGA file.
output.oga Defines the output filename with the .oga extension, telling FFmpeg to write the encoded Vorbis audio into an Ogg container formatted as an audio-only OGA file, with all video data from the source TS excluded.

Common Use Cases

  • Extract the audio commentary or dialogue from a recorded broadcast TV program to create a standalone audio file for archiving or review
  • Pull the audio from a live-streamed event captured as a TS file — such as a sports broadcast or conference — to produce a podcast-ready episode in an open format
  • Convert AC3 or AAC audio embedded in broadcast TS recordings to Vorbis OGA for playback in open-source media players like VLC or players on Linux systems that prefer Ogg-based formats
  • Strip the audio from an HLS-recorded transport stream to get a lightweight audio file without needing to transcode or store the video
  • Archive the audio track from a digitized TV recording in an open, patent-free format using Vorbis rather than proprietary codecs like AAC or MP3
  • Extract music or soundtrack audio from a broadcast TS capture for personal listening in environments where Ogg Vorbis is the preferred audio format

Frequently Asked Questions

Yes, some quality loss is unavoidable because both AAC/AC3 (the typical audio codecs in TS files) and Vorbis are lossy formats. Transcoding from one lossy codec to another compounds the compression artifacts from both encoding stages. To minimize this, use a higher -q:a value (closer to 10) in the FFmpeg command. If the source TS contains a FLAC audio track, the quality loss would be less pronounced since you're starting from lossless.
The video stream is completely dropped. FFmpeg reads the TS container, identifies the audio track, and writes only that audio — re-encoded as Vorbis — into the OGA output. OGA is a strictly audio-only container format and cannot store video data, so all video frames from the original transport stream are discarded during processing.
By default, FFmpeg selects the first (or 'best' ranked) audio stream in the TS file, which is typically the primary language track. OGA does not support multiple audio tracks in a single file, so only one stream will be included in the output. If you need to extract a specific audio track from a multi-language broadcast TS, you can modify the FFmpeg command to add -map 0:a:1 (for the second audio track) before the output filename.
The -q:a flag sets the Vorbis variable bitrate quality on a scale from 0 (lowest quality, smallest file) to 10 (highest quality, largest file). The default of 4 targets roughly 128 kbps and is a reasonable balance for speech and general audio. For music extracted from a broadcast TS, consider using -q:a 6 or -q:a 7 (targeting ~192–224 kbps) for noticeably better fidelity. Simply replace the 4 in the command with your preferred value.
Metadata preservation from TS to OGA is limited and unreliable. MPEG-2 Transport Streams store metadata in structures like PMT and PAT tables rather than simple key-value tags, and this broadcast-specific metadata does not map cleanly to Ogg's Vorbis Comment tag format. Basic tags that FFmpeg can parse may be carried over, but program names, channel info, and timestamps embedded in the TS are typically lost. You can manually add metadata to the OGA output by appending -metadata title='Your Title' to the FFmpeg command.
Yes. On the command line, you can use a simple shell loop to process multiple files. On Linux or macOS, run: for f in *.ts; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f%.ts}.oga"; done. On Windows (PowerShell), use: Get-ChildItem *.ts | ForEach-Object { ffmpeg -i $_.FullName -c:a libvorbis -q:a 4 ($_.BaseName + '.oga') }. This applies the same Vorbis encoding settings to every TS file in the directory.

Technical Notes

OGA is a file extension used specifically for audio-only Ogg container files, distinguishing them from OGV (Ogg video) or generic OGG files. It natively supports Vorbis, FLAC, and Opus codecs — but not AAC or AC3, which are the codecs most commonly found in broadcast TS audio streams. This means a full transcode is always required for this conversion; there is no fast remux path available. One notable limitation is that OGA supports only a single audio stream per file, which means multi-track TS files (e.g., streams with multiple language dubs) will have all but one track silently dropped unless you explicitly select the desired track with -map. Subtitle streams and chapter data from the TS are also not carried over, as OGA has no mechanism to store them. The Vorbis codec's VBR quality scale (-q:a) is not directly comparable to a fixed bitrate — a -q:a 4 setting typically produces output around 128 kbps but will vary depending on the complexity of the audio content. For archival purposes where quality is critical, consider using -c:a flac in place of libvorbis to produce a lossless OGA/FLAC file, though this will result in significantly larger file sizes.

Related Tools