scudo's junkie site

A stupid Chrome bug

Aug 25th, 2025 - scudo

Today I was testing the site under Ungoogled-Chromium to verify that now the page scales properly on mobile devices - since Firefox/Gecko has no such feature for web development - when the music page suddenly stopped working properly; some songs would immediately stop playing.

After much searching, I ended up looking at Chrome's logs (through chrome://media-internals/); there I found that the demux process was failing with a "data source error":

The error
Chrome's logs showing FFMpegAudioDecoder has no idea what the sample format is, followed by FFMpegDemuxer crashing with a data source error

The culprit MP3 files were all encoded using mp3float, since it's what FL Studio 21 uses; after re-encoding the files with FFMpeg to use libmp3lame, everything worked.

Imagine hitting an edge case like this again; a specific version of a specific MP3 encoding library of a specific DAW caused an error with a specific version of Chrome's FFMpeg audio demuxer. Not bad!