Teltek Video Research is pleased to announce the creation of an "Execute Service", that will allow to run CLI commands in the workers easily. Two new workflow operation handlers have been also created:
- ExecuteOnceWorkflowOperationHandler: This operation will run a certain CLI command once, and its argument list can include references to MediaPackage elements. This is useful for, for instance, running a script to combine two Tracks together. - ExecuteManyWorkflowOperationHandler: This operation accepts the usual input element filters (flavor, tag, etc.) and runs a certain CLI command once per each MediaPackage element matching the filters. This is useful to apply certain CLI commands iteratively over a subset of the elements in a MediaPackage (qt-faststart, MP4Box, etc.). The ExecuteService and its associated operation handlers take care of some problems the current CLIWorkflowOperationHandler has: - The operations are run in the workers, and not in the admin server. - Simpler sintax to specify MediaPackage elements. - Ability to run a command iteratively over a list of elements. The results of this work are condensed in four bundles that anyone can deploy and run in releases from 1.2 to 1.4. For information about the install procedure and usage, refer to the following wiki pages: - http://opencast.jira.com/wiki/display/MHDOC/Execute+Service - http://opencast.jira.com/wiki/display/MHDOC/ExecuteManyWorkflowOperation - http://opencast.jira.com/wiki/display/MHDOC/ExecuteOnceWorkflowOperation This project has been carried out by Rubén Pérez and Rubén González at Teltek to address a local issue, and we are making it available to the community in case they may find it useful. Feedback and questions are welcome. Best regards Rubén Pérez TELTEK Video Research www.teltek.es
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
