Fix MPEG-TS audio and video alignment

Some MPEG-TS encoders publish audio and video where the media frames aren't aligned on PES packet boundaries. This misalignment will cause the audio and video to not play. Wowza Streaming Engine can re-align unaligned streams, but it requires that a property be added to your live application.

Fix audio and video alignment in Wowza Streaming Engine Manager


  1. Click the Applications tab and then click the name of your live application in the contents panel.
     
  2. On the application page Properties tab, click RTP Jitter Buffer in the Quick Links bar.
     
    Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
  3. Click Edit in the RTP Jitter Buffer properties area and make the following changes depending on if you are correcting audio or video alignment:
     
    • To turn on the code to fix video alignment, select the Enabled check box next to mpegtsVideoIsAligned and set the value to True.
       
    • To turn on the code to fix audio alignment, select the Enabled check box next to mpegtsAudioIsAligned and set the value to True.
  4. Click Save, and then restart the application when prompted to apply the changes.
Note: These properties will apply to all streams delivered by the application. For more information on only changing the properties for a single stream, see Specify per-stream settings in Wowza Streaming Engine .stream files.

Fix audio and video alignment in XML

Fix video alignment in XML


  1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
     
    <Property>
        <Name>videoIsAligned</Name>
        <Value>false</Value>
        <Type>Boolean</Type>
    </Property>
  2. Restart Wowza Streaming Engine to apply the changes.

Fix audio alignment in XML

  1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
     
    <Property>
        <Name>audioIsAligned</Name>
        <Value>false</Value>
        <Type>Boolean</Type>
    </Property>
  2. Restart Wowza Streaming Engine to apply the changes.
Note: These properties will apply to all streams delivered by the application. For more information on only changing the properties for a single stream, see Specify per-stream settings in Wowza Streaming Engine .stream files.