MinimServer Forum

Full Version: radio stutter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there, and prior thanks for any reply

I am running Minimserver 0.8.5.2 update 129 & Minimstreamer 0.7.1.4 ffmpeg version 4.0.4 on Linux Mint 19 Cinnamon

I am attempting to stream radio to Sony CMT-MX750Ni the url of the radio station is

https://live.rtrfm.com.au/stream1

The contents of my *.m3u reads as:

#EXTM3U
#EXTINF:-1,[+RTRFM;aac,48000] RTRFM
https://live.rtrfm.com.au/stream1

stream.transcode setting is *:aac

stream.converter setting is ffmpeg

Have successfully achieved playback after reading many posts in this forum however, am getting interrupted playback,stutter,buffering? not quite sure how to characterise the issue. Sounds mostly OK except it drops out intermittently.

Have installed Minimserver & Minimstreamer with same config on a Windows 10 box and have the same issue.

Also have tried multiple other devices for playback all have the same problem which leads me to believe the problem is server side.



Any help would be appreciated.

Kind regards

The_Plastic_Gangster
Thanks for letting me know about this and for providing a log. This stream has a few issues:

1) It sends an icy-metaint HTTP header (indicating the stream contains metadata in the ICY format) but the stream does not contain any metadata. This causes MinimStreamer to skip random portions of audio data, thinking they are metadata, which accounts for the stuttering you are hearing.

2) This is an ADTS stream with the ADTS headers in an unusual format. This causes MinimStreamer to skip the first part of the stream, looking for what it thinks is a valid header.

3) This is an https:// stream, which means that some players cannot play it directly (i.e., without MinimStreamer).

The most serious of these issues is 1). It means there is no possibility of MinimStreamer playing the stream correctly, even if MinimStreamer were updated to fix issue 2). I will add this fix to my to-do list.

Fortunately, there is a workaround. You can change the .m3u file for the stream to:

#EXTM3U
#EXTINF:-1,[;aac,48000] RTRFM
http://live.rtrfm.com.au/stream1

This bypasses MinimStreamer and tells the renderer to read the stream using http instead of https. I have verified that this works correctly on my renderer.
(10-11-2019 17:17)simoncn Wrote: [ -> ]Thanks for letting me know about this and for providing a log. This stream has a few issues:

1) It sends an icy-metaint HTTP header (indicating the stream contains metadata in the ICY format) but the stream does not contain any metadata. This causes MinimStreamer to skip random portions of audio data, thinking they are metadata, which accounts for the stuttering you are hearing.

2) This is an ADTS stream with the ADTS headers in an unusual format. This causes MinimStreamer to skip the first part of the stream, looking for what it thinks is a valid header.

3) This is an https:// stream, which means that some players cannot play it directly (i.e., without MinimStreamer).

The most serious of these issues is 1). It means there is no possibility of MinimStreamer playing the stream correctly, even if MinimStreamer were updated to fix issue 2). I will add this fix to my to-do list.

Fortunately, there is a workaround. You can change the .m3u file for the stream to:

#EXTM3U
#EXTINF:-1,[;aac,48000] RTRFM
http://live.rtrfm.com.au/stream1

This bypasses MinimStreamer and tells the renderer to read the stream using http instead of https. I have verified that this works correctly on my renderer.

Wow, thanks Big GrinBig GrinBig Grin i was really looking forward to listening to the station after reading your reply, unfortunately i have not observed any difference after applying your workaround.

I have attached another log for your perusal.

many thanks.

The_Plastic_Gangster
This log shows you are still using MinimStreamer to play the stream. After making the change to your playlist, you need to do a rescan, then reload the updated m3u playlist into your control point. When you do this, you should see a single entry for the stream titled RTRFM with no []. This stream should play with no stuttering.
(11-11-2019 10:06)simoncn Wrote: [ -> ]This log shows you are still using MinimStreamer to play the stream. After making the change to your playlist, you need to do a rescan, then reload the updated m3u playlist into your control point. When you do this, you should see a single entry for the stream titled RTRFM with no []. This stream should play with no stuttering.

Actually i have done that, however i am only seeing [RTRFM] RTRFM even after rebooting and power-cycling the control point. Do i need to adjust any other values in the properties dialog menu?
It sounds like you have not fully applied the m3u change that I posted. Here it is again:

#EXTINF:-1,[;aac,48000] RTRFM
Oop's very sorry i can confirm that was the case.

I am listening to the stream now. On a computer running vlc media player.

Unfortunately the Sony CMT-MX750Ni I was hoping to use does not like this. It worked before when the stream was routed through Minimstreamer. It now ....Just keeps throwing an error msg back. eg: DATA ERROR
Do you have any suggestions?

http://prf.icecat.biz/?shopname=openIcec...tureGroups

If i were to write a letter to the radio station in question what should i ask them to do to be compliant with Minimstreamer?
Is the Sony only giving DATA ERROR with this stream or does this happen with all radio streams? If it is only with this stream, it is probably caused by the same issue with the incorrect icy-metaint header.

You should ask the radio station to either remove the icy-metaint HTTP header from the stream or add ICY metadata to the stream in the correct format.
(12-11-2019 09:05)simoncn Wrote: [ -> ]Is the Sony only giving DATA ERROR with this stream or does this happen with all radio streams? If it is only with this stream, it is probably caused by the same issue with the incorrect icy-metaint header.

You should ask the radio station to either remove the icy-metaint HTTP header from the stream or add ICY metadata to the stream in the correct format.

Ok so i am not sure as i have only configured the one stream. However i would like to listen to this stream.

http://a.files.bbci.co.uk/media/live/man...o_one.m3u8

Are you able to show me what an entry for this stream would look like?

Thank you again for your time.
There are instructions for creating a playlist for all the national BBC streams in either HLS or MPEG-DASH format on this page. In my opinion the MPEG-DASH streams have slightly better sound.
Reference URL's