FLAC Stream: Encoding Metadata into stream

Hello,

We are using a FLAC stream to feed our DAB+ transmitter. As stream host we use Icecast. Now I know that Icecast is not able to show the metadata, but it is possible to encode it into the stream.

After some research I found this optiond of FLAC.exe: --keep-foreign-metadata

Also found some information here: BASS_Encode_CastSetTitle & BASS_Encode_FLAC_Start

But after adding this as an additional encoder option mAirlist is not able to connect anymore and gives a BASS error -1.

Any tips or tricks here to get the metadata embedded so we can show it on DAB+ receivers?

Thanks!

The encoder doesn’t currently allow to inject “in-stream” (= inside payload) metadata, as we are using the traditional way of encoding provided by bassenc.dll, namely command-line encoders. These command-line encoders receive PCM data via STDIN, and output encoded data via STDOUT, and there is no way to inject metadata into them.

These BASSenc_* extensions (e.g. BASSenc_flac) are a relatively new thing, and I still have to investigate how they work, and if it made sense to replace the existing mechanisms with them.

1 Like