active_encode 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/active_encode.gemspec +1 -2
  3. data/lib/active_encode/version.rb +1 -1
  4. metadata +3 -273
  5. data/spec/controllers/encode_record_controller_spec.rb +0 -53
  6. data/spec/fixtures//"file_with_double_quote/".low.mp4 +0 -0
  7. data/spec/fixtures//"file_with_double_quote/".mp4 +0 -0
  8. data/spec/fixtures/'file_with_single_quote'.low.mp4 +0 -0
  9. data/spec/fixtures/'file_with_single_quote'.mp4 +0 -0
  10. data/spec/fixtures/@/341/213/210/341/213/263/341/214/205/341/210/205 /341/210/233/341/210/255 /341/211/242. /341/210/206/341/212/225 /341/214/250/341/210/255/341/210/265. /341/210/205 /341/212/240/341/211/265/341/210/213/341/210/260!@#$^^&$%&.low.mov +0 -0
  11. data/spec/fixtures/@/341/213/210/341/213/263/341/214/205/341/210/205 /341/210/233/341/210/255 /341/211/242. /341/210/206/341/212/225 /341/214/250/341/210/255/341/210/265. /341/210/205 /341/212/240/341/211/265/341/210/213/341/210/260!@#$^^&$%&.mov +0 -0
  12. data/spec/fixtures/Bars_512kb.mp4 +0 -0
  13. data/spec/fixtures/elastic_transcoder/input_completed.json +0 -1
  14. data/spec/fixtures/elastic_transcoder/input_generic.json +0 -1
  15. data/spec/fixtures/elastic_transcoder/input_progressing.json +0 -1
  16. data/spec/fixtures/elastic_transcoder/job_canceled.json +0 -1
  17. data/spec/fixtures/elastic_transcoder/job_completed.json +0 -1
  18. data/spec/fixtures/elastic_transcoder/job_created.json +0 -1
  19. data/spec/fixtures/elastic_transcoder/job_failed.json +0 -1
  20. data/spec/fixtures/elastic_transcoder/job_progressing.json +0 -1
  21. data/spec/fixtures/elastic_transcoder/output_canceled.json +0 -1
  22. data/spec/fixtures/elastic_transcoder/output_completed.json +0 -1
  23. data/spec/fixtures/elastic_transcoder/output_failed.json +0 -1
  24. data/spec/fixtures/elastic_transcoder/output_progressing.json +0 -1
  25. data/spec/fixtures/elastic_transcoder/output_submitted.json +0 -1
  26. data/spec/fixtures/ffmpeg/cancelled-id/cancelled +0 -0
  27. data/spec/fixtures/ffmpeg/cancelled-id/error.log +0 -0
  28. data/spec/fixtures/ffmpeg/cancelled-id/exit_status.code +0 -1
  29. data/spec/fixtures/ffmpeg/cancelled-id/input_metadata +0 -90
  30. data/spec/fixtures/ffmpeg/cancelled-id/pid +0 -1
  31. data/spec/fixtures/ffmpeg/cancelled-id/progress +0 -11
  32. data/spec/fixtures/ffmpeg/completed-id/error.log +0 -0
  33. data/spec/fixtures/ffmpeg/completed-id/exit_status.code +0 -1
  34. data/spec/fixtures/ffmpeg/completed-id/input_metadata +0 -102
  35. data/spec/fixtures/ffmpeg/completed-id/output_metadata-high +0 -90
  36. data/spec/fixtures/ffmpeg/completed-id/output_metadata-low +0 -90
  37. data/spec/fixtures/ffmpeg/completed-id/pid +0 -1
  38. data/spec/fixtures/ffmpeg/completed-id/progress +0 -11
  39. data/spec/fixtures/ffmpeg/completed-id/video-high.mp4 +0 -0
  40. data/spec/fixtures/ffmpeg/completed-id/video-low.mp4 +0 -0
  41. data/spec/fixtures/ffmpeg/completed-with-warnings-id/error.log +0 -3
  42. data/spec/fixtures/ffmpeg/completed-with-warnings-id/exit_status.code +0 -1
  43. data/spec/fixtures/ffmpeg/completed-with-warnings-id/input_metadata +0 -102
  44. data/spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-high +0 -90
  45. data/spec/fixtures/ffmpeg/completed-with-warnings-id/output_metadata-low +0 -90
  46. data/spec/fixtures/ffmpeg/completed-with-warnings-id/pid +0 -1
  47. data/spec/fixtures/ffmpeg/completed-with-warnings-id/progress +0 -11
  48. data/spec/fixtures/ffmpeg/completed-with-warnings-id/video-high.mp4 +0 -0
  49. data/spec/fixtures/ffmpeg/completed-with-warnings-id/video-low.mp4 +0 -0
  50. data/spec/fixtures/ffmpeg/failed-id/error.log +0 -1
  51. data/spec/fixtures/ffmpeg/failed-id/exit_status.code +0 -1
  52. data/spec/fixtures/ffmpeg/failed-id/input_metadata +0 -90
  53. data/spec/fixtures/ffmpeg/failed-id/pid +0 -1
  54. data/spec/fixtures/ffmpeg/failed-id/progress +0 -11
  55. data/spec/fixtures/ffmpeg/incomplete-id/error.log +0 -0
  56. data/spec/fixtures/ffmpeg/incomplete-id/exit_status.code +0 -1
  57. data/spec/fixtures/ffmpeg/incomplete-id/input_metadata +0 -102
  58. data/spec/fixtures/ffmpeg/incomplete-id/output_metadata-high +0 -90
  59. data/spec/fixtures/ffmpeg/incomplete-id/output_metadata-low +0 -90
  60. data/spec/fixtures/ffmpeg/incomplete-id/pid +0 -1
  61. data/spec/fixtures/ffmpeg/incomplete-id/progress +0 -11
  62. data/spec/fixtures/ffmpeg/incomplete-id/video-high.mp4 +0 -0
  63. data/spec/fixtures/ffmpeg/incomplete-id/video-low.mp4 +0 -0
  64. data/spec/fixtures/ffmpeg/running-id/error.log +0 -0
  65. data/spec/fixtures/ffmpeg/running-id/input_metadata +0 -90
  66. data/spec/fixtures/ffmpeg/running-id/pid +0 -1
  67. data/spec/fixtures/ffmpeg/running-id/progress +0 -11
  68. data/spec/fixtures/file with space.low.mp4 +0 -0
  69. data/spec/fixtures/file with space.mp4 +0 -0
  70. data/spec/fixtures/file.with :=+%sp3c!l-ch4cts().mp4 +0 -0
  71. data/spec/fixtures/file.with...periods.mp4 +0 -0
  72. data/spec/fixtures/file_without_metadata.low.webm +0 -0
  73. data/spec/fixtures/file_without_metadata.mp4 +0 -0
  74. data/spec/fixtures/file_without_metadata.webm +0 -0
  75. data/spec/fixtures/fireworks.low.mp4 +0 -0
  76. data/spec/fixtures/fireworks.mp4 +0 -0
  77. data/spec/fixtures/matterhorn/cancelled_response.xml +0 -323
  78. data/spec/fixtures/matterhorn/completed_response.xml +0 -4
  79. data/spec/fixtures/matterhorn/create_response.xml +0 -300
  80. data/spec/fixtures/matterhorn/delete_track_response.xml +0 -2
  81. data/spec/fixtures/matterhorn/failed_response.xml +0 -4
  82. data/spec/fixtures/matterhorn/purged_response.xml +0 -342
  83. data/spec/fixtures/matterhorn/running_response.xml +0 -1
  84. data/spec/fixtures/matterhorn/stop_completed_response.xml +0 -228
  85. data/spec/fixtures/matterhorn/stop_running_response.xml +0 -339
  86. data/spec/fixtures/media_convert/endpoints.json +0 -1
  87. data/spec/fixtures/media_convert/job_canceled.json +0 -412
  88. data/spec/fixtures/media_convert/job_canceling.json +0 -1
  89. data/spec/fixtures/media_convert/job_completed.json +0 -359
  90. data/spec/fixtures/media_convert/job_completed_detail.json +0 -1
  91. data/spec/fixtures/media_convert/job_completed_detail_query.json +0 -1
  92. data/spec/fixtures/media_convert/job_completed_empty_detail.json +0 -1
  93. data/spec/fixtures/media_convert/job_created.json +0 -408
  94. data/spec/fixtures/media_convert/job_failed.json +0 -406
  95. data/spec/fixtures/media_convert/job_progressing.json +0 -414
  96. data/spec/fixtures/pass_through/cancelled-id/cancelled +0 -0
  97. data/spec/fixtures/pass_through/cancelled-id/input_metadata +0 -90
  98. data/spec/fixtures/pass_through/completed-id/completed +0 -0
  99. data/spec/fixtures/pass_through/completed-id/input_metadata +0 -102
  100. data/spec/fixtures/pass_through/completed-id/output_metadata-high +0 -90
  101. data/spec/fixtures/pass_through/completed-id/output_metadata-low +0 -90
  102. data/spec/fixtures/pass_through/completed-id/video-high.mp4 +0 -0
  103. data/spec/fixtures/pass_through/completed-id/video-low.mp4 +0 -0
  104. data/spec/fixtures/pass_through/failed-id/error.log +0 -1
  105. data/spec/fixtures/pass_through/failed-id/input_metadata +0 -90
  106. data/spec/fixtures/pass_through/running-id/input_metadata +0 -90
  107. data/spec/fixtures/zencoder/job_create.json +0 -1
  108. data/spec/fixtures/zencoder/job_details_cancelled.json +0 -1
  109. data/spec/fixtures/zencoder/job_details_completed.json +0 -1
  110. data/spec/fixtures/zencoder/job_details_create.json +0 -1
  111. data/spec/fixtures/zencoder/job_details_failed.json +0 -73
  112. data/spec/fixtures/zencoder/job_details_running.json +0 -1
  113. data/spec/fixtures/zencoder/job_progress_cancelled.json +0 -13
  114. data/spec/fixtures/zencoder/job_progress_completed.json +0 -13
  115. data/spec/fixtures/zencoder/job_progress_create.json +0 -1
  116. data/spec/fixtures/zencoder/job_progress_failed.json +0 -13
  117. data/spec/fixtures/zencoder/job_progress_running.json +0 -1
  118. data/spec/integration/elastic_transcoder_adapter_spec.rb +0 -218
  119. data/spec/integration/ffmpeg_adapter_spec.rb +0 -535
  120. data/spec/integration/matterhorn_adapter_spec.rb +0 -130
  121. data/spec/integration/media_convert_adapter_spec.rb +0 -321
  122. data/spec/integration/pass_through_adapter_spec.rb +0 -293
  123. data/spec/integration/zencoder_adapter_spec.rb +0 -391
  124. data/spec/rails_helper.rb +0 -25
  125. data/spec/routing/encode_record_controller_routing_spec.rb +0 -10
  126. data/spec/spec_helper.rb +0 -20
  127. data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -16
  128. data/spec/units/callbacks_spec.rb +0 -66
  129. data/spec/units/core_spec.rb +0 -160
  130. data/spec/units/engine_adapter_spec.rb +0 -67
  131. data/spec/units/file_locator_spec.rb +0 -129
  132. data/spec/units/filename_sanitizer_spec.rb +0 -20
  133. data/spec/units/global_id_spec.rb +0 -50
  134. data/spec/units/input_spec.rb +0 -40
  135. data/spec/units/output_spec.rb +0 -42
  136. data/spec/units/persistence_spec.rb +0 -61
  137. data/spec/units/polling_job_spec.rb +0 -87
  138. data/spec/units/polling_spec.rb +0 -23
  139. data/spec/units/status_spec.rb +0 -81
