[arm-allstar] nptee streaming

David McGough kb4fxc at inttek.net
Tue Aug 11 12:17:56 EDT 2020



Glenn,

The problem may be the command line for lame. There should be a "space" 
between the '-' and '2', like:

lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 /tmp/outsound/n8jpr1 - 2>/tmp/status | ezstream -qvc /etc/ezstream.xml


Since the lame/ezstream command runs in the foreground, I launch these 
commands using the "screen" utility, as the user "streamer" (not 
root) like:

screen -dmS ezstream  su -c - streamer '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'


To install the screen program:

pacman -Sy screen

Then, to add the streamer user:

useradd -d /tmp/outsound streamer


73, David KB4FXC



On Tue, 11 Aug 2020, "Glenn Gould via ARM-allstar" wrote:

> Morning hive mind,
> 
> I've been trying to upgrade streaming from a direct connection between
> allstar and ezstream, to the nested tree concept.  Following Doug's guide
> is not getting the expected results.
> 
> in rpt.conf i've changed to the command to:
> outstreamcmd=/usr/local/bin/nptee,n8jpr1
> 
> then made a script file to execute the ezstream called for by a cron entry
> n8jpr-stream.sh
> lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 /tmp/outsound/n8jpr1
> -2>/tmp/status | ezstream -qvc /etc/ezstream.xml
> 
> exit 0
> 
> ezstream.xml is the file that the old command used to reference...
> 
> however i'm still not able to successfully stream using this set up.  i'm
> sure it's a n00b mistake somewhere in the mix.
> 



More information about the ARM-allstar mailing list