| Vorbis Quality | Average Bitrate | Equivalent MP3 Setting | Equivalent MP3 Bitrate |
|---|
| -q 10 | ~500 kbps | -b:a 320k | 320 kbps |
| -q 8 | ~256 kbps | -q:a 0 (V0) | ~245 kbps |
| -q 6 | ~192 kbps | -q:a 2 (V2) | ~190 kbps |
| -q 4 | ~128 kbps | -q:a 4 (V4) | ~165 kbps |
| -q 2 | ~96 kbps | -q:a 6 (V6) | ~130 kbps |
| -q 0 | ~64 kbps | -b:a 96k | 96 kbps |
As a rule of thumb: match or exceed the Vorbis bitrate when encoding to MP3. Converting a 192 kbps OGG to a 128 kbps MP3 introduces unnecessary quality loss.
ffmpeg -i input.ogg -c:a libmp3lame -q:a 0 output.mp3
VBR V0 (-q:a 0) gives the highest quality MP3 encoding and is the recommended default for any lossy-to-lossy transcoding.
ffmpeg -i input.ogg -c:a libmp3lame -b:a 320k output.mp3
OGG files use Vorbis Comment tags (TITLE, ARTIST, ALBUM, etc.) while MP3 uses ID3 tags. FFmpeg maps between them automatically:
ffmpeg -i input.ogg -c:a libmp3lame -q:a 0 \
-id3v2_version 3 -write_id3v1 1 output.mp3
Verify the tags transferred:
ffprobe -v error -show_entries format_tags output.mp3
Many games store their music as OGG files in the game directory. Common locations:
# Steam games
~/.local/share/Steam/steamapps/common/GameName/music/
~/.local/share/Steam/steamapps/common/GameName/data/audio/
# Unity games
GameName_Data/StreamingAssets/
GameName_Data/Resources/
# Unreal Engine games
GameName/Content/Audio/
mkdir -p soundtrack
find /path/to/game -name "*.ogg" | while read file; do
name="$(basename "${file%.ogg}")"
ffmpeg -i "$file" -c:a libmp3lame -q:a 0 \
-id3v2_version 3 "soundtrack/${name}.mp3" -y
done
counter=1
for file in *.ogg; do
[ -f "$file" ] || continue
ffmpeg -i "$file" -c:a libmp3lame -q:a 0 \
-metadata album="Game Soundtrack" \
-metadata track="$counter" \
-id3v2_version 3 "mp3/${file%.ogg}.mp3" -y
counter=$((counter + 1))
done
For more on batch processing, see our batch processing guide.
Use the OGG to MP3 converter online for quick conversions without installing FFmpeg. Upload your OGG file and download the MP3 in seconds. For other audio conversions, try the Audio Converter.
Always use the highest practical bitrate. Since this is a lossy-to-lossy conversion, you want to minimize the additional quality loss from re-encoding. V0 VBR or 320 kbps CBR is recommended regardless of the source quality. The extra file size is negligible compared to the quality preservation.
Do not upsample. If the OGG file is at 22.05 kHz (common for game sound effects), do not convert to a 44.1 kHz MP3. Let FFmpeg preserve the original sample rate — upsampling adds no information and wastes bitrate.
Check for Opus, not Vorbis. Some .ogg files actually contain Opus audio rather than Vorbis. FFmpeg handles both transparently, but the quality characteristics differ. Opus is a newer, more efficient codec — if the source is Opus, the MP3 output may be slightly lower quality at the same bitrate since Opus achieves better quality per bit. Check with:
ffprobe -v error -select_streams a:0 \
-show_entries stream=codec_name -of csv=p=0 input.ogg
Avoid multiple generations. If you received OGG files that were themselves transcoded from MP3 (common in some game mods), converting back to MP3 adds a third generation of lossy compression. Quality degrades with each generation. There is no good solution — the data is already gone.
For more on the OGG format, see our OGG vs MP3 comparison.
The file may not actually be OGG Vorbis despite having an .ogg extension. Some applications use .ogg for Opus, Speex, or even FLAC in an Ogg container. FFmpeg handles most Ogg variants, but very old or non-standard files may fail. Check the actual codec with ffprobe.
Some Vorbis Comment fields do not have standard ID3 equivalents. For example, REPLAYGAIN_TRACK_GAIN is a Vorbis Comment standard but has no ID3v2 equivalent. Custom or non-standard tags may be lost during conversion. Critical metadata (title, artist, album, track number, date, genre) should always transfer.
This is the generational loss from lossy-to-lossy transcoding. At V0/320k, artifacts should be minimal. If they are noticeable, the source OGG was likely encoded at a low quality setting. There is no way to recover the lost information — the MP3 can only work with what the OGG provides.
OGG Vorbis handles gapless playback natively (seamless transition between tracks). MP3 gapless playback depends on the LAME encoder info tag. FFmpeg with libmp3lame generates this tag automatically, but some older players may still insert tiny gaps between tracks.
Converting OGG Vorbis to MP3 trades a technically superior but less-compatible format for universal playback support. Use the highest practical MP3 bitrate (V0 VBR or 320 kbps CBR) to minimize generational loss from the lossy-to-lossy transcoding. Preserve metadata with ID3v2.3 tags, and keep the original OGG files as your higher-quality reference copies.
Ready to convert? Try our free OGG to MP3 converter — no registration required.