Reingesting an Asset

If you have changed a source asset, such as adding new captions or bitrate, then you can reingest the asset in Media Streams.

Asset Publishers (or roles that ingest assets into a distribution channel) must have the following rights:
  • Read the primary playlist (m3u8) from the Object Storage location in the region.
  • Read the bucket, playlist, and any rendered files in the channel.
  • To reingest an asset, follow these steps:
    1. On the Distribution channels list page, select the compartment that contains the distribution channel where you want to reingest the assets. If you need help finding the list page, see Ingesting an Asset.
    2. Select the name of the channel where you want to reingest the assets.
    3. On the details page, select Playlist assets.
    4. Select a playlist asset.
    5. On the playlist asset details page, select Ingest versions.
    6. Select Re-ingest asset.
      The reingest job is created. The Ingest version history section lists all the ingested versions.
  • Asset reingestion using the CLI is similar to asset ingestion. See Asset ingestion using the CLI for details.

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

  • To ingest an asset, use the IngestStreamDistributionChannel operation.

    After the asset is successfully ingested, you can manually create a Preview URL by using the following:
    https://<DC_DOMAIN>/20211101/actions/generatePlaylist?mediaAssetId=<ASSET_ID >&streamPackagingConfigId=<PKG_ID>&token=<TOKEN_DATA>
                                
    Where:
    • <DC_DOMAIN> is the domain from the GetStreamDistributionChannel operation.
    • <PKG_ID> is the OCID of the packaging configuration used for streaming.
    • <ASSET_ID> is the OCID of the asset to be streamed.
    • <TOKEN_DATA> is the token that the GenerateSessionToken operation returns.