Page MenuHomePhabricator

Opus file has unrecognized codecs
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
File page reports: (Ogg media file, file size: 33.9 MB. Warning: None of the codecs used in this file are recognized.)
And transcodes cannot be generated

What should have happened instead?:
File should be recognized

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Strange, locally and on test.wikipedia.org this file works..

img_metadata column is empty string for this file
So should be fixable by running:

php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=Kp117-euxropa-unio.opus --end=Kp117-euxropa-unio.opus

[edit] There are 71 total opus files that have empty img_metadata. https://quarry.wmcloud.org/query/101051
Interestingly enough, they are all from the same 'batch' of files.

We can't filter on empty img_metadata I think. The broader set would touch... 2429927 files.. yikes.

For Commons please run:

php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=ANIME_OPENINGS_MIX_FULL_SONGS.ogg --end=ANIME_OPENINGS_MIX_FULL_SONGS.ogg
php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=Kp-sennumera-2024.opus --end=Kp-sennumera-2024.opus
php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=Kp101-kauxzoj-kaj-konsekvencoj.opus --end=Kp224-biciklaj-vojagoj.opus
php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=Pim_Philips_–_Science_Fiction.opus --end=Kp-Pim_Philips_–_Science_Fiction.opus
php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=Revolución_(Album_Completo)_–_Redimi2.ogg --end=Revolución_(Album_Completo)_–_Redimi2.ogg
php maintenance/run.php refreshImageMetadata --force --mediatype AUDIO --start=푸른하늘_은하수.opus --end=푸른하늘_은하수.opus

After running, this query should return less than 73 entries.
https://quarry.wmcloud.org/query/101051
Possibly entries will remain, and that's ok.

Mentioned in SAL (#wikimedia-operations) [2026-02-03T08:12:32Z] <Ammar> Ran refreshImageMetadata.php for multiple files for T414643

Ammarpad closed this task as Resolved.EditedFeb 3 2026, 8:15 AM
Ammarpad claimed this task.
Ammarpad subscribed.

All fixed. The query returns an empty result.