# "Broken frame packetizing" error with udp mpegts streaming

**URL:** <https://community.wowza.com/t/broken-frame-packetizing-error-with-udp-mpegts-streaming/46641>\
**Category:** Wowza Streaming Engine\
**Created:** [March 17, 2016, 1:26am UTC](https://community.wowza.com/t/broken-frame-packetizing-error-with-udp-mpegts-streaming/46641 "2016-03-17T01:26:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philips\_Koshy](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Philips\_Koshy](https://community.wowza.com/u/Philips_Koshy)\
**Post date:** [March 17, 2016, 1:26am UTC](https://community.wowza.com/t/broken-frame-packetizing-error-with-udp-mpegts-streaming/46641/1 "2016-03-17T01:26:36Z")

</div>

I have an application streaming mpegts packets over udp. I have set pkt\_size=1316.

If I directly receive the above udp mpegts stream in ffplay, it plays fine. (ffplay -i udp://[ServerAddress]:[Port])

If I try to receive it through Wowza, I get lots of errors from ffplay “Broken frame packetizing”, and a highly-interrupted output.

I have configured a “Stream file” in Wowza for accepting this mpegts udp stream.

My application gets encoded video frames and packetize using libavformat library functions (av\_interleaved\_write\_frame). Anything wrong with my packetization?

C:\>ffplay rtmp://localhost:1935/live/mp4:myStream2.stream

…

Broken frame packetizing

[h264 @ 0628cde0] SPS changed in the middle of the frame

[h264 @ 0628cde0] decode\_slice\_header error

…

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [March 21, 2016, 1:06pm UTC](https://community.wowza.com/t/broken-frame-packetizing-error-with-udp-mpegts-streaming/46641/2 "2016-03-21T13:06:57Z")

</div>

Hi,

So that we can diagnose the structure of your incoming stream, it would be best if you [take a recording of the incoming MPEG-TS stream](https://www.wowza.com/docs/how-to-record-incoming-streams-for-debugging-purposes-mpeg-ts-rtp) in Wowza. Run the recording for about 5-10 minutes, and send the resulting ts segment file, along with the conf/ and logs/ folders from your Wowza installation, to support using the [ticket submission form](https://www.wowza.com/support/open-ticket).

Michelle
