Show Menu
Cheatography

Flussonic Media Server Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Instal­lation

curl -sSf https://flussonic.com/raw/install.sh | sh
/etc/init.d/flussonic start

Updating for Debian and Ubuntu

apt-get update
apt-get -y install flussonic
/etc/init.d/flussonic restart

License Key

The license key is stored in the file
/etc/f­lus­son­ic/­lic­ens­e.txt.

Service Definition Example

stream Program_Name {
  url tshttp://10.1.2.3/program_name/mpegts program=2;
  transcoder vb=1000k external=true hw=qsv gen_pts=no deinterlace=true ab=128k;
  push udp://239.0.0.1:1234;
}

Service Type

static
launched upon a start of the server
on-demand
start upon user's request
Example:
ondemand ipcam {

  url rtsp:/­/19­2.1­68.0.1­/ch­ann­el/101; 

}

Multi-­bitrate Service

stream Program_Name {
  url udp://239.255.0.101:1234 mbr=1;
  url udp://239.255.0.102:1234 mbr=1;
  url udp://239.255.0.103:1234 mbr=1;
  url udp://239.255.0.104:1234 mbr=1;
}
To merge two indepe­ndent sources of the same content to create a multi-­bitrate stream, use the option mbr=1.

Source Stream Placeh­older

stream rtr {
  url tshttp://10.0.4.5:9000/channel/5;
  backup vod/backup.mp4;
}
If a stream becomes unavai­lable, Flussonic can substitute it with a backup video from a video file.
 

Service Thumbnails

stream ort {
  url udp://239.255.0.100:1234;
  thumbnails;
}
Add the thumbnails option in the stream settings.
Screenshot of a stream is available at
http:/­/fl­uss­oni­c:8­080­/or­t/p­rev­iew.jpg