diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-05-07 20:19:31 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-05-07 20:19:31 +0200 |
commit | 55e7064977ada1bb1049552d5fce4d75375f3ddd (patch) | |
tree | 7d1a22e58380b475cf9e247147744950be95920f | |
parent | lower audio bitrate for hls mini streams (diff) |
added support for mpeg2 and mpegts
-rw-r--r-- | templates/flumotion/default/mpeg2-encode.xml | 12 | ||||
-rw-r--r-- | templates/flumotion/default/mpegts-mux.xml | 14 |
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> |