# How to split the chunk of HLS segments for keyframes inserted via server-side API?

**URL:** <https://community.wowza.com/t/how-to-split-the-chunk-of-hls-segments-for-keyframes-inserted-via-server-side-api/50096>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder\
**Created:** [November 9, 2017, 9:59am UTC](https://community.wowza.com/t/how-to-split-the-chunk-of-hls-segments-for-keyframes-inserted-via-server-side-api/50096 "2017-11-09T09:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yusei\_Yamanaka](https://avatars.discourse-cdn.com/v4/letter/y/3bc359/32.png) [@Yusei\_Yamanaka](https://community.wowza.com/u/Yusei_Yamanaka)\
**Post date:** [November 9, 2017, 9:59am UTC](https://community.wowza.com/t/how-to-split-the-chunk-of-hls-segments-for-keyframes-inserted-via-server-side-api/50096/1 "2017-11-09T09:59:32Z")

</div>

I tried to insert keyframes via server-side API.

[https://www.wowza.com/docs/how-to-insert-key-frames-into-a-transcoded-stream-using-server-side-api](https://www.wowza.com/docs/how-to-insert-key-frames-into-a-transcoded-stream-using-server-side-api)

Inserting the keyframe was succeeded, however the HLS segments was not split by keyframes.

How can I split the chunk programmatically? or any solutions?
