# Difference between fragment length and segment length

**URL:** https://community.wowza.com/t/difference-between-fragment-length-and-segment-length/93057
**Category:** Video Tutorials
**Created:** [March 27, 2021, 2:48pm UTC](https://community.wowza.com/t/difference-between-fragment-length-and-segment-length/93057 "2021-03-27T14:48:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dhaval\_Rajput](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@Dhaval\_Rajput](https://community.wowza.com/u/Dhaval_Rajput)
#### Post date: [March 27, 2021, 2:48pm UTC](https://community.wowza.com/t/difference-between-fragment-length-and-segment-length/93057/1 "2021-03-27T14:48:02Z")

</div>

What is difference between fragment length and segmenth length  
It is use in HLS and DASH Both right ?

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [March 30, 2021, 4:44pm UTC](https://community.wowza.com/t/difference-between-fragment-length-and-segment-length/93057/2 "2021-03-30T16:44:57Z")

</div>

> [@Dhaval\_Rajput](#):
>
> fragment length and segmenth length

Let’s clarify some of the terminology

- A **chunk** is the smallest unit.
- A **fragment** is made up of one or more chunks.
- A **segment** is made up of one or more fragments.

  

Breaking each segment into these shorter pieces means that the encoder can output each chunk for delivery as soon as it’s encoded.

> **[Low-Latency CMAF for Live Streaming at Scale](https://www.wowza.com/blog/low-latency-cmaf-chunked-transfer-encoding)**
>
> Using the fragmented MP4 (fMP4) format and chunked transfer encoding, low-latency CMAF containers can speed up video delivery across the streaming workflow.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [March 30, 2021, 4:46pm UTC](https://community.wowza.com/t/difference-between-fragment-length-and-segment-length/93057/3 "2021-03-30T16:46:52Z")

</div>

The answer to your second question is yes, they are both used in HLS and DASH, but can be referred to as fragmented mp4.

_Apple and Microsoft agreed to move forward with the fragmented .mp4 format as their common media application. This can now be deployed using either HLS or DASH, which helps cut costs and improve CDN efficiency._
