# MPEG Program Stream With Wowza

**URL:** <https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282>\
**Category:** Wowza Streaming Engine\
**Created:** [December 8, 2021, 9:46am UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282 "2021-12-08T09:46:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![11176](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11176](https://community.wowza.com/u/11176)\
**Post date:** [December 8, 2021, 9:46am UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/1 "2021-12-08T09:46:10Z")

</div>

Our camera uploads the video data encapsulated by MPEG Program Stream in RTP format. I want Wowoza to receive this part of the data stream and convert the format to HLS, MPEG-DASh, WebRTC and other formats, but I checked a lot of information, it seems Wowoza only supports RTP to transmit data streams encapsulated in MPEG TS format. Is there any way I can make Wowza accept video data in MPEG-PS format?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 9, 2021, 12:06am UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/2 "2021-12-09T00:06:30Z")

</div>

Yes Wowza can ingest MPEG-TS over TCP and convert to other protocols. You would need to choose the 2nd MediaCaster option.

 ![Screen Shot 2021-12-08 at 5.04.24 PM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/09c583130788a0267e3a0ca4ae1f62fa6b1ed7a2.png)

Here is the complete doc

> **[Publish a live stream from an MPEG-TS encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)**
>
> Configure, publish, and play a live stream using MPEG-TS-based encoders with Wowza Streaming Engine.

---

<div class="post-metadata">

**Author:** ![11176](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11176](https://community.wowza.com/u/11176)\
**Post date:** [December 10, 2021, 2:40am UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/3 "2021-12-10T02:40:25Z")

</div>

But，I want Wowza can ingest MPEG-PS over TCP or UDP and convert to other protocols，not MPEG-TS。 How to？

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [December 10, 2021, 8:38am UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/4 "2021-12-10T08:38:01Z")

</div>

Apparently the main difference between MPEG-PS and MPEG-TS is in the packet structure. The PS structure is of variable length whereas that of TS is of fixed length. So I a, assuming that if the server does not support it officially, then it cannot quite decode it. If there is no native support try using something like FFmpeg in between to translate it to a wowza friendly format.

---

<div class="post-metadata">

**Author:** ![11176](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11176](https://community.wowza.com/u/11176)\
**Post date:** [December 14, 2021, 12:13pm UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/5 "2021-12-14T12:13:30Z")

</div>

You are right. Essentially, the main difference between MPEG-PS and MPEG-TS lies in the structure of the data packet. Through FFMpeg, the format can be converted to a Wowza-friendly format, but this will affect efficiency. Can it pass Wowza? The SDK is directly developed for secondary development, so that it can directly receive the RTP stream in the “MPEG-PS” format, thank you!

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [December 16, 2021, 6:30pm UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/6 "2021-12-16T18:30:58Z")

</div>

If it is In a wowza compatible format it should pass wowza. I guess you will need to try and see. Now sure how you plan to integrate with ffmpeg but for concept testing you can probably just stream an existing MPEG PS media through ffmpeg transcoding from command line to wowza over RTMp and watch it over other protocol of your choice.

---

<div class="post-metadata">

**Author:** ![11176](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11176](https://community.wowza.com/u/11176)\
**Post date:** [January 21, 2022, 2:45pm UTC](https://community.wowza.com/t/mpeg-program-stream-with-wowza/94282/7 "2022-01-21T14:45:36Z")

</div>

Thank you for your patience in replying. I’ve tested converting via FFMPEG or GStreamer and converting the encapsulated MPEG-PS of RTP to MPEG-TS streams for pushing to Wowza, this works, but it is inefficient and we need a more tedious conversion in between. We actually have a custom protocol that tells the lower device to push the RTP-encapsulated MPEG-PS stream to the corresponding port on the server by way of SDP negotiation. We want Wowza to be able to receive RTP-encapsulated MPEG-PS streams directly. Can we develop our own SDK to support this functionality? This is very important to us, which is why we insist on it.  
Thanks!
