[arm-allstar] broadcastify setup
Don Sayler
don.sayler at gmail.com
Fri Mar 1 17:05:33 EST 2024
OK, I got it running by executing just this
lame --preset cbr 16 -r -m m -s 8 --scale 1.1 --bitwidth 16
/tmp/outsound/pipe1 - 2>/tmp/stream.status | ezstream -qvc
/etc/asterisk/ezstream.xml
outside of the shell script.
On Fri, Mar 1, 2024 at 1:12 PM Don Sayler <don.sayler at gmail.com> wrote:
> This is in rpt.conf...
> outstreamcmd=/usr/local/bin/nptee,pipe1
>
>
> On Fri, Mar 1, 2024 at 12:18 PM Don Sayler <don.sayler at gmail.com> wrote:
>
>> BTW, Broadcastify says they're not getting our stream.
>>
>> On Fri, Mar 1, 2024, 10:05 AM Don Sayler <don.sayler at gmail.com> wrote:
>>
>>> Hi All.
>>>
>>> I had this working some time ago, and then we stopped using it and the
>>> feed was deleted from the Broadcastify server.
>>> I set up a new one, and reconfigured our end. But we still show as
>>> offline. Here is my xml...
>>>
>>> <ezstream>
>>> <url>http://audio9.broadcastify.com:80/[mount id]</url>
>>> <sourcepassword>[pw]</sourcepassword>
>>> <format>MP3</format>
>>> <filename>stdin</filename>
>>> <stream_once>1</stream_once>
>>> <reconnect_tries>0</reconnect_tries>
>>> <svrinfoname>K7LWH Repeater System</svrinfoname>
>>> <svrinfourl>http://www.radioreference.com/</svrinfourl>
>>> <svrinfogenre>Amateur Radio</svrinfogenre>
>>> <svrinfodescription>Kirkland WA USA</svrinfodescription>
>>> <svrinfobitrate>16</svrinfobitrate>
>>> <svrinfochannels>1</svrinfochannels>
>>> <svrinfosamplerate>22050</svrinfosamplerate>
>>> <svrinfopublic>1</svrinfopublic>
>>> </ezstream>
>>>
>>> This is how I'm trying to start it, from a bash script.
>>> #!/bin/bash
>>> #restart ezstream...
>>> # first, quit any existing sessions...
>>> screen -ls | grep 'ezstream' | awk '{print $1}' | xargs -I % -t screen
>>> -X -S % quit
>>>
>>> # next, create a new screen
>>> screen -dmS ezstream
>>>
>>> # finally, start ezstream in that screen
>>> screen -S ezstream -X stuff 'lame --preset cbr 16 -r -m m -s 8 --scale
>>> 1.1 --bitwidth 16 /tmp/outsound/pipe1 - 2>/tmp/stream.status | ezstream
>>> -qvc /etc/asterisk/ezstream.xml\n'
>>>
>>> What am I missing? I'm not much of a linux guy, so I don't really
>>> understand what this bash does.
>>> Thanks.
>>> Don
>>>
>>>
>>>
>>>
More information about the ARM-allstar
mailing list