FLAC transcoding

Hello everyone !

I have tested 16-bit FLAC playback (on Chrome desktop, Chrome Android and Android mobile app) and have encountered different behaviors. To sum up :

1. If “internet quality” (“music quality”) is set to auto or high bitrate (1, 1.5 or 2 Mbps) :

Direct play, without transcoding, on Chrome desktop, Chrome Android and mobile app
= Expected behavior

2. If “internet quality” is set to any bitrate from 64 kbps to 320 kbps (useful to reduce mobile data usage) :

a. FLAC is transcoded to 128 kbps (whatever bitrate you choose) on Chrome desktop and Chrome Android
= Not the expected behavior (unless you choose 128 kbps :wink:)

b. FLAC won’t play at all (“PlaybackErrorNoCompatibleStream”) on Android mobile app
= Not the expected behavior

Am I doing something wrong or is this a bug ?

No, that’s a current bug we’re aware of. In moving to a newer version of FFmpeg for transcoding, we ran in to an issue where some streams (especially video) would stop early. We made some custom fixes to help work around this, but it’s causing FLAC to get repackaged incorrectly in some cases. We’re trying to get around this issue too - we’re adding some better options for the future as well.

1 Like