# When to, or not to set mpegtsVideoIsAligned

**URL:** <https://community.wowza.com/t/when-to-or-not-to-set-mpegtsvideoisaligned/41722>\
**Category:** Wowza Streaming Engine\
**Created:** [June 29, 2015, 6:16pm UTC](https://community.wowza.com/t/when-to-or-not-to-set-mpegtsvideoisaligned/41722 "2015-06-29T18:16:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Shimamoto](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@David\_Shimamoto](https://community.wowza.com/u/David_Shimamoto)\
**Post date:** [June 29, 2015, 6:16pm UTC](https://community.wowza.com/t/when-to-or-not-to-set-mpegtsvideoisaligned/41722/1 "2015-06-29T18:16:26Z")

</div>

Running Wowza 4.0.5,

Taking MPEG-TS UDP input, outputting RTMP.

I came across a media player which hangs after playing for about 5 seconds after connecting unless mpegtsVideo(Audio)IsAligned is set to TRUE.

Is there a rule of thumb on when to set this parameter differently?

It seems that if set to false, incoming packets if already aligned would just be past through, but apparently that does not seem to be the case.

(or am I missing the definition of “aligned” ?)

Thank you.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 8, 2015, 6:00am UTC](https://community.wowza.com/t/when-to-or-not-to-set-mpegtsvideoisaligned/41722/2 "2015-07-08T06:00:15Z")

</div>

Some MPEG-TS based encoders and cameras send unaligned video packets. This setting enables Wowza Streaming Engine to manage them correctly. For more details, see the references to the videoIsAligned property in [Properties to fix audio and video alignment](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder%28MPEG-TS-based-encoder%29#align).

Regards,

Salvadore
