Post Reply 
Converting flac audio streams for internet radio use
10-03-2023, 12:11
Post: #1
Converting flac audio streams for internet radio use
I am a recent convert to Minim and am getting reliable conversion from hls (input) to kpbs320 (output) for internet radios. I want to convert flac audiostreams in the same way. Is there a workaround for this?
Find all posts by this user
Quote this message in a reply
10-03-2023, 13:14
Post: #2
RE: Converting flac audio streams for internet radio use
This is possible. To enable me to provide detailed instructions, please post a URL for a FLAC internet radio stream that you would like to play.
Find all posts by this user
Quote this message in a reply
10-03-2023, 15:33
Post: #3
RE: Converting flac audio streams for internet radio use
Thanks for your response. The radio streams I'm trying to get working are located at:

https://www.hiresaudio.online/superstereo-1/

An example stream is located at:

http://198.204.228.202:8160/flac
Find all posts by this user
Quote this message in a reply
10-03-2023, 18:17
Post: #4
RE: Converting flac audio streams for internet radio use
This is an Ogg/FLAC stream (FLAC wrapped in an Ogg container).

Some renderers should be able to play this stream directly when you put this URL in a .m3u playlist. If your renderer cannot do this, create a .m3u playlist containing these lines:

#EXTM3U
#EXTINF:-1,[SuperStereo1]
http://198.204.228.202:8160/flac

and put *:wav in the stream.transcode property. This uses MinimStreamer to transcode the stream losslessly from Ogg/FLAC to WAV.
Find all posts by this user
Quote this message in a reply
15-03-2023, 11:24
Post: #5
RE: Converting flac audio streams for internet radio use
Thanks. My internet radios won't play m3u streams, so I need to convert these to mp3 kbps320 to have any chance of playing them. Obviously, wav extensions don’t work for internet radios. Is there a way round this?
Find all posts by this user
Quote this message in a reply
15-03-2023, 12:53 (This post was last modified: 06-04-2023 14:14 by FakePlasticDunk.)
Post: #6
RE: Converting flac audio streams for internet radio use
Adding flac:mp3;320k to the stream.transcode line in the properties tab should do it, I think. Or if you want to transcode absolutely anything that comes through to mp3 at 320k then just one entry in the stream.transcode line *:mp3;320k should do it, I'd have thought.
Find all posts by this user
Quote this message in a reply
15-03-2023, 13:14
Post: #7
RE: Converting flac audio streams for internet radio use
This stream is FLAC packaged in an ogg container, so a stream.transcode setting of flac:mp3;320k won't work. I have been able to transcode this stream by doing the following:

1) Change the .m3u playlist entry to the following:

#EXTM3U
#EXTINF:-1,[SuperStereo1;ogg]
http://198.204.228.202:8160/flac

2) Add the following to stream.transcode:

ogg:mp3;320k

Alternatively, using *:mp3:320k should work for this stream but it might have undesired consequences when applied to other radio streams.
Find all posts by this user
Quote this message in a reply
15-03-2023, 17:04 (This post was last modified: 06-04-2023 14:13 by FakePlasticDunk.)
Post: #8
RE: Converting flac audio streams for internet radio use
Thanks for putting me right on that, Simon. Do you know why one would stream FLAC in an ogg wrapper? I've been told the Radio Paradise FLAC stream is done the same way. Are any FLAC streams just straight FLAC?
Find all posts by this user
Quote this message in a reply
15-03-2023, 17:19
Post: #9
RE: Converting flac audio streams for internet radio use
Native FLAC is problematical for radio streams because it starts with a header block saying how many audio samples are to follow. If this is set to zero, many renderers will refuse to play the stream.
Find all posts by this user
Quote this message in a reply
15-03-2023, 17:33 (This post was last modified: 06-04-2023 14:14 by FakePlasticDunk.)
Post: #10
RE: Converting flac audio streams for internet radio use
Interesting and helpful, thank you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)