summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/flumotion/default/mpeg2-encode.xml12
-rw-r--r--templates/flumotion/default/mpegts-mux.xml14
2 files changed, 26 insertions, 0 deletions
diff --git a/templates/flumotion/default/mpeg2-encode.xml b/templates/flumotion/default/mpeg2-encode.xml
new file mode 100644
index 0000000..05a56c4
--- /dev/null
+++ b/templates/flumotion/default/mpeg2-encode.xml
@@ -0,0 +1,12 @@
+ <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
new file mode 100644
index 0000000..4338fe4
--- /dev/null
+++ b/templates/flumotion/default/mpegts-mux.xml
@@ -0,0 +1,14 @@
+ <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 != 'none'
+ <feed alias="default-bis">{{ component.feeder_video }}</feed>
+%% endif
+ </eater>
+ <clock-master>false</clock-master>
+ </component>