Advertisement
tsrein

opencast workflow fast hls paella

Jul 13th, 2022
1,517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.24 KB | None | 0 0
  1. ---
  2. id: fast-paellateam
  3. title: Fast + Paellateam enc example
  4. tags:
  5.  - upload
  6.   - schedule
  7. displayOrder: 100
  8. description: |-
  9.   A minimal workflow that transcodes media into distribution formats,
  10.   then publishes the resulting distribution files, along with their associated metadata.
  11. configuration_panel: |-
  12.   <div id="workflow-configuration">
  13.     <input id="straightToPublishing" name="straightToPublishing" type="checkbox" class="configField" value="true" checked=checked />
  14.     <label for="straightToPublishing">Straight to publishing</label>
  15.  </div>
  16. operations:
  17.   - id: defaults
  18.     description: "Applying default configuration values"
  19.     configurations:
  20.       - straightToPublishing: true
  21.  
  22.   - id: series
  23.     fail-on-error: true
  24.     exception-handler-workflow: partial-error
  25.     description: "Applying access control entries from series"
  26.     configurations:
  27.       - apply-acl: true
  28.  
  29.   - id: inspect
  30.     fail-on-error: true
  31.     exception-handler-workflow: "partial-error"
  32.     description: "Inspecting audio and video streams"
  33.     configurations:
  34.       - overwrite: false
  35.       - accept-no-media: false
  36.  
  37.   - id: encode
  38.     fail-on-error: true
  39.     exception-handler-workflow: "partial-error"
  40.     description: "Encoding video"
  41.     configurations:
  42.       - source-flavor: "*/source"
  43.       - target-flavor: "*/preview"
  44.       - target-tags: "engage-download,engage-streaming,rss,atom"
  45.       - encoding-profile: "fast-paellateam.multi"
  46.  
  47.   - id: image
  48.     if: "${straightToPublishing}"
  49.     fail-on-error: true
  50.     exception-handler-workflow: "partial-error"
  51.     description: "Creating Engage search result thumbnails"
  52.     configurations:
  53.       - source-flavor: "*/source"
  54.       - target-flavor: "*/search+preview"
  55.       - target-tags: "engage-download"
  56.       - encoding-profile: "search-cover.http"
  57.       - time: 1
  58.  
  59.   - id: image
  60.     if: "${straightToPublishing}"
  61.     fail-on-error: true
  62.     exception-handler-workflow: "partial-error"
  63.     description: "Creating Engage player preview image"
  64.     configurations:
  65.       - source-flavor: "*/source"
  66.       - target-flavor: "*/player+preview"
  67.       - target-tags: "engage-download"
  68.       - encoding-profile: "player-preview.http"
  69.       - time: 1
  70.  
  71.   - id: segment-video
  72.     if: "${straightToPublishing}"
  73.     fail-on-error: false
  74.     exception-handler-workflow: "partial-error"
  75.     description: "Detecting slide transitions in presentation track"
  76.     configurations:
  77.       - source-flavor: "presentation/source"
  78.       - target-tags: "engage-download"
  79.  
  80.   - id: segmentpreviews
  81.     if: "${straightToPublishing}"
  82.     fail-on-error: false
  83.     exception-handler-workflow: "partial-error"
  84.     description: "Creating presentation segments preview image"
  85.     configurations:
  86.       - source-flavor: "presentation/source"
  87.       - target-flavor: "presentation/segment+preview"
  88.       - reference-tags: "engage-download"
  89.       - target-tags: "engage-download"
  90.       - encoding-profile: "player-slides.http"
  91.  
  92.   - id: publish-configure
  93.     exception-handler-workflow: "partial-error"
  94.     description: "Publish to preview publication channel"
  95.     configurations:
  96.       - download-source-flavors: "*/preview"
  97.       - channel-id: "internal"
  98.       - url-pattern: "${org_org_opencastproject_admin_ui_url!'http://localhost:8080'}/admin-ng/index.html#/events/events/${event_id}/tools/editor"
  99.       - check-availability: false
  100.  
  101.   - id: publish-engage
  102.     if: "${straightToPublishing}"
  103.     max-attempts: 2
  104.     fail-on-error: true
  105.     exception-handler-workflow: "partial-error"
  106.     description: "Publishing to Engage"
  107.     configurations:
  108.       - download-source-flavors: "dublincore/*,security/*"
  109.       - download-source-tags: "engage-download"
  110.       - check-availability: false
  111.  
  112.   - id: snapshot
  113.     fail-on-error: true
  114.     exception-handler-workflow: "partial-error"
  115.     description: "Archiving"
  116.     configurations:
  117.       - source-flavors: "*/source,dublincore/*,security/*"
  118.  
  119.   - id: cleanup
  120.     fail-on-error: "false"
  121.     description: "Cleaning up"
  122.     configurations:
  123.       - delete-external: true
  124.       - preserve-flavors: "security/*"
  125.  
  126. state-mappings:
  127.   - state: "running"
  128.     value: EVENTS.EVENTS.STATE_MAPPING.IMPORTING
  129.   - state: "failing"
  130.     value: EVENTS.EVENTS.STATE_MAPPING.IMPORTING
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement