# Create on-demand video clip from live stream at regular intervals

**URL:** <https://community.wowza.com/t/create-on-demand-video-clip-from-live-stream-at-regular-intervals/33789>\
**Category:** Wowza Streaming Engine\
**Created:** [August 8, 2012, 12:01pm UTC](https://community.wowza.com/t/create-on-demand-video-clip-from-live-stream-at-regular-intervals/33789 "2012-08-08T12:01:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Gorman](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@Scott\_Gorman](https://community.wowza.com/u/Scott_Gorman)\
**Post date:** [August 8, 2012, 12:01pm UTC](https://community.wowza.com/t/create-on-demand-video-clip-from-live-stream-at-regular-intervals/33789/1 "2012-08-08T12:01:45Z")

</div>

Is there a way to create on-demand clips without stopping the encoder?

We have our 24/7 live stream and every hour we would like to generate a file to add to our on-demand pool of clips. Is this possible and what version of Wowza do we need?

Apologies if this is a common question - I did try to search but could not find any relevant posts

Fudd

---

<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 8, 2012, 12:28pm UTC](https://community.wowza.com/t/create-on-demand-video-clip-from-live-stream-at-regular-intervals/33789/2 "2012-08-08T12:28:49Z")

</div>

Fudd,

Yes, with LiveStreamRecord api. Take a look at this example:

> [@file name control](http://community.wowza.com/t/-/35603):
>
> Hey, I’m super new to Wowza and the whole video streaming scene… My situation: Linux box with wowza installed and working perfectly 2 Axis IP cameras RTSP Stream being captured by wowza (rtp-record) Stream auto started via startupstreams xml My need: To record multiple cameras for an unlimited duration, with the files being split into manageable (for searching purposes) chunks. Im not sure how to accomplish this… Id like to have it store in a format like: Camera1-YYY-MM-DD-HH…

Richard
