From 3b2828e86d0551af3964000b901c684be26d67c9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 17 Oct 2012 20:04:58 +0200 Subject: moved output to output/ --- templates/flumotion/default/aac-encode.xml | 12 ++++++ templates/flumotion/default/audio-resample.xml | 12 ++++++ templates/flumotion/default/decklink.xml | 13 +++++++ templates/flumotion/default/flv-mux.xml | 14 +++++++ templates/flumotion/default/h264-encode.xml | 12 ++++++ templates/flumotion/default/http-stream.xml | 22 +++++++++++ templates/flumotion/default/ogg-mux.xml | 14 +++++++ templates/flumotion/default/planet.xml | 53 ++++++++++++++++++++++++++ templates/flumotion/default/porter.xml | 11 ++++++ templates/flumotion/default/repeater.xml | 11 ++++++ templates/flumotion/default/soundcard.xml | 24 ++++++++++++ templates/flumotion/default/video-resize.xml | 12 ++++++ templates/flumotion/default/vorbis-encode.xml | 12 ++++++ templates/flumotion/default/vp8-encode.xml | 15 ++++++++ templates/flumotion/default/webm-mux.xml | 14 +++++++ templates/flumotion/default/worker.xml | 20 ++++++++++ 16 files changed, 271 insertions(+) create mode 100644 templates/flumotion/default/aac-encode.xml create mode 100644 templates/flumotion/default/audio-resample.xml create mode 100644 templates/flumotion/default/decklink.xml create mode 100644 templates/flumotion/default/flv-mux.xml create mode 100644 templates/flumotion/default/h264-encode.xml create mode 100644 templates/flumotion/default/http-stream.xml create mode 100644 templates/flumotion/default/ogg-mux.xml create mode 100644 templates/flumotion/default/planet.xml create mode 100644 templates/flumotion/default/porter.xml create mode 100644 templates/flumotion/default/repeater.xml create mode 100644 templates/flumotion/default/soundcard.xml create mode 100644 templates/flumotion/default/video-resize.xml create mode 100644 templates/flumotion/default/vorbis-encode.xml create mode 100644 templates/flumotion/default/vp8-encode.xml create mode 100644 templates/flumotion/default/webm-mux.xml create mode 100644 templates/flumotion/default/worker.xml (limited to 'templates/flumotion') diff --git a/templates/flumotion/default/aac-encode.xml b/templates/flumotion/default/aac-encode.xml new file mode 100644 index 0000000..e6ad65a --- /dev/null +++ b/templates/flumotion/default/aac-encode.xml @@ -0,0 +1,12 @@ + + + {{ component.feeder }} + + audioconvert ! faac bitrate={{ component.properties['bitrate'] * 1000 }} + false + diff --git a/templates/flumotion/default/audio-resample.xml b/templates/flumotion/default/audio-resample.xml new file mode 100644 index 0000000..7182b01 --- /dev/null +++ b/templates/flumotion/default/audio-resample.xml @@ -0,0 +1,12 @@ + + + {{ component.feeder }} + + audioresample ! audio/x-raw-int,rate={{ component.properties['samplerate'] }} + false + diff --git a/templates/flumotion/default/decklink.xml b/templates/flumotion/default/decklink.xml new file mode 100644 index 0000000..5eb6a2a --- /dev/null +++ b/templates/flumotion/default/decklink.xml @@ -0,0 +1,13 @@ + +%% for name, value in component.properties.items() +%% if name != 'samplerate' + {{ value }} +%% endif +%% endfor + {{ component.master }} + diff --git a/templates/flumotion/default/flv-mux.xml b/templates/flumotion/default/flv-mux.xml new file mode 100644 index 0000000..a3706da --- /dev/null +++ b/templates/flumotion/default/flv-mux.xml @@ -0,0 +1,14 @@ + + + {{ component.feeder_audio }} +%% if component.feeder_video != 'none' + {{ component.feeder_video }} +%% endif + + false + diff --git a/templates/flumotion/default/h264-encode.xml b/templates/flumotion/default/h264-encode.xml new file mode 100644 index 0000000..ba8b136 --- /dev/null +++ b/templates/flumotion/default/h264-encode.xml @@ -0,0 +1,12 @@ + + + {{ component.feeder }} + + ffmpegcolorspace ! x264enc bitrate={{ component.properties['bitrate'] }} profile=baseline threads=8 key-int-max=50 byte-stream=false pass=0 cabac=true bframes=0 + false + diff --git a/templates/flumotion/default/http-stream.xml b/templates/flumotion/default/http-stream.xml new file mode 100644 index 0000000..561097a --- /dev/null +++ b/templates/flumotion/default/http-stream.xml @@ -0,0 +1,22 @@ + + + {{ component.feeder }} + + + + {{ component.rrd_clients }} + {{ component.rrd_bytes }} + + +%% for name, value in component.properties.items() +%% if name != 'samplerate' + {{ value }} +%% endif +%% endfor + false + diff --git a/templates/flumotion/default/ogg-mux.xml b/templates/flumotion/default/ogg-mux.xml new file mode 100644 index 0000000..36d7ef5 --- /dev/null +++ b/templates/flumotion/default/ogg-mux.xml @@ -0,0 +1,14 @@ + + + {{ component.feeder_audio }} +%% if component.feeder_video != 'none' + {{ component.feeder_video }} +%% endif + + false + diff --git a/templates/flumotion/default/planet.xml b/templates/flumotion/default/planet.xml new file mode 100644 index 0000000..c1633ee --- /dev/null +++ b/templates/flumotion/default/planet.xml @@ -0,0 +1,53 @@ + + + + +%% for name, value in globals.manager.items() +%% if name != 'machine' + <{{ name }}>{{ value }} +%% endif +%% endfor + + /etc/flumotion/{{ globals.name }}.passwd + + + + +{% for name, component in atmosphere.items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + + + +{% for name, component in flow['input'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + + +{% for name, component in flow['encoder_audio'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + +{% for name, component in flow['encoder_video'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + +{% for name, component in flow['muxer'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + +{% for name, component in flow['repeater'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + +{% for name, component in flow['streamer'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + + + diff --git a/templates/flumotion/default/porter.xml b/templates/flumotion/default/porter.xml new file mode 100644 index 0000000..cf960bf --- /dev/null +++ b/templates/flumotion/default/porter.xml @@ -0,0 +1,11 @@ + + {{ component.properties['port'] }} + {{ component.properties['socket-path'] }} + {{ component.properties['username'] }} + {{ component.properties['password'] }} + diff --git a/templates/flumotion/default/repeater.xml b/templates/flumotion/default/repeater.xml new file mode 100644 index 0000000..aa469ec --- /dev/null +++ b/templates/flumotion/default/repeater.xml @@ -0,0 +1,11 @@ + + + {{ component.feeder }} + + false + diff --git a/templates/flumotion/default/soundcard.xml b/templates/flumotion/default/soundcard.xml new file mode 100644 index 0000000..23df8a4 --- /dev/null +++ b/templates/flumotion/default/soundcard.xml @@ -0,0 +1,24 @@ + +%% for name, value in component.properties.items() + {{ value }} +%% endfor + {{ component.master }} + + + + + {{ name }}_raw + + audioconvert ! audio/x-raw-int,rate=(int)48000,width=16,depth=16,channels=2 + false + diff --git a/templates/flumotion/default/video-resize.xml b/templates/flumotion/default/video-resize.xml new file mode 100644 index 0000000..3444bc1 --- /dev/null +++ b/templates/flumotion/default/video-resize.xml @@ -0,0 +1,12 @@ + + + {{ component.feeder }} + + videoscale method=bilinear ! video/x-raw-yuv,width={{ component.properties['width'] }},height={{ component.properties['height'] }} + false + diff --git a/templates/flumotion/default/vorbis-encode.xml b/templates/flumotion/default/vorbis-encode.xml new file mode 100644 index 0000000..83471fd --- /dev/null +++ b/templates/flumotion/default/vorbis-encode.xml @@ -0,0 +1,12 @@ + + + {{ component.feeder }} + + {{ component.properties['bitrate'] * 1000 }} + false + diff --git a/templates/flumotion/default/vp8-encode.xml b/templates/flumotion/default/vp8-encode.xml new file mode 100644 index 0000000..97b9e8d --- /dev/null +++ b/templates/flumotion/default/vp8-encode.xml @@ -0,0 +1,15 @@ + + + {{ component.feeder }} + + 50 + {{ component.properties['bitrate'] * 1000 }} + 5 + 8 + false + diff --git a/templates/flumotion/default/webm-mux.xml b/templates/flumotion/default/webm-mux.xml new file mode 100644 index 0000000..acace74 --- /dev/null +++ b/templates/flumotion/default/webm-mux.xml @@ -0,0 +1,14 @@ + + + {{ component.feeder_audio }} +%% if component.feeder_video != 'none' + {{ component.feeder_video }} +%% endif + + false + diff --git a/templates/flumotion/default/worker.xml b/templates/flumotion/default/worker.xml new file mode 100644 index 0000000..b6f4667 --- /dev/null +++ b/templates/flumotion/default/worker.xml @@ -0,0 +1,20 @@ + + + +%% for name, value in globals.manager.items() +%% if name != 'machine' + <{{ name }}>{{ value }} +%% endif +%% endfor + + + + {{ name }} + {{ password }} + + + {{ portrange }} +%% if debug and debug != '' + {{ debug }} +%% endif + -- cgit v1.2.3