Michael Z Freeman
2021-Jul-25 10:33 UTC
[Icecast] Need help with streaming multiple file types and bitrates
Hi, 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. Cheers Michael ------ Original Message ------ From: "Lorenz Reichelt" <lr at pripple.de> To: "Michael Z Freeman" <michael at michaelzfreeman.org>; "Icecast streaming server user discussions" <icecast at xiph.org> Sent: 24/07/2021 19:45:02 Subject: Re: [Icecast] Need help with streaming multiple file types and bitrates>Hi :) So running it all through ezstream and outputting a flac stream to icecast is not your preferred option, is it? Just to clarify. How are you streaming the files? Best
Petr Pisar
2021-Jul-25 12:36 UTC
[Icecast] Need help with streaming multiple file types and bitrates
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. -- Petr -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/icecast/attachments/20210725/7b1b4c50/attachment.sig>