[Icecast] Need help with streaming multiple file types and bitrates
petr.pisar at atlas.cz
Sun Jul 25 12:36:11 UTC 2021
V Sun, Jul 25, 2021 at 10:33:58AM +0000, Michael Z Freeman napsal(a):
> I'm using Liquidsoap. I have some DJ mixes (originally from C90 tape)
> that vary in bitrate. I could have a separate mount point for each mix
> but want to create a radio station like format with each mix playing one
> after another (with a jingle between each one or over quiet parts). So
> is there a way of doing that; playing one mix after another, with
> bitrate varying sometimes, without transcoding ? Looking at it I don't
> think there is but thought I'd ask anyway.
It's rather a matter of the client than Icecast. Icecast blindy forwards
a bit stream. If your client can cope with a stream which changes bitrate
between MP3 frames, then you will be fine.
I just made a test: I created two files, one 32-bkps and another 128-kbps MP3
file. I setup ezstream-0.6.0 to stream them in a loop without reencoding into
an Icecast server, and used mpv (ffmpeg-based) and mpg123 (an independ MP3
decoder implementation) without any problems. I saved a stream reproducing
3 loops of the 2 files and verified that the stream size is roughly
equivalent to a tripple of a sum of the two file sizes. Hence indeed no
recoding was performed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Icecast