A one-liner that pulls an AAC stream, pipes it into ffmpeg which transcodes it to mp3, then pipes it into ezstream with your settings (in the xml file) which streams it your radio.
sudo apt-get install ficy ffmpeg ezstream
<ezstream> | |
<url>http://zeno.link.radiojar.com:80/your-mount-point</url> | |
<sourcepassword>your-password</sourcepassword> | |
<format>MP3</format> | |
<filename>stdin</filename> | |
</ezstream> |
fIcy http://example.org/somestream | ffmpeg -i pipe: -f mp3 - | ezstream -c ezstream-config.xml |
This is brilliant - saved us in a lockdown party (Traktor only streams in Ogg Vorbis, Apple devices can't handle it... still after 15+ years...).
Thank you!
Adding the bitrate to the ffmpeg command has to be after the pipe: so it's
The default for me seemed to be 96k which I could hear the difference.