@@ -1,323 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <workflow xmlns="http://workflow.opencastproject.org" xmlns:ns2="http://org.opencastproject.security" xmlns:ns3="http://mediapackage.opencastproject.org" state="STOPPED" id="cancelled-id">
3
- <template>full</template>
4
- <description>A workflow that puts mediapackages on hold</description>
5
- <parent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
6
- <ns2:creator>
7
- <ns2:userName>matterhorn_system_account</ns2:userName>
8
- <ns2:roles>MATTERHORN_ADMINISTRATOR</ns2:roles>
9
- <ns2:roles>ROLE_ADMIN</ns2:roles>
10
- <ns2:roles>ROLE_ANONYMOUS</ns2:roles>
11
- <ns2:roles>ROLE_OAUTH_USER</ns2:roles>
12
- <ns2:roles>ROLE_USER</ns2:roles>
13
- <ns2:organization>mh_default_org</ns2:organization>
14
- </ns2:creator>
15
- <ns2:organization id="mh_default_org">
16
- <ns2:name>Opencast Project</ns2:name>
17
- <ns2:servers>
18
- <ns2:server port="8080" name="localhost"/>
19
- </ns2:servers>
20
- <ns2:adminRole>ROLE_ADMIN</ns2:adminRole>
21
- <ns2:anonymousRole>ROLE_ANONYMOUS</ns2:anonymousRole>
22
- <ns2:properties>
23
- <ns2:property key="engageui.link_mobile_redirect.description">For more information have a look at the official site.</ns2:property>
24
- <ns2:property key="engageui.link_mobile_redirect.url">http://opencast.org/matterhorn/</ns2:property>
25
- <ns2:property key="engageui.annotations.enable">true</ns2:property>
26
- <ns2:property key="adminui.series_prepopulate.enable">false</ns2:property>
27
- <ns2:property key="adminui.i18n_tab_episode.enable">true</ns2:property>
28
- <ns2:property key="avalon.stream_base">file:///home/cjcolvar/Code/avalon/avalon/red5/webapps/avalon/streams</ns2:property>
29
- <ns2:property key="engageui.link_download.enable">false</ns2:property>
30
- <ns2:property key="adminui.chunksize">2024</ns2:property>
31
- <ns2:property key="logo_large">/engage/ui/img/mh_logos/MatterhornLogo_large.png</ns2:property>
32
- <ns2:property key="adminui.i18n_tab_users.enable">false</ns2:property>
33
- <ns2:property key="engageui.link_mobile_redirect.enable">false</ns2:property>
34
- <ns2:property key="engageui.links_media_module.enable">true</ns2:property>
35
- <ns2:property key="logo_small">/engage/ui/img/mh_logos/OpencastLogo.png</ns2:property>
36
- </ns2:properties>
37
- </ns2:organization>
38
- <ns3:mediapackage start="2015-04-20T18:01:57Z" id="609312d8-e41b-436f-9499-aedb05125510">
39
- <ns3:title>Bars_512kb.mp4</ns3:title>
40
- <ns3:media>
41
- <ns3:track type="presenter/source" id="de77d14b-d002-465d-8012-838ecf289960">
42
- <ns3:tags>
43
- <ns3:tag>archive</ns3:tag>
44
- </ns3:tags>
45
- <ns3:url>http://localhost:8080/files/mediapackage/609312d8-e41b-436f-9499-aedb05125510/de77d14b-d002-465d-8012-838ecf289960/Bars_512kb.mp4</ns3:url>
46
- </ns3:track>
47
- </ns3:media>
48
- <ns3:metadata>
49
- <ns3:catalog type="dublincore/episode" id="9075b60e-b4ce-490b-8c04-7a18bb890db1">
50
- <ns3:mimetype>text/xml</ns3:mimetype>
51
- <ns3:tags>
52
- <ns3:tag>archive</ns3:tag>
53
- <ns3:tag>engage</ns3:tag>
54
- </ns3:tags>
55
- <ns3:url>http://localhost:8080/files/mediapackage/609312d8-e41b-436f-9499-aedb05125510/9075b60e-b4ce-490b-8c04-7a18bb890db1/dublincore.xml</ns3:url>
56
- </ns3:catalog>
57
- </ns3:metadata>
58
- <ns3:attachments/>
59
- </ns3:mediapackage>
60
- <operations>
61
- <operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" continuable="true" abortable="true" fail-on-error="true" description="Hold for workflow selection" state="SUCCEEDED" job="6972" id="append">
62
- <configurations/>
63
- <holdurl>/workflow/hold/org.opencastproject.workflow.handler.appendworkflowoperationhandler</holdurl>
64
- <hold-action-title>Action</hold-action-title>
65
- <started>1429641937935</started>
66
- <completed>1429641938521</completed>
67
- <time-in-queue>0</time-in-queue>
68
- <execution-history/>
69
- </operation>
70
- <operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Applying access control rules" state="SUCCEEDED" job="7341" id="apply-acl">
71
- <configurations/>
72
- <started>1429641946745</started>
73
- <completed>1429641947473</completed>
74
- <time-in-queue>0</time-in-queue>
75
- <execution-history/>
76
- </operation>
77
- <operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" fail-on-error="true" description="Tagging source material for archival" state="SUCCEEDED" job="7342" id="tag">
78
- <configurations>
79
- <configuration key="source-flavors">*/source,dublincore/*,security/*</configuration>
80
- <configuration key="target-tags">+archive</configuration>
81
- </configurations>
82
- <started>1429641955975</started>
83
- <completed>1429641956685</completed>
84
- <time-in-queue>0</time-in-queue>
85
- <execution-history/>
86
- </operation>
87
- <operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" fail-on-error="true" description="Tagging dublin core catalogs for publishing" state="SUCCEEDED" job="7343" id="tag">
88
- <configurations>
89
- <configuration key="source-flavors">dublincore/*</configuration>
90
- <configuration key="target-tags">+engage</configuration>
91
- </configurations>
92
- <started>1429641965321</started>
93
- <completed>1429641965842</completed>
94
- <time-in-queue>0</time-in-queue>
95
- <execution-history/>
96
- </operation>
97
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Inspecting the media package" state="INSTANTIATED" job="7344" id="inspect">
98
- <configurations/>
99
- <execution-history/>
100
- </operation>
101
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Preparing presenter audio and video work versions" state="INSTANTIATED" id="prepare-av">
102
- <configurations>
103
- <configuration key="target-flavor">presenter/work</configuration>
104
- <configuration key="rewrite">false</configuration>
105
- <configuration key="promiscuous-audio-muxing">true</configuration>
106
- <configuration key="source-flavor">presenter/source</configuration>
107
- </configurations>
108
- <execution-history/>
109
- </operation>
110
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Preparing presentation audio and video work version" state="INSTANTIATED" id="prepare-av">
111
- <configurations>
112
- <configuration key="target-flavor">presentation/work</configuration>
113
- <configuration key="rewrite">false</configuration>
114
- <configuration key="promiscuous-audio-muxing">true</configuration>
115
- <configuration key="source-flavor">presentation/source</configuration>
116
- </configurations>
117
- <execution-history/>
118
- </operation>
119
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${videoPreview}" fail-on-error="true" description="Encoding presenter (camera) video for preview" state="INSTANTIATED" id="compose">
120
- <configurations>
121
- <configuration key="target-flavor">*/preview</configuration>
122
- <configuration key="encoding-profile">flash-preview.http</configuration>
123
- <configuration key="source-flavor">*/work</configuration>
124
- </configurations>
125
- <execution-history/>
126
- </operation>
127
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${trimHold}" fail-on-error="true" description="Waiting for user to review / trim recording" state="INSTANTIATED" id="trim">
128
- <configurations>
129
- <configuration key="encoding-profile">trim.work</configuration>
130
- <configuration key="target-flavor-subtype">trimmed</configuration>
131
- <configuration key="source-flavor">*/work</configuration>
132
- </configurations>
133
- <execution-history/>
134
- </operation>
135
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" fail-on-error="true" description="Tagging trimmed media for archive" state="INSTANTIATED" id="tag">
136
- <configurations>
137
- <configuration key="source-flavors">*/trimmed</configuration>
138
- <configuration key="target-tags">+archive</configuration>
139
- </configurations>
140
- <execution-history/>
141
- </operation>
142
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${captionHold}" fail-on-error="true" description="Waiting for user to upload captions" state="INSTANTIATED" id="caption">
143
- <configurations>
144
- <configuration key="target-tags">engage,archive</configuration>
145
- </configurations>
146
- <execution-history/>
147
- </operation>
148
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presenter (camera) to player preview image" state="INSTANTIATED" id="image">
149
- <configurations>
150
- <configuration key="source-tags"/>
151
- <configuration key="target-flavor">presenter/player+preview</configuration>
152
- <configuration key="time">1</configuration>
153
- <configuration key="encoding-profile">player-preview.http</configuration>
154
- <configuration key="target-tags">engage</configuration>
155
- <configuration key="source-flavor">presenter/trimmed</configuration>
156
- </configurations>
157
- <execution-history/>
158
- </operation>
159
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presentation (screen) to player preview image" state="INSTANTIATED" id="image">
160
- <configurations>
161
- <configuration key="source-tags"/>
162
- <configuration key="target-flavor">presentation/player+preview</configuration>
163
- <configuration key="time">1</configuration>
164
- <configuration key="encoding-profile">player-preview.http</configuration>
165
- <configuration key="target-tags">engage</configuration>
166
- <configuration key="source-flavor">presentation/trimmed</configuration>
167
- </configurations>
168
- <execution-history/>
169
- </operation>
170
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presenter (camera) video to Flash download" state="INSTANTIATED" id="compose">
171
- <configurations>
172
- <configuration key="target-flavor">presenter/delivery</configuration>
173
- <configuration key="encoding-profile">flash.http</configuration>
174
- <configuration key="target-tags">engage</configuration>
175
- <configuration key="source-flavor">presenter/trimmed</configuration>
176
- </configurations>
177
- <execution-history/>
178
- </operation>
179
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presentation (screen) to Flash download" state="INSTANTIATED" id="compose">
180
- <configurations>
181
- <configuration key="target-flavor">presentation/delivery</configuration>
182
- <configuration key="encoding-profile">flash-vga.http</configuration>
183
- <configuration key="target-tags">engage</configuration>
184
- <configuration key="source-flavor">presentation/trimmed</configuration>
185
- </configurations>
186
- <execution-history/>
187
- </operation>
188
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="false" description="Encoding presenter (screen) to flash audio download" state="INSTANTIATED" id="compose">
189
- <configurations>
190
- <configuration key="target-flavor">presenter/delivery</configuration>
191
- <configuration key="encoding-profile">flash-audio.http</configuration>
192
- <configuration key="target-tags">engage</configuration>
193
- <configuration key="source-flavor">presenter/trimmed</configuration>
194
- </configurations>
195
- <execution-history/>
196
- </operation>
197
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="false" description="Extracting segments from presentation" state="INSTANTIATED" id="segment-video">
198
- <configurations>
199
- <configuration key="source-flavor">presentation/trimmed</configuration>
200
- </configurations>
201
- <execution-history/>
202
- </operation>
203
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presenter (camera) to search result preview image" state="INSTANTIATED" id="image">
204
- <configurations>
205
- <configuration key="source-tags"/>
206
- <configuration key="target-flavor">presenter/search+preview</configuration>
207
- <configuration key="time">1</configuration>
208
- <configuration key="encoding-profile">search-cover.http</configuration>
209
- <configuration key="target-tags">engage</configuration>
210
- <configuration key="source-flavor">presenter/trimmed</configuration>
211
- </configurations>
212
- <execution-history/>
213
- </operation>
214
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presentation (screen) to search result preview image" state="INSTANTIATED" id="image">
215
- <configurations>
216
- <configuration key="source-tags"/>
217
- <configuration key="target-flavor">presentation/search+preview</configuration>
218
- <configuration key="time">1</configuration>
219
- <configuration key="encoding-profile">search-cover.http</configuration>
220
- <configuration key="target-tags">engage</configuration>
221
- <configuration key="source-flavor">presentation/trimmed</configuration>
222
- </configurations>
223
- <execution-history/>
224
- </operation>
225
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding to feed download formats" state="INSTANTIATED" id="compose">
226
- <configurations>
227
- <configuration key="target-flavor">*/delivery</configuration>
228
- <configuration key="encoding-profiles">feed-m4a.http, feed-avi.http</configuration>
229
- <configuration key="target-tags">rss, atom</configuration>
230
- <configuration key="source-flavor">*/trimmed</configuration>
231
- </configurations>
232
- <execution-history/>
233
- </operation>
234
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presenter (camera) to feed preview image" state="INSTANTIATED" id="image">
235
- <configurations>
236
- <configuration key="source-tags"/>
237
- <configuration key="target-flavor">presenter/feed+preview</configuration>
238
- <configuration key="time">1</configuration>
239
- <configuration key="encoding-profile">feed-cover.http</configuration>
240
- <configuration key="target-tags">rss, atom</configuration>
241
- <configuration key="source-flavor">presenter/trimmed</configuration>
242
- </configurations>
243
- <execution-history/>
244
- </operation>
245
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding presentation (screen) to feed preview image" state="INSTANTIATED" id="image">
246
- <configurations>
247
- <configuration key="source-tags"/>
248
- <configuration key="target-flavor">presentation/feed+preview</configuration>
249
- <configuration key="time">1</configuration>
250
- <configuration key="encoding-profile">feed-cover.http</configuration>
251
- <configuration key="target-tags">rss, atom</configuration>
252
- <configuration key="source-flavor">presentation/trimmed</configuration>
253
- </configurations>
254
- <execution-history/>
255
- </operation>
256
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="false" description="Encoding presentation (screen) to segment preview image" state="INSTANTIATED" id="segmentpreviews">
257
- <configurations>
258
- <configuration key="source-tags"/>
259
- <configuration key="target-flavor">presentation/segment+preview</configuration>
260
- <configuration key="encoding-profile">player-slides.http</configuration>
261
- <configuration key="reference-flavor">presentation/delivery</configuration>
262
- <configuration key="target-tags">engage</configuration>
263
- <configuration key="reference-tags">engage</configuration>
264
- <configuration key="source-flavor">presentation/trimmed</configuration>
265
- </configurations>
266
- <execution-history/>
267
- </operation>
268
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="false" description="Extracting text from presentation segments" state="INSTANTIATED" id="extract-text">
269
- <configurations>
270
- <configuration key="source-tags"/>
271
- <configuration key="target-tags">engage,archive</configuration>
272
- <configuration key="source-flavor">presentation/trimmed</configuration>
273
- </configurations>
274
- <execution-history/>
275
- </operation>
276
- <operation retry-strategy="none" failed-attempts="0" max-attempts="2" exception-handler-workflow="error" fail-on-error="true" description="Distributing to progressive downloads" state="INSTANTIATED" id="distribute-download">
277
- <configurations>
278
- <configuration key="source-tags">engage,atom,rss,-publish</configuration>
279
- <configuration key="target-tags">publish</configuration>
280
- <configuration key="check-availability">true</configuration>
281
- </configurations>
282
- <execution-history/>
283
- </operation>
284
- <operation retry-strategy="none" failed-attempts="0" max-attempts="2" exception-handler-workflow="error" if="rtmp://localhost/vod" fail-on-error="true" description="Distributing to streaming server" state="INSTANTIATED" id="distribute-streaming">
285
- <configurations>
286
- <configuration key="source-tags">engage,-publish</configuration>
287
- <configuration key="target-tags">publish</configuration>
288
- </configurations>
289
- <execution-history/>
290
- </operation>
291
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" fail-on-error="true" description="Removing archive tag from distributed material" state="INSTANTIATED" id="tag">
292
- <configurations>
293
- <configuration key="source-tags">publish</configuration>
294
- <configuration key="target-tags">-archive</configuration>
295
- </configurations>
296
- <execution-history/>
297
- </operation>
298
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${archiveOp}" fail-on-error="true" description="Archiving" state="INSTANTIATED" id="archive">
299
- <configurations>
300
- <configuration key="source-tags">archive</configuration>
301
- </configurations>
302
- <execution-history/>
303
- </operation>
304
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Publishing" state="INSTANTIATED" id="publish">
305
- <configurations>
306
- <configuration key="source-tags">publish</configuration>
307
- </configurations>
308
- <execution-history/>
309
- </operation>
310
- <operation retry-strategy="none" failed-attempts="0" max-attempts="1" fail-on-error="false" description="Cleaning up" state="INSTANTIATED" id="cleanup">
311
- <configurations>
312
- <configuration key="preserve-flavors"/>
313
- </configurations>
314
- <execution-history/>
315
- </operation>
316
- </operations>
317
- <configurations>
318
- <configuration key="workflowSelector">full</configuration>
319
- <configuration key="distribution">Matterhorn Media Module</configuration>
320
- <configuration key="archiveOp">true</configuration>
321
- </configurations>
322
- <errors/>
323
- </workflow>
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?><workflow xmlns="http://workflow.opencastproject.org" xmlns:ns2="http://org.opencastproject.security" xmlns:ns3="http://mediapackage.opencastproject.org" state="SUCCEEDED" id="completed-id"><template>avalon</template><title>Encode, Analyze, and Distribute (Avalon)</title><description>
2
- A simple workflow that transcodes the media into distribution formats, then sends the resulting distribution files,
3
- along with their associated metadata, to the distribution channels.
4
- </description><parent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns2:creator><ns2:userName>matterhorn_system_account</ns2:userName><ns2:roles>MATTERHORN_ADMINISTRATOR</ns2:roles><ns2:roles>ROLE_ADMIN</ns2:roles><ns2:roles>ROLE_ANONYMOUS</ns2:roles><ns2:roles>ROLE_OAUTH_USER</ns2:roles><ns2:roles>ROLE_USER</ns2:roles><ns2:organization>mh_default_org</ns2:organization></ns2:creator><ns2:organization id="mh_default_org"><ns2:name>Opencast Project</ns2:name><ns2:servers><ns2:server port="8080" name="localhost"/></ns2:servers><ns2:adminRole>ROLE_ADMIN</ns2:adminRole><ns2:anonymousRole>ROLE_ANONYMOUS</ns2:anonymousRole><ns2:properties><ns2:property key="engageui.link_mobile_redirect.description">For more information have a look at the official site.</ns2:property><ns2:property key="engageui.link_mobile_redirect.url">http://opencast.org/matterhorn/</ns2:property><ns2:property key="engageui.annotations.enable">true</ns2:property><ns2:property key="adminui.series_prepopulate.enable">false</ns2:property><ns2:property key="adminui.i18n_tab_episode.enable">true</ns2:property><ns2:property key="avalon.stream_base">file:///home/cjcolvar/Code/avalon/avalon/red5/webapps/avalon/streams</ns2:property><ns2:property key="engageui.link_download.enable">false</ns2:property><ns2:property key="adminui.chunksize">2024</ns2:property><ns2:property key="logo_large">/engage/ui/img/mh_logos/MatterhornLogo_large.png</ns2:property><ns2:property key="adminui.i18n_tab_users.enable">false</ns2:property><ns2:property key="engageui.link_mobile_redirect.enable">false</ns2:property><ns2:property key="engageui.links_media_module.enable">true</ns2:property><ns2:property key="logo_small">/engage/ui/img/mh_logos/OpencastLogo.png</ns2:property></ns2:properties></ns2:organization><ns3:mediapackage start="2015-04-21T18:08:00Z" id="f564d9de-9c35-4b74-95f0-f3013f32cc1a" duration="6337"><ns3:title>videoshort.mp4</ns3:title><ns3:media><ns3:track ref="track:b09c765f-b64e-4725-a863-736af66b688c" type="presenter/delivery" id="track-7"><ns3:mimetype>video/mp4</ns3:mimetype><ns3:tags><ns3:tag>engage</ns3:tag><ns3:tag>publish</ns3:tag><ns3:tag>quality-high</ns3:tag><ns3:tag>streaming</ns3:tag></ns3:tags><ns3:url>rtmp://localhost/vod/mp4:f564d9de-9c35-4b74-95f0-f3013f32cc1a/b09c765f-b64e-4725-a863-736af66b688c/videoshort</ns3:url><ns3:checksum type="md5">77de9765545ef63d2c21f7557ead6176</ns3:checksum><ns3:duration>6337</ns3:duration><ns3:audio id="audio-1"><ns3:device/><ns3:encoder type="AAC"/><ns3:channels>2</ns3:channels><ns3:bitrate>76502.0</ns3:bitrate></ns3:audio><ns3:video id="video-1"><ns3:device/><ns3:encoder type="AVC"/><ns3:bitrate>2000000.0</ns3:bitrate><ns3:framerate>30.0</ns3:framerate><ns3:resolution>1308x720</ns3:resolution><ns3:scantype type="Progressive"/></ns3:video></ns3:track><ns3:track ref="track:8d5cd8a9-ad0e-484a-96f0-05e26a84a8f0" type="presenter/delivery" id="track-8"><ns3:mimetype>video/mp4</ns3:mimetype><ns3:tags><ns3:tag>engage</ns3:tag><ns3:tag>publish</ns3:tag><ns3:tag>quality-low</ns3:tag><ns3:tag>streaming</ns3:tag></ns3:tags><ns3:url>rtmp://localhost/vod/mp4:f564d9de-9c35-4b74-95f0-f3013f32cc1a/8d5cd8a9-ad0e-484a-96f0-05e26a84a8f0/videoshort</ns3:url><ns3:checksum type="md5">10e13cf51bf8a973011eec6a17ea47ff</ns3:checksum><ns3:duration>6337</ns3:duration><ns3:audio id="audio-1"><ns3:device/><ns3:encoder type="AAC"/><ns3:channels>2</ns3:channels><ns3:bitrate>76502.0</ns3:bitrate></ns3:audio><ns3:video id="video-1"><ns3:device/><ns3:encoder type="AVC"/><ns3:bitrate>500000.0</ns3:bitrate><ns3:framerate>30.0</ns3:framerate><ns3:resolution>654x360</ns3:resolution><ns3:scantype type="Progressive"/></ns3:video></ns3:track><ns3:track ref="track:0f81d426-0e26-4496-8f58-c675c86e6f4e" type="presenter/delivery" id="track-9"><ns3:mimetype>video/mp4</ns3:mimetype><ns3:tags><ns3:tag>engage</ns3:tag><ns3:tag>publish</ns3:tag><ns3:tag>quality-medium</ns3:tag><ns3:tag>streaming</ns3:tag></ns3:tags><ns3:url>rtmp://localhost/vod/mp4:f564d9de-9c35-4b74-95f0-f3013f32cc1a/0f81d426-0e26-4496-8f58-c675c86e6f4e/videoshort</ns3:url><ns3:checksum type="md5">f2b16a2606dc76cb53c7017f0e166204</ns3:checksum><ns3:duration>6337</ns3:duration><ns3:audio id="audio-1"><ns3:device/><ns3:encoder type="AAC"/><ns3:channels>2</ns3:channels><ns3:bitrate>76502.0</ns3:bitrate></ns3:audio><ns3:video id="video-1"><ns3:device/><ns3:encoder type="AVC"/><ns3:bitrate>1000000.0</ns3:bitrate><ns3:framerate>30.0</ns3:framerate><ns3:resolution>872x480</ns3:resolution><ns3:scantype type="Progressive"/></ns3:video></ns3:track></ns3:media><ns3:metadata/><ns3:attachments/></ns3:mediapackage><operations><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Inspecting the media package" state="SUCCEEDED" job="7233" id="inspect"><configurations/><started>1429639751404</started><completed>1429639765570</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="false" description="Preprocessing (1/4)" state="SUCCEEDED" job="7235" id="compose"><configurations><configuration key="target-flavor">presenter/source</configuration><configuration key="encoding-profile">epiphan.presenter</configuration><configuration key="source-flavor">multitrack/source</configuration></configurations><started>1429639778807</started><completed>1429639779473</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Preprocessing (2/4)" state="SUCCEEDED" job="7236" id="prepare-av"><configurations><configuration key="target-flavor">presenter/work</configuration><configuration key="rewrite">false</configuration><configuration key="promiscuous-audio-muxing">true</configuration><configuration key="source-flavor">presenter/source</configuration></configurations><started>1429639787918</started><completed>1429639788625</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${trimHold}" fail-on-error="true" description="Preprocessing (3/4)" state="SKIPPED" job="7237" id="compose"><configurations><configuration key="target-flavor">presenter/preview</configuration><configuration key="encoding-profile">flash-preview.http</configuration><configuration key="source-flavor">presenter/work</configuration></configurations><started>1429639797038</started><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" if="${trimHold}" fail-on-error="true" description="Preprocessing (4/4)" state="SKIPPED" job="7238" id="trim"><configurations><configuration key="encoding-profile">trim.work</configuration><configuration key="target-flavor-subtype">trimmed</configuration><configuration key="source-flavor">*/work</configuration></configurations><started>1429639806196</started><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding video to mp4 (low quality)" state="SUCCEEDED" job="7239" id="compose"><configurations><configuration key="target-flavor">presenter/delivery</configuration><configuration key="encoding-profile">mp4-low.http</configuration><configuration key="target-tags">engage, quality-low</configuration><configuration key="source-flavor">presenter/trimmed</configuration></configurations><started>1429639815377</started><completed>1429639848060</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding video to mp4 (medium quality)" state="SUCCEEDED" job="7242" id="compose"><configurations><configuration key="target-flavor">presenter/delivery</configuration><configuration key="encoding-profile">mp4-medium.http</configuration><configuration key="target-tags">engage, quality-medium</configuration><configuration key="source-flavor">presenter/trimmed</configuration></configurations><started>1429639861319</started><completed>1429639903997</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Encoding video to mp4 (high quality)" state="SUCCEEDED" job="7245" id="compose"><configurations><configuration key="target-flavor">presenter/delivery</configuration><configuration key="encoding-profile">mp4-high.http</configuration><configuration key="target-tags">engage, quality-high</configuration><configuration key="source-flavor">presenter/trimmed</configuration></configurations><started>1429639917211</started><completed>1429639983209</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Applying access control rules" state="SUCCEEDED" job="7248" id="apply-acl"><configurations/><started>1429639992329</started><completed>1429639992950</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="2" exception-handler-workflow="error" if="rtmp://localhost/vod" fail-on-error="true" description="Distributing desktop stream to server" state="SUCCEEDED" job="7249" id="distribute-streaming"><configurations><configuration key="source-tags">engage,-publish</configuration><configuration key="target-tags">publish, streaming</configuration></configurations><started>1429640001455</started><completed>1429640015683</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" exception-handler-workflow="error" fail-on-error="true" description="Published" state="SUCCEEDED" job="7253" id="publish"><configurations><configuration key="source-tags">publish</configuration></configurations><started>1429640028982</started><completed>1429640044027</completed><time-in-queue>0</time-in-queue><execution-history/></operation><operation retry-strategy="none" execution-host="http://localhost:8080" failed-attempts="0" max-attempts="1" fail-on-error="false" description="Cleaning up" state="SUCCEEDED" job="7255" id="cleanup"><configurations><configuration key="preserve-flavors"></configuration></configurations><started>1429640057371</started><completed>1429640058061</completed><time-in-queue>0</time-in-queue><execution-history/></operation></operations><configurations/><errors/></workflow>