Other Topic Library Versions

Example rules: Export segments, assets

You can create a rule that exports one of the following:
  • Approved standard segments that are part of a live segmentation
  • Approved assets
To export both segments and assets, you must configure one rule for segments and another rule for assets. These rules are examples of typical rules used in the Digital Media Platform workflow. These rules are customized for the specific workflow at the customer site.
  1. Log in to the GV STRATUS Control Panel application with administrator privileges.
  2. In the GV STRATUS Control Panel application, click General | Rules.
  3. Click Add. Rule Editor settings open.
  4. In the Rule Type drop-down list select Export.
  5. In the Name field type in a name for the rule you are configuring.
  6. In the Description field type in a description for the rule you are configuring.
  7. In Rule Options settings, specify the rule behavior.

    1. Select the Visible in STRATUS UI check-box if you want to trigger the rule via context menu in the Asset List panel.

      By default, all users can see all rules that had been set to Visible in STRATUS UI.

      To configure the rule to be only visible to specific user or user groups, click the button.

      The Modify Rule Permissions dialog box appears.

      To assign permissions, click + and enter any user or group in the Add Users or Groups dialog box. If necessary, click Advanced to open Windows operating system dialog box to find and validate users or groups.

      • + : Opens the Add Users or Groups dialog box to assign users or groups with permissions.
      • - : Removes a user or group from the list.

      After adding specific user or group, set permission for Apply in UI setting by selecting Allow or Deny as appropriate.

    2. Select whether the rule copies the asset.
    3. Select whether the rule renames or overwrites the asset.
      • Rename: The rule appends a suffix to the new asset file name. The existing asset is retained.
      • Overwrite: The new asset overwrites the existing asset. The existing asset is deleted.
    4. Select when the rule is applied each asset.
      • Execute rule only once per asset: The rule is applied once per asset. The Rules Engine uses data stored in the asset's ExecutedByRules metadata field to determine if the rule has been applied to the asset. If it has been applied, the Rules Engine does not apply it again, even if the rule criteria still match for the asset.
      • Execute every time rule conditions apply: The rule can be applied multiple times per asset, if the asset matches rule conditions multiple times.
    5. Select the priority that the Rules Engine processes the rule, with the transfers and transcodes the rule controls, when there are multiple rules in a queue waiting to be processed.
      • Priority: High: Put this rule in a queue with other high priority rules and process through the high priority rule queue before any normal priority or low priority rules.
      • Priority: Normal: Put this rule in a queue with other normal priority rules and process through the normal priority rule queue after any high priority but before any low priority rules.
      • Priority: Low: Put this rule in a queue with other low priority rules and process through the low priority rule queue after any high priority or medium priority rules.
    6. Select the condition when the rule is applied to each asset.
      • Apply rule on growing file: The rule is applied to all files, including those that are still recording.
      • Apply rule on completed files: The rule is only applied to files that have finished recording.
  8. In Rule Notification settings, specify the notification behavior, if desired.

    1. Enter email addresses to which emails are sent. Separate multiple email addresses with a comma.
    2. Select one or more notification types:
      • Delivery Failed: Emails are sent if the rule operation fails.
      • Delivery Completed: Emails are sent if the rule operation succeeds.
    In order to send emails, the email server must be configured in Workflow Engine settings.
  9. In Scope settings, specify the location or locations in which the rule operates.
    1. Click Add location. The Location Selection dialog box opens.
    2. Navigate to and select the desired location. This is the location that contains the files on which the rule operates. Every time the rule runs, it looks in this location to determine if there are any assets that match the rule conditions and then operates on the assets that match.
    3. Click OK. The location is added to the Scope list.
    4. Do not select Include Subfolders.
  10. In Export Filename Format settings, set the convention for the name of the exported file. Select Asset Name only.
  11. In Frequency settings, specify how often the Rules Engine triggers the rule, as follows:
    • Metadata Change: The rule is constantly monitoring assets in the "Scope" location.
  12. In Export Options settings, configure the format of the exported files.
    1. For Transcode Format, configure as follows:
      • Configure a specific transcode format (MP4 AVC), as it exists in a currently configured Elemental transcode profile.
      When a Transcode Format is selected, Native Format is automatically set to None and disabled.
    2. For Metadata Format, select as follows to additionally export an XML metadata file:
      • Select GV STRATUS Simple.
      If you select a metadata format, the Metadata-Destination Path field is enabled.
    3. For Metadata-Destination Path, configure as follows:
      • You are exporting the metadata file to the same destination as the asset file, so leave this field blank. The file goes to the path configured in Destination settings.
    4. For Thumbnails - Marker, select as follows:
      • None: The export does not contain thumbnails.
    5. For Closed Caption Format, select as follows:
      • K2-SCC: Workflow Engine extracts CEA-608 information stored in Ancillary data (CEA-708) from the asset on the K2 system and exports to a file in SCC format.
      If you select a Closed Caption format, the CC-Destination Path field is enabled.
    6. For CC-Destination Path, configure as follows:
      • You are exporting the Closed Caption file to the same destination as the asset file, so leave this field blank. The file goes to the path configured in Destination settings.
  13. In Destination settings, enter \\server\folder.
  14. In Rule Conditions settings, specify the conditions the Rules Engine looks for to qualify an asset.

  15. In the Select items when drop down list, select ALL of the conditions below are met.
  16. For each condition (1, 2, 3) click the Add Condition button and select from lists to define the condition.
    • For a rule that exports segments, configure conditions as follows:
      1 Segmentation Type is Live
      2 Segment Approval is Approved
      3 Segment Type is Standard

      In the list of conditions, segment custom metadata is listed in its own section, separate from asset custom metadata.

    • For a rule that exports assets, configure conditions as follows:
      1 Asset Approval is Approved
      2 PrimaryAngle is True

    You can set the rule to transfer all angles of an asset if you set the PrimaryAngle condition to is True.

  17. In Set Metadata settings, define the metadata that Rules Engine will set during the execution of a rule for an asset.

  18. Configure metadata as follows:
    • For each metadata, click the Add Metadata button and select from the drop-down list to select the metadata.
    • Define the metadata value which will be added into the data field of the asset when the rule is applied to.
    • Select whether to enter the metadata value at the start or the end of the rule workflow.
    • Click the X button to remove a metadata from the list.

    If a newly created custom metadata field is not available in the drop-down list, restart the GV STRATUS Control Panel application.

    You can create new custom metadata by selecting Core | Metadata | Custom Metadata | Add in the GV STRATUS Control Panel.

  19. Click Save.
Next, enable the rule.

Copyright © 2019 Grass Valley Canada. All rights reserved. GV STRATUS 6.8 gvtp_20190318_01:43:25