-
Notifications
You must be signed in to change notification settings - Fork 17
/
bbb-upload-9-2.xml
272 lines (240 loc) · 9.84 KB
/
bbb-upload-9-2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<?xml version="1.0" encoding="UTF-8" ?>
<definition xmlns="http://workflow.opencastproject.org">
<id>bbb-upload</id>
<title>BigBlueButton Upload</title>
<tags>
<tag>archive</tag>
</tags>
<displayOrder>1000</displayOrder>
<description>
Handles processing of raw recording data from BigBlueButton
</description>
<configuration_panel>
<![CDATA[
<div id="workflow-configuration">
<input id="publish" name="publish" type="checkbox" class="configField" value="true" checked=checked />
<label for="publish">Publish media directly</label>
</div>
]]>
</configuration_panel>
<operations>
<!-- Apply the default workflow configuration -->
<operation
id="defaults"
description="Applying default configuration values">
<configurations>
<configuration key="flagForCutting">false</configuration>
<configuration key="flagForReview">false</configuration>
<configuration key="flagQuality360p">false</configuration>
<configuration key="flagQuality480p">false</configuration>
<configuration key="flagQuality720p">true</configuration>
<configuration key="flagQuality1080p">true</configuration>
<configuration key="flagQuality2160p">false</configuration>
<configuration key="publishToEngage">true</configuration>
<configuration key="thumbnailType">0</configuration>
<configuration key="thumbnailPosition">1</configuration>
</configurations>
</operation>
<!-- Apply ACL from series to the mediapackage -->
<operation
id="series"
fail-on-error="true"
exception-handler-workflow="partial-error"
description="Applying access control entries from series">
<configurations>
<configuration key="apply-acl">true</configuration>
</configurations>
</operation>
<!--- Tag captions for publish to engage -->
<operation
id="tag"
max-attempts="2"
fail-on-error="true"
exception-handler-workflow="error"
description="Tagging captions for publishing to engage">
<configurations>
<configuration key="source-flavors">captions/*</configuration>
<configuration key="target-tags">+engage-download</configuration>
<configuration key="copy">false</configuration>
</configurations>
</operation>
<!-- Save source in case of errors -->
<operation
id="tag"
description="Tagging source material for archival">
<configurations>
<configuration key="source-flavors">*/*</configuration>
<configuration key="target-tags">+archive</configuration>
</configurations>
</operation>
<operation
id="snapshot"
fail-on-error="true"
exception-handler-workflow="partial-error"
description="Archiving">
<configurations>
<configuration key="source-tags">archive</configuration>
</configurations>
</operation>
<!-- Combine files from BBB -->
<operation
id="videogrid"
description="Create a single video grid from the webcam streams"
fail-on-error="true"
exception-handler-workflow="partial-error">
<configurations>
<configuration key="source-flavor">presenter/source</configuration>
<configuration key="source-flavors">presenter/source</configuration>
<configuration key="source-smil-flavor">smil/source+partial</configuration>
<configuration key="concat-encoding-profile">concat-samecodec.work</configuration>
<configuration key="target-flavor">presenter/withoutAudio</configuration>
</configurations>
</operation>
<!-- Combine files from BBB -->
<operation
id="inspect"
fail-on-error="true"
exception-handler-workflow="error"
description="Inspecting mediapackage track elements">
<configurations>
<configuration key="overwrite">false</configuration>
<configuration key="accept-no-media">false</configuration>
<configuration key="accurate-frame-count">true</configuration>
</configurations>
</operation>
<operation id="partial-import"
description="Post-processing raw audio and video files from capture agent"
fail-on-error="true"
exception-handler-workflow="partial-error">
<configurations>
<configuration key="source-presentation-flavor">presentation/source</configuration>
<configuration key="source-presenter-flavor">presenter/source</configuration>
<configuration key="source-smil-flavor">smil/source+partial</configuration>
<configuration key="target-presentation-flavor">presentation/unified</configuration>
<configuration key="target-presenter-flavor">presenter/IntoTheGarbage</configuration>
<configuration key="concat-encoding-profile">concat.work</configuration>
<configuration key="trim-encoding-profile">trim.work</configuration>
<configuration key="force-encoding-profile">editor.work</configuration>
<configuration key="preencode-encoding">true</configuration>
<configuration key="preencode-encoding-profile">editor.work</configuration>
</configurations>
</operation>
<!-- Add audio to presenter -->
<operation
id="prepare-av"
fail-on-error="true"
exception-handler-workflow="error"
description="Preparing presenter audio and video work versions">
<configurations>
<configuration key="source-flavor">presenter/withoutAudio</configuration>
<configuration key="target-flavor">presenter/unified</configuration>
<configuration key="rewrite">false</configuration>
<configuration key="audio-muxing-source-flavors">presentation/unified</configuration>
</configurations>
</operation>
<!-- CUT -->
<operation
id="cut-marks-to-smil"
description="Create a smil that can be used by the video editor from the ingested json"
fail-on-error="true"
exception-handler-workflow="partial-error">
<configurations>
<configuration key="source-media-flavors">presenter/unified,presentation/unified</configuration>
<configuration key="source-json-flavor">json/times</configuration>
<configuration key="target-smil-flavor">smil/cutmarks</configuration>
</configurations>
</operation>
<operation
id="clone"
description="Clone for editor"
exception-handler-workflow="partial-error">
<configurations>
<configuration key="source-flavor">smil/cutmarks</configuration>
<configuration key="target-flavor">smil/bbb-cutting</configuration>
</configurations>
</operation>
<operation id="editor"
exception-handler-workflow="partial-error"
description="Cut the recording according to the edit decision list">
<configurations>
<configuration key="source-flavors">*/unified</configuration>
<configuration key="smil-flavors">smil/bbb-cutting</configuration>
<configuration key="target-smil-flavor">smil/bbb-cutting</configuration>
<configuration key="target-flavor-subtype">prepared</configuration>
<configuration key="interactive">false</configuration>
</configurations>
</operation>
<!-- Create preview artifacts -->
<operation
id="include"
description="Prepare preview versions of the recording">
<configurations>
<configuration key="workflow-id">partial-preview</configuration>
</configurations>
</operation>
<!-- Publish -->
<operation
id="include"
description="Publish the recording">
<configurations>
<configuration key="workflow-id">partial-publish</configuration>
</configurations>
</operation>
<!-- Archive the final state of the media package -->
<operation
id="export-wf-properties"
fail-on-error="false"
description="Export workflow settings to Java properties file">
<configurations>
<configuration key="target-flavor">processing/defaults</configuration>
<configuration key="target-tags">archive</configuration>
</configurations>
</operation>
<operation
id="tag"
description="Untagging source material for archival removal">
<configurations>
<configuration key="source-flavors">*/source</configuration>
<configuration key="target-tags">-archive</configuration>
</configurations>
</operation>
<operation
id="tag"
description="Tagging work material for archival">
<configurations>
<configuration key="source-flavors">*/prepared</configuration>
<configuration key="target-tags">+archive</configuration>
</configurations>
</operation>
<operation
id="snapshot"
fail-on-error="true"
exception-handler-workflow="partial-error"
description="Archiving">
<configurations>
<configuration key="source-tags">archive</configuration>
</configurations>
</operation>
<!-- Delete every but the last snapshot -->
<operation
id="asset-delete"
fail-on-error="true"
exception-handler-workflow="partial-error"
description="Delete every older Snapshot from AssetManager">
<configurations>
<configuration key="keep-last-snapshot">true</configuration>
</configurations>
</operation>
<!-- Clean up the working file repository -->
<operation
id="cleanup"
fail-on-error="false"
description="Cleaning up">
<configurations>
<configuration key="delete-external">true</configuration>
<!-- FixMe Don't clean up ACLs until workflow service no longer looks for them in the WFR. -->
<configuration key="preserve-flavors">security/*</configuration>
</configurations>
</operation>
</operations>
</definition>