Running a Media Flow Job

Run an asynchronous Media Flow job using the Console, CLI, or API.

Note

A Media Flow job can't run beyond 24 hours.
    1. On the Media workflows list page, select the compartment containing the media workflow for which you want to run a job. If you need help finding the list page, see Creating a Media Workflow.
    2. Select the name of the media workflow for which you want to run a job.
    3. On the details page, select Jobs, and then select Run job.
    4. In the Run job panel, provide the following details:
      1. Enter a name for the job. If you don't specify a name, the default name is assigned. You can change the name as required.
      2. In the Input file section, select the bucket and the object from the respective fields.
      3. In the Output save location section, select the bucket where you want to save the job, and specify a prefix to the job output folder and file.
    5. (Optional) In the Tags section, add one or more tags to the job. 
      If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
    6. Select Run job.

      After the service accepts the job, you can view the stages task by task. You can also view the JSON. For details, see Viewing the Media Flow Job JSON.

      On the media workflow details page, the Jobs tab lists all the jobs in the workflow.

  • To run a Media Flow job by Job ID, use the create-media-workflow-job-by-id command:

    oci media-services media-workflow-job create-media-workflow-job-by-id [OPTIONS]

    To run a Media Flow job by Job Name, use the create-media-workflow-job-by-name command:

    oci media-services media-workflow-job create-media-workflow-job-by-name [OPTIONS]

    Required parameters for the create-media-workflow-job-by-id and create-media-workflow-job-by-name commands:

    • --compartment-id, -c [text]

    To get all the commands for media-workflow-job:

    oci media-services media-workflow-job -h

    To get help for the create-media-workflow-job-by-id command:

    oci media-services media-workflow-job create-media-workflow-job-by-id -h

    To get help for the create-media-workflow-job-by-name command:

    oci media-services media-workflow-job create-media-workflow-job-by-name -h

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • To run a Media Flow job, use the CreateMediaWorkflowJob operation.