Difference between fragment length and segment length

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

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.

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.