zlacker

[parent] [thread] 4 comments
1. sterwi+(OP)[view] [source] 2020-06-02 20:54:39
I haven't done the work to sign up at Broadcastify, but if you're in Durham NC and want to listen hit http://home.tinfig.com:9999 with VLC (or mplayer or whatever you like).

It's an HTTP+Ogg+Opus stream from my BCD536HP. It's scanning the local P25 trunked radio system (Durham police, fire, EMS, ops, etc.).

P.S. As I write this I'm hearing chatter about responding to an airplane crash... no more details yet.

replies(2): >>voltag+jn >>mindcr+gZ1
2. voltag+jn[view] [source] 2020-06-02 23:11:46
>>sterwi+(OP)
Will you have a chance to write up anything further about your setup?
replies(1): >>sterwi+Mw
◧◩
3. sterwi+Mw[view] [source] [discussion] 2020-06-03 00:25:30
>>voltag+jn
It's just an old HP Proliant home server with a USB sound dongle, and VLC transcoding from ALSA PCM to Opus and serving HTTP. VLC does it all!

My radio has a WiFi interface, but it's weird and unreliable (only supports RTSP, 401s if the requested host isn't its internal IP, crashes after 12 hours, etc). So I just use a short analog audio cable instead.

replies(1): >>sterwi+2e2
4. mindcr+gZ1[view] [source] 2020-06-03 14:41:45
>>sterwi+(OP)
tinfig.com, huh? Hmm... this sounds familiar.
◧◩◪
5. sterwi+2e2[view] [source] [discussion] 2020-06-03 15:49:07
>>sterwi+Mw
More technical details in case anyone needs to quickly pipe out some audio to the Internet:

  /usr/bin/vlc -I dummy -vv --no-alsa-stereo alsa://default:CARD=Device -L --sout-keep \
    --sout #transcode{acodec=opus,channels=1,ab=24000,afilter=equalizer}:standard{access=http,mux=ogg,dst=:9999} \
    --equalizer-2pass --equalizer-bands 0 0 0 0 0 0 -20 -20 -20 -20
--no-alsa-stereo because my input source is mono. --sout-keep probably isn't necessary now, but it was when I was streaming from the radio's crashy RTSP service.

The #transcode block sets up a simple pipeline: first transcode to Opus at the specified output bitrate (24 Kbps is plenty for recorded voice), then mux it up and serve it via HTTP. I added a low-pass filter at ~6 KHz because there's some of high frequency noise from either my radio's analog output stage or the cabling. I had to look through the VLC source code[1] to find the preset frequency bands since I couldn't find them in VLC docs.

[1] https://github.com/videolan/vlc/blob/777f36c15564b076bf13af6...

[go to top]