diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-09-29 22:43:25 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-09-29 22:43:25 +0200 |
commit | 43c3155d569b667de721f99b5f1a2f845d4ae68f (patch) | |
tree | bcf033a3733dd154a795c09b106d49331b814725 | |
parent | width and height as numbers not strings (diff) |
added h264 encode template, what about video bitrate
-rw-r--r-- | src/test.json | 6 | ||||
-rw-r--r-- | templates/example/h264-encode.xml | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/test.json b/src/test.json index cd1c903..a3d71a3 100644 --- a/src/test.json +++ b/src/test.json @@ -21,9 +21,9 @@ "ogg-audio": { "muxer": "ogg", "audio": "vorbis" } }, "profiles": { - "high": { "video": "720p25", "audio": 160 }, - "medium": { "video": "480p25", "audio": 160 }, - "low": { "video": "360p25", "audio": 96 } + "high": { "resolution": "720p25", "video": 2048, "audio": 160 }, + "medium": { "resolution": "480p25", "video": 1024, "audio": 160 }, + "low": { "resolution": "360p25", "video": 600, "audio": 96 } }, "machines": { "titan": [ "input", "encoder-vorbis", "encoder-aac", "muxer", "streamer0" ], diff --git a/templates/example/h264-encode.xml b/templates/example/h264-encode.xml new file mode 100644 index 0000000..9e85b0d --- /dev/null +++ b/templates/example/h264-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 ! x264enc bitrate={{ component.properties['bitrate'] }} profile=baseline threads=6 key-int-max=50 byte-stream=false pass=0 cabac=true bframes=0</property> + <clock-master>false</clock-master> + </component> |