# Continue livestream after finish transcoding

**URL:** <https://community.wowza.com/t/continue-livestream-after-finish-transcoding/46348>\
**Category:** Wowza Streaming Engine\
**Created:** [December 10, 2015, 11:59am UTC](https://community.wowza.com/t/continue-livestream-after-finish-transcoding/46348 "2015-12-10T11:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruku\_fugu](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ruku\_fugu](https://community.wowza.com/u/ruku_fugu)\
**Post date:** [December 10, 2015, 11:59am UTC](https://community.wowza.com/t/continue-livestream-after-finish-transcoding/46348/1 "2015-12-10T11:59:53Z")

</div>

I use wowza with nDVR addon and I have this issue:

I use wowza for stream video from my camera system but my camera system does not support h26x output so I use ffmpeg for transcoding to h264 and ffmpeg forward h264 output to wowza (in parallel with transcoding).

But my problem is:

When ffmpeg transcoding is done wowza has finish livestreaming and I need refresh site in browser for switch to VOD stream.

So I have to set up wowza for don´t finish livestream after transcoding is done. So livestream will be going on after finish transcoding or I need set up Wowza for automatically switching livestream to VOD stream when transcoding is done.

I need to make possible this: When transcoding is finished I need to make possible playing video without interruption or any action on user site (such as refresh site in browser after finish transcoding).

Can you tell me how can I set up Wowza for don´t finish livestream after transcoding is done? Or can you tell me how can I set up wowza for automatically switching to VOD stream (without any action on user side browser) after transcoding is finish?

BTW now I use HDS protocol for livestreaming and RTMP protocol for VOD streaming.

Thank you for advice.

---

<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:** [December 11, 2015, 5:20pm UTC](https://community.wowza.com/t/continue-livestream-after-finish-transcoding/46348/2 "2015-12-11T17:20:20Z")

</div>

Hi ukulele,

It sounds like you need to be able to switch between a live stream (inbound transcoded stream from ffmpeg) to a VOD stream once the live stream is unpublished. If so, then you can use the [LoopUntilLive module](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive) which makes use of a pre-roll VOD file that it will switch to once a live stream ends, and will switch back to the live stream once the live stream is published again by ffmpeg.

Michelle
