Actions

Difference between revisions of "Broadcastify-Calls-Trunk-Recorder"

From The RadioReference Wiki

Line 9: Line 9:
 
* https://github.com/robotastic/trunk-recorder/wiki/Building-Trunk-Recorder
 
* https://github.com/robotastic/trunk-recorder/wiki/Building-Trunk-Recorder
 
<br />
 
<br />
Make sure you have ffmpeg compiled and built to support AAC audio encoding.  Follow these instructions here:
+
Make sure you have ffmpeg compiled and built to support AAC audio encoding.  See at the bottom of the page for details
 
 
* https://wiki.radioreference.com/index.php/Broadcastify-Calls#Compile_and_Install_FFMpeg_with_AAC-HE_Support
 
  
 
=== Apply for API Key and System ID ===
 
=== Apply for API Key and System ID ===
Line 64: Line 62:
 
  "callTimeout": 0.75
 
  "callTimeout": 0.75
 
  }
 
  }
 +
 +
=== Compile and Install FFMpeg with AAC-HE Support ===
 +
To install on Ubuntu 18.04 add bionic universe and multiverse package repos then follow the instructions for Ubuntu 16.04
 +
 +
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic universe"
 +
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic multiverse"
 +
sudo apt-get update
 +
sudo apt-get upgrade
 +
 +
Install for Ubuntu 16.04. This is a minimal install, check out the FFMPEG docs if you want more libraries enabled.
 +
 +
sudo apt-get update
 +
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
 +
  libtool pkg-config texinfo zlib1g-dev yasm libfdk-aac-dev
 +
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
 +
tar xjvf ffmpeg-snapshot.tar.bz2
 +
cd ffmpeg
 +
./configure \
 +
  --pkg-config-flags="--static" \
 +
  --bindir="$HOME/bin" \
 +
  --enable-gpl \
 +
  --enable-libass \
 +
  --enable-libfdk-aac \
 +
  --enable-nonfree
 +
make
 +
sudo make install

Revision as of 09:52, 26 April 2020

Download and Build Trunk Recorder

You need to download and build the latest version of Trunk Recorder


Build instructions are here:


Make sure you have ffmpeg compiled and built to support AAC audio encoding. See at the bottom of the page for details

Apply for API Key and System ID

You will need an API Key and System ID assigned by the Broadcastify administrator before you can get started.

To get a System ID and API Key issued, send an email to support@radioreference.com with the following info:

  1. Your RadioReference/Broadcastify Username
  2. Trunked or Conventional System(s) you wish to send to us
  3. Trunked Site Name (in the RRDB) or Frequencies List to send to us
  4. County where your ingest system resides

Configure Trunk Recorder

There are 3 configuration options

broadcastifyApiKey      : specified for each system entry in your trunk-recorder config
                          this is the API Key issued to you by the administrator

broadcastifySystemId    : specified for each system entry in your trunk-recorder config
                          this is the unique system identifier issued to you by the administrator

broadcastifyCallsServer : specified SYSTEMWIDE in your trunk-recorder config
                          should always be set to: "https://api.broadcastify.com/call-upload"

Example Trunk Recorder configuration

  • API Key Example: "9c3e3b1d-324f-11aa-bd8b-0ec68ab9ccec"
  • System ID Example: "91"


{
	"sources": [{
		"center": 853000000.0,
		"rate": 2048000,
		"ppm": 69.0,
		"gain": 35.0,
		"digitalLevels": 3,
		"digitalRecorders": 4,
		"driver": "osmosdr",
		"device": "rtl=02,buflen=65536",
		"modulation": "fsk4"
	}],
	"systems": [{
		"control_channels": [851325000, 851825000],
		"type": "p25",
		"shortName": "mySystemName",
		"broadcastifyApiKey": "9c3e3b1d-324f-11aa-bd8b-0ec68ab9ccec",
		"broadcastifySystemId": "91",
		"audioArchive": false
	}],
	"broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
	"controlWarnRate": 5,
	"callTimeout": 0.75
}

Compile and Install FFMpeg with AAC-HE Support

To install on Ubuntu 18.04 add bionic universe and multiverse package repos then follow the instructions for Ubuntu 16.04

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic universe"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic multiverse"
sudo apt-get update
sudo apt-get upgrade

Install for Ubuntu 16.04. This is a minimal install, check out the FFMPEG docs if you want more libraries enabled.

sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
  libtool pkg-config texinfo zlib1g-dev yasm libfdk-aac-dev
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure \
  --pkg-config-flags="--static" \
  --bindir="$HOME/bin" \
  --enable-gpl \
  --enable-libass \
  --enable-libfdk-aac \
  --enable-nonfree
make
sudo make install