icecast-kh
icecast-kh copied to clipboard
Intro/backup files
Hi! I use Icecast KH with Centovacast. I'm trying the new master release, but if I set up any intro or backup file, it doesn't works neither. It's a bug? Thanks!
It´s definitely working! You have to make sure that you use the same channel, samplerate and bitrate for your intro / backup files. Also i dont think this is the right place for your centova related problems.
Actually, this is not related with Centovacast... Sorry, it was about the MP3 file (the samplerate, channel and bitrate they was ok). With the official 2.4.4 version worked fine the same audio file, but not with KH. Maybe some metadata of the file? Embed image?
WARN source/source_set_intro Failed to read intro for /stream (web///intro_stream.mp3)
That looks to be a validation check, to watch for consistencies. 2.4.4 does not attempt to check for those so won't complain. It thinks there is an issue so that begs the question of what is in the file and what are the stream settings. eg A 128k stream and a 32k intro will not match, although you say they are the same. Why not post the intro file and provide the settings you have for the stream (either from the source or show the log level 4 entries for the stream detection at connection time).
karl
Yes, the samplerate, channel number and bitrate it was exactly the same: 128kbps, 44100Hz, estereo. It was just a test to try this KH15 version, and I tried with the song I attach. Thanks. Ava Max - Torn.zip
I suspect its because the ID3 is large due to the png data in there. I'll look at fixing that case.
karl
Hello,
I don't know if this can be of any help, but in a very similar situation I managed to solve the issue by placing the bitrate in the file name, between square brackets.
So for example the file name could be fallback[128].mp3
This solved the problem for me.
Hope it helps.
@ale-rinaldi Can you point to documentation on using these brackets?
[edit] Nevermind, I found some reference to it
"Note that a fallback file is now timed, based on the rate of the stream or a limit that has been previously specified. You can also embed the bitrate into the filename eg:
Can someone explain the [128] is does? I was hoping this would be a variable which will then look for a correct fallback file, if I had a bunch of fallback audios with different bitrates, It would automatically pick the correct one(including samplerate, channels, etc) (would be a neat feature).