# How To set Chunk Duration(segments) for a non-live streaming

**URL:** <https://community.wowza.com/t/how-to-set-chunk-duration-segments-for-a-non-live-streaming/37817>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [December 16, 2011, 7:39pm UTC](https://community.wowza.com/t/how-to-set-chunk-duration-segments-for-a-non-live-streaming/37817 "2011-12-16T19:39:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar\_Arun](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@Kumar\_Arun](https://community.wowza.com/u/Kumar_Arun)\
**Post date:** [December 16, 2011, 7:39pm UTC](https://community.wowza.com/t/how-to-set-chunk-duration-segments-for-a-non-live-streaming/37817/1 "2011-12-16T19:39:09Z")

</div>

Hi,

We are developing an video on demand application. Right now we are creating a demo application using the sample.mp4 file. Our licensing model is licekey.

But its taking time to start the playing content on iphone/android devices. And when we seek the content then also its take time to to seek to that particular frame.

Can any one suggest how to set the chunk duration(streaming segment) for the vod application?

Thanks.

---

<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:** [December 16, 2011, 2:38pm UTC](https://community.wowza.com/t/how-to-set-chunk-duration-segments-for-a-non-live-streaming/37817/2 "2011-12-16T14:38:54Z")

</div>

Take a look at this guide:

[https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming)

For vod, you will add cupertinoChunkDurationTarget to the /conf/[app-name]/Application.xml /HTTPStreamers Properties list.

But key frame frequency is a critical factor. Read the notes in this guide carefully. Re-encoding might be necessary.

Richard
