Adding PID Mapping Profiles

To add a PID Mapping profile: 

  1. In the main navigation, click Transformations > PID Mapping Profiles.
  2. Click + Add.
    The Create New PID Mapping Profile screen is displayed.
  3. In the Name field, enter a name for the PID Mapping profile.
  4. In the Tags field, select one or more of the predefined Tags from the drop-down list.
    Tags are used for access control. By selecting a Tag, you are relating this PID Mapping profile to that Tag. Tags are associated with certain roles (through the Users & Roles screen), and roles, in turn, are associated with users and user groups. If you would like to create a new Tag, see Creating a Tag.
  5. Under Default Action, select the default action that you would like to apply to all PIDs for which a specific Rule does not apply. Select one of the following actions:
    • Pass – passes the PIDs through unchanged, with the existing PID numbers.
    • Set Null – sets the PID value as null. This is useful for maintaining the integrity of CBR streams.
    • Remove – removes the PIDs from the stream
  6. Under SPTS/MPTS, select the type of stream to which the profile will be applied. Options are: SPTS (default) or MPTS.

    If you apply an SPTS profile to an MPTS stream, it will fail.

  7. Under Mapping Mode, select the type of rules that you would like to apply (i.e. the way the PIDs will be selected for processing). Select one of the following types:
    • Elementary PID# - the number of the incoming PID
    • PID Category – the general category of the PID (e.g. audio, video, SCTE-35 etc.)

      If the stream has multiple PIDs of the specified category, then the rule is applied to the first PID and all others are treated with the default process.

    • PID Type – the specific type of codec (e.g. MPEG1 Video, AVCH/.264, HEVC etc.)
  8. In the PMT Rules section, you can specify rules for mapping PMTs (optional). If you would like to map the PMts, use the following procedure, for each rule that you would like to create:
    1. Click on the  button.
    2. Under Action, select from the drop-down list the action you would like to apply for this rule. Options are: Pass, Set Null, Remove or Map. (Set Null and Remove are only relevant for MPTS)
    3. For MPTS profiles, in the Program Number field, enter the program number for which the rule applies.
    4. In the New PID field, for rules with the Map action selected, enter the new PID that will be applied.
    5. In the New Program Number field, you can enter a new Program Number that you would like to assign to this PMT (optional). If this field is left empty, the original Program Number is retained.
  9. In the Elementary Stream Rules section, for each rule fill in the following details: 
    1. Under Action, select from the drop-down list the action you would like to apply for this rule. Options are: Pass, Set Null, Remove or Map.
    2. For MPTS profiles, in the Program Number field, enter the program number for which the rule applies.
    3. In the PID selection section, specify which PID/s the rule applies to, as follows (depending on the selected Rule Type):
      • For Elementary PID # - specify a specific incoming PID number
      • For Stream Category – select the desired Category from the dropdown list
      • For Stream Type – select the desired Type from the dropdown list
    4. In the New PID field, for rules with the Map action selected, enter the new PID that will be applied.
  10. If you would like to add additional rules, click on the  button and fill in the fields for the new rule in the same manner as described above.
  11. If you would like to remove a rule, click on the  button.
  12. Select the Match PCR to Video PID checkbox if you would like to force the mapper to put the PCR on the video PID without having to know the PCR PID number in advance.
  13. Click Save.
    The PID Mapping profile is added to the list of available profiles.

PID Mapping Configuration Parameters Table

ParameterDescription
Name

Specify the name of the PID Mapping profile in ZEN Master.

Tags

Select one or more of the predefined Tags from the drop-down list.

Tags are used for access control. By selecting a Tag, you are relating this PID Mapping profile to that Tag. Tags are associated with certain roles (through the Users & Roles screen), and roles, in turn, are associated with users and user groups. If you would like to create a new Tag, see Creating a Tag.

Default Action

Select the default action you would like to apply for PIDs that don’t match a specific rule. Options are:

  • Pass – passes the PIDs through unchanged, with the existing PID numbers.
  • Set Null – sets the PID value as null. This is useful for maintaining the integrity of CBR streams.
  • Remove – removes the PIDs from the stream.

SPTS/MPTS

Select the type of stream to which this policy will be applied. Options are:

  • SPTS – Single Program Transport Stream
  • MPTS – Multiple Program Transport Stream

Rule Type

Select the method used for specifying which PIDs the rule applies to. Options are:

  • Elementary PID# - the number of the incoming PID
  • PID Category – the general category of the PID (e.g. audio, video, SCTE-35 etc.). If the stream has multiple PIDs of the specified category, then the rule is applied to the first PID and all others are treated with the default process.
  • PID Type – the specific type codec (e.g. MPEG1 Video, AVCH/.264, HEVC etc.)
PMT Rules
Action

Select from the drop-down list the action you would like to take.

  • Pass - maintain the original PID value
  • Set Null - set the PID value as null
  • Remove - remove the PID from the stream
  • Map - assign a new value to the PID

Note: Set Null and Remove are only relevant for MPTS

Program Number (for MPTS)Enter the program number for which this rule applies.
New PID/(decimal)Enter the new value you would like to assign to the PID designated by this rule.
New Program NumberYou can enter a new Program Number that you would like to assign to this PMT (optional). If this field is left empty, the original Program Number is retained.
Elementary Stream Rules

Action

Select from the drop-down list the action you would like to take.

  • Pass – maintain the original PID value
  • Set Null – set the PID value as null
  • Remove – remove the PID from the stream
  • Map – assign a new value to the PID

Program Number (for MPTS)

Enter the program number for which this rule applies.

Original PID (decimal)/ Category/Type

Specify which PID the rule applies to. Specify either the PID number, Category or Type (depending on which Rule Type that you selected).

New PID/(decimal)

Enter the new value you would like to assign to the PID designated by this rule.

Match PCR to Video PIDSelect this checkbox if you would like to force the mapper to put the PCR on the video PID without having to know the PCR PID number in advance.