ogg2mp3 - convert ogg audio to mp3 on sync (iOS-safe audio)

AnkiWeb addon 282618623

Converts ogg-family audio to mp3 via ffmpeg before sync, rewrites sound tags, trashes originals, with configurable search and manual trigger.
AI-generated summary; may contain mistakes.

bugfix-workaroundmobile-compatible

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-07-21
Anki versions
25.09.4~
Description language
en

Maintenance

active

  • Last update or commit was 72 days before the snapshot (2026-07-21).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.5025.09.4+2026-07-21
History across monthly snapshots

Loading…

Similar addons

OGG To MP3 media converter

Converts OGG media to MP3 and requires ffmpeg, installable via winget on Windows or apt on Ubuntu.

export

Rating 4 πŸ‘ 3 Β· πŸ‘Ž 1 Anki 24.11~ Updated 2025-01-12
Audio File Speed Control

Permanently speeds up audio embedded in Anki cards using FFmpeg while preserving pitch, with preview, batch processing, undo, and supports common formats.

note-management

Rating 2 πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.66~ Updated 2026-02-18
Generate Audio

Generates pronunciation audio for vocabulary terms using macOS say, converts it to MP3 with ffmpeg, attaches it to Anki notes, and supports IPA generation.

card-creation

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.02.7~ Updated 2026-04-29

README

ogg2mp3

Anki add-on. iOS cannot play ogg, oga, or opus, and mining tools (Yomitan, subs2srs) save whatever bytes their audio source serves β€” so unplayable audio leaks into collections one card at a time.

Before every sync, this add-on finds notes referencing ogg-family audio, converts the files to mp3 with ffmpeg, rewrites the [sound:...] tags, and trashes the originals. Your phone only ever sees mp3. A manual trigger lives at Tools > "Convert ogg audio to mp3".

Requirements

  • ffmpeg on PATH
  • Anki 2.1.50+

Configuration

  • search β€” Anki query scoping which notes are touched (default: whole collection, e.g. "deck:General")
  • delete_originals β€” trash source files after conversion (default true)

Install

From AnkiWeb with code 282618623 (https://ankiweb.net/shared/info/282618623), or zip __init__.py, config.json, config.md, and manifest.json into an .ankiaddon file. On nix, build the repo with anki-utils.buildAnkiAddon.