# PIP two live video streams

**URL:** <https://community.wowza.com/t/pip-two-live-video-streams/607>\
**Category:** Wowza Streaming Engine\
**Created:** [August 13, 2009, 5:54pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607 "2009-08-13T17:54:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [August 13, 2009, 5:54pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/1 "2009-08-13T17:54:58Z")

</div>

I hope this is not too off topic. I’m looking for ways to implement PIP (Picture-In-Picture) feature in a live streaming application. Let’s say I’ve two live streams, A & B. I think there’re two possible approaches:

1. Find a video mixer that mixes the two live video into PIP layout and send to the streaming server as a single video stream

2. The client application pulls two live streams from the streaming server and the client app lays the PIP (secondary) video over the main video

Approach 1 should not occupy extra bandwidth between the camera & the streaming server but may introduce significant delay in the video. Approach 2 will double the bandwidth but shouldn’t introduce additional delay to the video.

Suggestions & comments are grealy appreciated!

Thanks,

Bruce

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 13, 2009, 11:30am UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/2 "2009-08-13T11:30:26Z")

</div>

Bruce,

I think option 2 is much better, because a key feature of the PIP is switching between streams, and this would be much easier and much faster in option 2.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 14, 2009, 11:24am UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/3 "2009-08-14T11:24:36Z")

</div>

Sounds like a good solution. Wirecast is great for that kind of thing.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 9, 2013, 5:47pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/4 "2013-02-09T17:47:00Z")

</div>

Not at present. I think this may be a future feature of Wowza Transcoder (composite), but I don’t have a time frame.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 7, 2014, 3:46am UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/5 "2014-03-07T03:46:19Z")

</div>

Krishna,

I think this is a possible future feature of the Wowza Transcoder, but I do not have a time frame for that. Meanwhile there is not a very satisfactory way of replaying two live streams in sync. I have heard of a VLC add-on called Mosaic that might be useful but I have not used it.

Richard

---

<div class="post-metadata">

**Author:** ![Kenneth\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@Kenneth\_Lee](https://community.wowza.com/u/Kenneth_Lee)\
**Post date:** [August 14, 2009, 6:34pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/6 "2009-08-14T18:34:34Z")

</div>

Hi Richard,

You may be correct. I just tried using Wirecast to do PIP with two video sources, combine it as one stream and publish it to Wowza. The video latency is about 5 seconds from the client end. This is 2-3 seconds more than the my normal lantency.

Nevertheless, Wirecast is very easy to use and allows a beginner like me to easily add cool video effects to the stream.

Thanks,

Bruce

---

<div class="post-metadata">

**Author:** ![Kenneth\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/ecae2f/32.png) [@Kenneth\_Lee](https://community.wowza.com/u/Kenneth_Lee)\
**Post date:** [August 20, 2009, 11:12am UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/7 "2009-08-20T11:12:56Z")

</div>

Just an udpate for those who are interested in Wirecast, I was able to get the latency down to 2-3 seconds. I set the encoding setting for resolution & frame rate to be the same as my input sources and that solved it.

I was running everything from my laptop which is equipped with 2GHz T7200 with 2 GB ram. I guess even this is not powerful enough for the job.

Thanks,

Bruce

---

<div class="post-metadata">

**Author:** ![Morgan\_Catlin](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Morgan\_Catlin](https://community.wowza.com/u/Morgan_Catlin)\
**Post date:** [February 9, 2013, 8:50am UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/8 "2013-02-09T08:50:00Z")

</div>

Is it possible to PIP on the Wowza side using the Transcoder AddOn?

---

<div class="post-metadata">

**Author:** ![krishna\_mohan](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@krishna\_mohan](https://community.wowza.com/u/krishna_mohan)\
**Post date:** [March 6, 2014, 4:30pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/9 "2014-03-06T16:30:29Z")

</div>

Hi Richard,

This question is asked a long time back.

I have two streams to same application from two different publishers, i want to overlay 2nd stream on 1/4th portion of 1st stream and save the resultant on server-side.

To show 2 streams to user in overlayed fashion, am using flash to play and overlay 2nd stream over 1st stream. But the problem is to save two streams on server-side as the way user watches them(overlayed).

so I want do PIP on server using transcoder addon and record the file. is it possible now?

If not possible what are my options?

Krishna

---

<div class="post-metadata">

**Author:** ![Kristeen\_Wurtele](https://avatars.discourse-cdn.com/v4/letter/k/ea666f/32.png) [@Kristeen\_Wurtele](https://community.wowza.com/u/Kristeen_Wurtele)\
**Post date:** [May 5, 2018, 5:07pm UTC](https://community.wowza.com/t/pip-two-live-video-streams/607/10 "2018-05-05T17:07:35Z")

</div>

Is Wowza streaming server any closer to this capability?
