I'm very new at this Raspberry Pi 3 thing, but not afraid to delve into docs and examples. I've cobbled together commands and fixes to record audio from USB device - ultimately trying to stream directly from card to my Icecast server.
For now I'm just trying to find out if I can connect to my Icecast server with the current avconv program - just playing a small local mp3 file. At this point I'm trying to use the Lite version of Raspbian - without having to rebuild ffmpeg.
I'm trying to use icecast protocol options with installed version of avconv on Raspbian (4.9.2-10)
avconv version is listed as 11.7.6:11.7-1
libavutil 54. 3. 0
Basically I need to submit the options
ice_description, as well as stream
password via icecast protocol options. Using
avconv, it appears that I can send an mp3 file to the icecast stream with no errors, but nothing shows up on other end.
One issue may be I have to submit password without username - so that might not work with a null username in the url. That said I haven't seen any error submitting as
I also need to submit the stream name
It doesn't appear that my avconv version supports the
Icecast protocol options. In theory you can specify
This is what I tried without error (but no broadcast):
avconv -re -i test.mp3 -b:a 128k -legacy_icecast 1 -f mp3 icecast://:firstname.lastname@example.org:443/my-mount-point/url-here
If I try to add the ice_name protocol option,
avconv -re -i test.mp3 -b:a 128k -legacy_icecast 1 -ice_name "My Raspi Stream" -f mp3 icecast://:email@example.com:443/my-mount-point/url-here
it just creates a new filename called
ice_name "My Raspi Stream"
Any help, suggestions or references much appreciated. I may start the manual compile of ffmpeg in meantime