diff options
Diffstat (limited to 'templates/flumotion/default')
27 files changed, 0 insertions, 426 deletions
diff --git a/templates/flumotion/default/aac-encode.xml b/templates/flumotion/default/aac-encode.xml deleted file mode 100644 index 950f144..0000000 --- a/templates/flumotion/default/aac-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">audioconvert ! voaacenc bitrate={{ component.properties['bitrate'] * 1000 }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/audio-resample.xml b/templates/flumotion/default/audio-resample.xml deleted file mode 100644 index 7182b01..0000000 --- a/templates/flumotion/default/audio-resample.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">audioresample ! audio/x-raw-int,rate={{ component.properties['samplerate'] }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/audiotest.xml b/templates/flumotion/default/audiotest.xml deleted file mode 100644 index 9e0f208..0000000 --- a/templates/flumotion/default/audiotest.xml +++ /dev/null @@ -1,11 +0,0 @@ - <component name="{{ name }}" - type="audiotest-producer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> -%% for name, value in component.properties.items() - <property name="{{ name }}">{{ value }}</property> -%% endfor - <clock-master>{{ component.master }}</clock-master> - </component> diff --git a/templates/flumotion/default/decklink.xml b/templates/flumotion/default/decklink.xml deleted file mode 100644 index cc82727..0000000 --- a/templates/flumotion/default/decklink.xml +++ /dev/null @@ -1,13 +0,0 @@ - <component name="{{ name }}" - type="decklink-producer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> -%% for name, value in component.properties.items() -%% if name != 'samplerate' - <property name="{{ name }}">{{ value }}</property> -%% endif -%% endfor - <clock-master>{{ component.master }}</clock-master> - </component> diff --git a/templates/flumotion/default/flv-mux.xml b/templates/flumotion/default/flv-mux.xml deleted file mode 100644 index be77ddb..0000000 --- a/templates/flumotion/default/flv-mux.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="flv-muxer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> -%% if component.feeder_video - <feed alias="default-bis">{{ component.feeder_video }}</feed> -%% endif - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/h264-encode.xml b/templates/flumotion/default/h264-encode.xml deleted file mode 100644 index a3c6edc..0000000 --- a/templates/flumotion/default/h264-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">ffmpegcolorspace ! x264enc bitrate={{ component.properties['bitrate'] }} profile=baseline threads=8 key-int-max=50 byte-stream=false</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/http-stream.xml b/templates/flumotion/default/http-stream.xml deleted file mode 100644 index d0cce33..0000000 --- a/templates/flumotion/default/http-stream.xml +++ /dev/null @@ -1,39 +0,0 @@ - <component name="{{ name }}" - type="http-streamer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> -%% if component.plugs is defined - <plugs> -%% for name, value in component.plugs.items() -%% if name == 'rrd' - <plug socket="flumotion.component.plugs.rrd.ComponentRRDPlug" type="component-rrd"> - <property name="clients-connected-file">{{ value.clients }}</property> - <property name="bytes-transferred-file">{{ value.bytes }}</property> - </plug> -%% endif -%% if name == 'sfive' - <plug socket="flumotion.component.plugs.s5.ComponentSFivePlug" type="component-s5"> -%% for name, value in value.items() -%% if name != 'tags' - <property name="{{ name }}">{{ value }}</property> -%% else - <property name="tags">{{ value|join(', ') }}</property> -%% endif -%% endfor - </plug> -%% endif -%% endfor - </plugs> -%% endif -%% for name, value in component.properties.items() -%% if name != 'samplerate' - <property name="{{ name }}">{{ value }}</property> -%% endif -%% endfor - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mjpeg-encode.xml b/templates/flumotion/default/mjpeg-encode.xml deleted file mode 100644 index da8947e..0000000 --- a/templates/flumotion/default/mjpeg-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">ffmpegcolorspace ! jpegenc quality={{ component.properties['bitrate'] }} idct-method=float</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mkv-mux.xml b/templates/flumotion/default/mkv-mux.xml deleted file mode 100644 index 0be8da0..0000000 --- a/templates/flumotion/default/mkv-mux.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="mkv-muxer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> -%% if component.feeder_video - <feed alias="default-bis">{{ component.feeder_video }}</feed> -%% endif - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mp3-encode.xml b/templates/flumotion/default/mp3-encode.xml deleted file mode 100644 index 10255df..0000000 --- a/templates/flumotion/default/mp3-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">audioconvert ! lame bitrate={{ component.properties['bitrate'] }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mp3-mux.xml b/templates/flumotion/default/mp3-mux.xml deleted file mode 100644 index f7ac81d..0000000 --- a/templates/flumotion/default/mp3-mux.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> - </eater> - <property name="pipeline">identity</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mpeg2-encode.xml b/templates/flumotion/default/mpeg2-encode.xml deleted file mode 100644 index 05a56c4..0000000 --- a/templates/flumotion/default/mpeg2-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">ffmpegcolorspace ! ffenc_mpeg2video bitrate={{ component.properties['bitrate'] * 1000 }} quantizer=4 gop-size=1</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/mpegts-mux.xml b/templates/flumotion/default/mpegts-mux.xml deleted file mode 100644 index 8d8be6a..0000000 --- a/templates/flumotion/default/mpegts-mux.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="mpegts-muxer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> -%% if component.feeder_video - <feed alias="default-bis">{{ component.feeder_video }}</feed> -%% endif - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/ogg-mux.xml b/templates/flumotion/default/ogg-mux.xml deleted file mode 100644 index 8827be1..0000000 --- a/templates/flumotion/default/ogg-mux.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="ogg-muxer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> -%% if component.feeder_video - <feed alias="default-bis">{{ component.feeder_video }}</feed> -%% endif - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/opus-encode.xml b/templates/flumotion/default/opus-encode.xml deleted file mode 100644 index 531bd84..0000000 --- a/templates/flumotion/default/opus-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">audioconvert ! opusenc audio=true bitrate={{ component.properties['bitrate'] * 1000 }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/planet.xml b/templates/flumotion/default/planet.xml deleted file mode 100644 index 9c4e31a..0000000 --- a/templates/flumotion/default/planet.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<planet name="{{ globals.name }}"> - - <manager name="{{ globals.name }}"> -%% for name, value in globals.manager.items() -%% if name != 'machine' - <{{ name }}>{{ value }}</{{ name }}> -%% endif -%% endfor - <component name="manager-bouncer" type="htpasswdcrypt-bouncer"> - <property name="filename">/etc/flumotion/{{ globals.name }}.passwd</property> - </component> - </manager> - - <atmosphere> -{% for name, component in atmosphere.items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - </atmosphere> - - <flow name="{{ globals.name }}"> -<!-- raw-input, resizing and resampling --> -{% for name, component in flow['inputs'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - -<!-- encoding --> - <!-- audio --> -{% for name, component in flow['encoders-audio'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - <!-- video --> -{% for name, component in flow['encoders-video'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - -<!-- muxing --> -{% for name, component in flow['muxers'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - -<!-- repeater --> -{% for name, component in flow['repeaters'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - -<!-- streaming --> -{% for name, component in flow['streamers'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - -<!-- recording --> -{% for name, component in flow['recorders'].items() %} -{% include '%s.xml' % component.type %} -{% endfor %} - </flow> - -</planet> diff --git a/templates/flumotion/default/porter.xml b/templates/flumotion/default/porter.xml deleted file mode 100644 index 86b72b3..0000000 --- a/templates/flumotion/default/porter.xml +++ /dev/null @@ -1,10 +0,0 @@ - <component name="{{ name }}" - type="porter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> -%% for name, value in component.properties.items() - <property name="{{ name }}">{{ value }}</property> -%% endfor - </component> diff --git a/templates/flumotion/default/raw-encode.xml b/templates/flumotion/default/raw-encode.xml deleted file mode 100644 index c5e1c61..0000000 --- a/templates/flumotion/default/raw-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">identity</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/recorder.xml b/templates/flumotion/default/recorder.xml deleted file mode 100644 index b2fce9e..0000000 --- a/templates/flumotion/default/recorder.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="disk-consumer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> -%% for name, value in component.properties.items() - <property name="{{ name }}">{{ value }}</property> -%% endfor - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/repeater.xml b/templates/flumotion/default/repeater.xml deleted file mode 100644 index aa469ec..0000000 --- a/templates/flumotion/default/repeater.xml +++ /dev/null @@ -1,11 +0,0 @@ - <component name="{{ name }}" - type="repeater" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/soundcard.xml b/templates/flumotion/default/soundcard.xml deleted file mode 100644 index 23df8a4..0000000 --- a/templates/flumotion/default/soundcard.xml +++ /dev/null @@ -1,24 +0,0 @@ - <component name="{{ name }}_raw" - type="soundcard-producer" - label="{{ component.desc }} (raw)" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> -%% for name, value in component.properties.items() - <property name="{{ name }}">{{ value }}</property> -%% endfor - <clock-master>{{ component.master }}</clock-master> - </component> - - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }} (normalized)" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ name }}_raw</feed> - </eater> - <property name="pipeline">audioconvert ! audio/x-raw-int,rate=(int)48000,width=16,depth=16,channels=2</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/video-resize.xml b/templates/flumotion/default/video-resize.xml deleted file mode 100644 index 7f858b9..0000000 --- a/templates/flumotion/default/video-resize.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">videoscale method=lanczos ! video/x-raw-yuv,width={{ component.properties['width'] }},height={{ component.properties['height'] }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/videotest.xml b/templates/flumotion/default/videotest.xml deleted file mode 100644 index 342d645..0000000 --- a/templates/flumotion/default/videotest.xml +++ /dev/null @@ -1,11 +0,0 @@ - <component name="{{ name }}" - type="videotest-producer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> -%% for name, value in component.properties.items() - <property name="{{ name }}">{{ value }}</property> -%% endfor - <clock-master>{{ component.master }}</clock-master> - </component> diff --git a/templates/flumotion/default/vorbis-encode.xml b/templates/flumotion/default/vorbis-encode.xml deleted file mode 100644 index 83471fd..0000000 --- a/templates/flumotion/default/vorbis-encode.xml +++ /dev/null @@ -1,12 +0,0 @@ - <component name="{{ name }}" - type="vorbis-encoder" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="bitrate">{{ component.properties['bitrate'] * 1000 }}</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/vp8-encode.xml b/templates/flumotion/default/vp8-encode.xml deleted file mode 100644 index 79dfdc9..0000000 --- a/templates/flumotion/default/vp8-encode.xml +++ /dev/null @@ -1,13 +0,0 @@ - - <component name="{{ name }}" - type="pipeline-converter" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder }}</feed> - </eater> - <property name="pipeline">ffmpegcolorspace ! vp8enc bitrate={{ component.properties['bitrate'] * 1000 }} threads=8 max-keyframe-distance=50 speed=5 mode=1</property> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/webm-mux.xml b/templates/flumotion/default/webm-mux.xml deleted file mode 100644 index ac58f13..0000000 --- a/templates/flumotion/default/webm-mux.xml +++ /dev/null @@ -1,14 +0,0 @@ - <component name="{{ name }}" - type="webm-muxer" - label="{{ component.desc }}" - worker="{{ component.worker }}" - project="flumotion" - version="{{ globals.version }}"> - <eater name="default"> - <feed alias="default">{{ component.feeder_audio }}</feed> -%% if component.feeder_video - <feed alias="default-bis">{{ component.feeder_video }}</feed> -%% endif - </eater> - <clock-master>false</clock-master> - </component> diff --git a/templates/flumotion/default/worker.xml b/templates/flumotion/default/worker.xml deleted file mode 100644 index b6f4667..0000000 --- a/templates/flumotion/default/worker.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<worker name="{{ name }}"> - <manager> -%% for name, value in globals.manager.items() -%% if name != 'machine' - <{{ name }}>{{ value }}</{{ name }}> -%% endif -%% endfor - </manager> - - <authentication type="plaintext"> - <username>{{ name }}</username> - <password>{{ password }}</password> - </authentication> - - <feederports>{{ portrange }}</feederports> -%% if debug and debug != '' - <debug>{{ debug }}</debug> -%% endif -</worker> |