summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/audio.json55
-rw-r--r--src/examples/test.json90
-rw-r--r--src/examples/test2.json104
3 files changed, 249 insertions, 0 deletions
diff --git a/src/examples/audio.json b/src/examples/audio.json
new file mode 100644
index 0000000..cdaa734
--- /dev/null
+++ b/src/examples/audio.json
@@ -0,0 +1,55 @@
+{
+ "globals":{
+ "templates": "default",
+ "version": "0.10.0",
+ "name": "audio-only",
+ "description": "Audio only test",
+ "domain": "spreadspace.org",
+ "rrd-dir": "/var/lib/flumotion/rrd",
+ "manager": {
+ "machine": "calypso",
+ "host": "89.106.215.48",
+ "port": 7531,
+ "transport": "ssl"
+ },
+ "formats": {
+ "ogg": { "muxer": "ogg", "audio": "vorbis" }
+ },
+ "profiles": {
+ "high": { "audio": 160 },
+ "medium": { "audio": 128 },
+ "low": { "audio": 96 }
+ },
+ "machines": {
+ "calypso": [ "input-alsa", "encoder-alsa-vorbis-160", "encoder-alsa-vorbis-128", "encoder-alsa-vorbis-96",
+ "muxer-audio-ogg-high", "muxer-audio-ogg-medium", "muxer-audio-ogg-low", "streamer-local1" ]
+ }
+ },
+ "input": {
+ "alsa": {
+ "type": "soundcard",
+ "master": true,
+ "properties": {
+ "samplerate": 48000,
+ "depth": 16,
+ "channels": 2
+ }
+ }
+ },
+ "mux": {
+ "audio": {
+ "audio": "alsa",
+ "formats": {
+ "ogg": [ "high", "medium", "low" ]
+ }
+ }
+ },
+ "stream": {
+ "streamer-local": {
+ "muxes": [ "audio" ],
+ "type": "http", "count": 1, "port": 8000,
+ "max-con": 5, "burst-on-connect": 5,
+ "hostname": "audio"
+ }
+ }
+}
diff --git a/src/examples/test.json b/src/examples/test.json
new file mode 100644
index 0000000..b921481
--- /dev/null
+++ b/src/examples/test.json
@@ -0,0 +1,90 @@
+{
+ "globals":{
+ "templates": "default",
+ "version": "0.10.0",
+ "name": "elevate-live",
+ "description": "Live from Elevate Festival 2012",
+ "domain": "spreadspace.org",
+ "rrd-dir": "/var/lib/flumotion/rrd",
+ "manager": {
+ "machine": "titan",
+ "host": "89.106.215.36",
+ "port": 7531,
+ "transport": "ssl"
+ },
+ "resolutions": {
+ "720p25": { "width": 1280, "height": 720, "rate": "25/1" },
+ "480p25": { "width": 854, "height": 480, "rate": "25/1" },
+ "360p25": { "width": 640, "height": 360, "rate": "25/1" }
+ },
+ "formats": {
+ "flash": { "muxer": "flv", "video": "h264", "audio": "aac", "samplerate": 44100 },
+ "webm": { "muxer": "webm", "video": "vp8", "audio": "vorbis" },
+ "ogg": { "muxer": "ogg", "video": "theora", "audio": "vorbis" }
+ },
+ "profiles": {
+ "high": { "video": "720p25", "audio": 160 },
+ "medium": { "video": "480p25", "audio": 128 },
+ "low": { "video": "360p25", "audio": 96 }
+ },
+ "bitrates": {
+ "h264": { "720p25": 2048, "480p25": 1024, "360p25": 600 },
+ "vp8": { "720p25": 2048, "480p25": 1024, "360p25": 600 }
+ },
+ "machines": {
+ "titan": [ "input-sdi", "resample-sdi", "resize-sdi", "encoder-sdi-vorbis-160", "encoder-sdi-vorbis-128",
+ "encoder-sdi-vorbis-96", "encoder-sdi-aac-160", "encoder-sdi-aac-128", "encoder-sdi-aac-96",
+ "muxer-av-flash-high", "muxer-av-flash-medium", "muxer-av-flash-low", "muxer-av-webm-high",
+ "muxer-av-webm-medium", "muxer-av-webm-low", "muxer-audio-ogg-high", "streamer-local1" ],
+ "calypso": [ "encoder-sdi-h264-720p25", "encoder-sdi-h264-480p25", "encoder-sdi-h264-360p25" ],
+ "telesto": [ "encoder-sdi-vp8-720p25", "encoder-sdi-vp8-480p25", "encoder-sdi-vp8-360p25" ],
+ "elevate1": [ "streamer-pub1" ],
+ "elevate2": [ "streamer-pub2" ],
+ "elevate3": [ "streamer-pub3" ]
+ }
+ },
+ "input": {
+ "sdi": {
+ "type": "decklink",
+ "master": true,
+ "properties": {
+ "resolution": "720p25",
+ "samplerate": 48000,
+ "device": 0,
+ "connection": 0,
+ "audio-input": 0,
+ "mode": 16
+ }
+ }
+ },
+ "mux": {
+ "av": {
+ "video": "sdi:video",
+ "audio": "sdi:audio",
+ "formats": {
+ "flash": [ "high", "medium", "low" ],
+ "webm": [ "high", "medium", "low" ]
+ }
+ },
+ "audio": {
+ "audio": "sdi:audio",
+ "formats": {
+ "ogg": [ "high" ]
+ }
+ }
+ },
+ "stream": {
+ "streamer-local": {
+ "muxes": [ "av", "audio" ],
+ "type": "http", "count": 1, "port": 8000,
+ "max-con": 5, "burst-on-connect": 5,
+ "hostname": "elevate-feed"
+ },
+ "streamer-pub": {
+ "muxes": [ "av" ],
+ "type": "http", "count": 3, "port": 8000,
+ "max-bw": 290000, "burst-on-connect": 5,
+ "hostname": "elevate-live%i"
+ }
+ }
+}
diff --git a/src/examples/test2.json b/src/examples/test2.json
new file mode 100644
index 0000000..1479563
--- /dev/null
+++ b/src/examples/test2.json
@@ -0,0 +1,104 @@
+{
+ "globals":{
+ "templates": "default",
+ "version": "0.10.0",
+ "name": "elevate-live",
+ "description": "Live from Elevate Festival 2012",
+ "domain": "spreadspace.org",
+ "rrd-dir": "/var/lib/flumotion/rrd",
+ "manager": {
+ "machine": "calypso",
+ "host": "89.106.215.48",
+ "port": 7531,
+ "transport": "ssl"
+ },
+ "resolutions": {
+ "720p25": { "width": 1280, "height": 720, "rate": "25/1" },
+ "480p25": { "width": 854, "height": 480, "rate": "25/1" },
+ "360p25": { "width": 640, "height": 360, "rate": "25/1" }
+ },
+ "formats": {
+ "flash": { "muxer": "flv", "video": "h264", "audio": "aac", "samplerate": 44100 },
+ "webm": { "muxer": "webm", "video": "vp8", "audio": "vorbis" },
+ "ogg": { "muxer": "ogg", "video": "theora", "audio": "vorbis" }
+ },
+ "profiles": {
+ "high": { "video": "720p25", "audio": 160 },
+ "medium": { "video": "480p25", "audio": 128 },
+ "low": { "video": "360p25", "audio": 96 }
+ },
+ "bitrates": {
+ "h264": { "720p25": 2048, "480p25": 1024, "360p25": 600 },
+ "vp8": { "720p25": 2048, "480p25": 1024, "360p25": 600 }
+ },
+ "machines": {
+ "calypso": [ "input-sdi", "resize-sdi", "resample-sdi", "input-alsa", "resample-alsa",
+ "encoder-alsa-vorbis-160", "encoder-sdi-vorbis-160",
+ "encoder-alsa-aac-160", "encoder-alsa-aac-128", "encoder-alsa-aac-96",
+ "encoder-sdi-aac-160", "encoder-sdi-aac-128", "encoder-sdi-aac-96",
+ "muxer-av-orig-flash-high", "muxer-av-orig-flash-medium", "muxer-av-orig-flash-low",
+ "muxer-av-en-flash-high", "muxer-av-en-flash-medium", "muxer-av-en-flash-low",
+ "muxer-audio-ogg-high", "muxer-audio-en-ogg-high", "streamer-local1" ],
+ "telesto": [ "encoder-sdi-h264-720p25", "encoder-sdi-h264-480p25", "encoder-sdi-h264-360p25" ]
+ }
+ },
+ "input": {
+ "sdi": {
+ "type": "decklink",
+ "master": true,
+ "properties": {
+ "resolution": "720p25",
+ "samplerate": 48000,
+ "device": 0,
+ "connection": 0,
+ "audio-input": 0,
+ "mode": 16
+ }
+ },
+ "alsa": {
+ "type": "soundcard",
+ "master": false,
+ "properties": {
+ "samplerate": 48000,
+ "depth": 16,
+ "channels": 2
+ }
+ }
+ },
+ "mux": {
+ "av-orig": {
+ "video": "sdi:video",
+ "audio": "sdi:audio",
+ "formats": {
+ "flash": [ "high", "medium", "low" ]
+ }
+ },
+ "av-en": {
+ "video": "sdi:video",
+ "audio": "alsa",
+ "formats": {
+ "flash": [ "high", "medium", "low" ]
+ }
+ },
+ "audio": {
+ "audio": "sdi:audio",
+ "formats": {
+ "ogg": [ "high" ]
+ }
+ },
+ "audio-en": {
+ "audio": "alsa",
+ "formats": {
+ "ogg": [ "high" ]
+ }
+ }
+ },
+ "stream": {
+ "streamer-local": {
+ "muxes": [ "av-orig", "av-en", "audio", "audio-en" ],
+ "type": "http", "count": 1, "port": 8000,
+ "max-con": 5, "burst-on-connect": 5,
+ "hostname": "elevate-feed"
+ }
+ }
+}