# How to Create Dash manifest with ON\_DEMAND profile from MP4 representation?

**URL:** <https://community.bitmovin.com/t/how-to-create-dash-manifest-with-on-demand-profile-from-mp4-representation/2748>\
**Category:** Support\
**Tags:** dash, encoding\
**Created:** [March 26, 2024, 2:32am UTC](https://community.bitmovin.com/t/how-to-create-dash-manifest-with-on-demand-profile-from-mp4-representation/2748 "2024-03-26T02:32:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lucky.goyal](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lucky.goyal/32/506_2.png) [@lucky.goyal](https://community.bitmovin.com/u/lucky.goyal)\
**Post date:** [April 8, 2024, 8:42am UTC](https://community.bitmovin.com/t/how-to-create-dash-manifest-with-on-demand-profile-from-mp4-representation/2748/2 "2024-04-08T08:42:43Z")

</div>

Hello @yoshiyuki.kinjo , welcome to the Bitmovin community and thanks for reaching out with your question.

To create a DASH/HLS or SMOOTH manifest, you need to specific a fragment duration for the MP4 output and set following properties while [creating MP4 muxing](https://developer.bitmovin.com/encoding/reference/postencodingencodingsmuxingsmp4byencodingid) using API

- `fragmentDuration` : Duration of fragments in milliseconds. Required for Fragmented MP4 Muxing (for Smooth Streaming or DASH On-Demand). Not setting this will result in unfragmented mp4.
- `fragmentedMP4MuxingManifestType` : Manifest type to be generated for the Fragmented MP4 Muxing. Only significant if a valid fragmentDuration is passed. If this is not set, Smooth Streaming is assumed. For DASH manifest, this should be set to DASH\_ON\_DEMAND

But from your question, it seems that you are looking to create a un-fragmented MP4 output in which case creating DASH/HLS/SMOOTH manifests is not possible. Please be aware that progressive MP4 muxing, soft-parted MP4 mixing and hard-parted fMP4 muxing are different.

- `Progressive MP4 Muxing` : A single MP4 file with MOOV box followed by a single MDAT.
- `Soft-parted MP4 Muxing` : A single MP4 file with a MOOV followed by a series of MOOF + MDAT boxes.
- `Hard-parted fMP4 Muxing` : Multiple segments/fragments each having a single MOOF+MDAT.

Creating an MPD/HLS/SMOOTH manifest is only possible for either soft-parted MP4 or hard-parted fMP4 muxing. It is not possible to create for a progressive MP4 muxing.

You can find more information about the different MP4 muxing types in this community thread

> [@Which fragmented MP4 format would you use, and why?](https://community.bitmovin.com/t/which-fragmented-mp4-format-would-you-use-and-why/344):
>
> We all know and love MP4 files. Whether referred to as ISOBMFF, or CMAF, or other closely related terms that essentially refer to [variations of the same container format](https://bitmovin.com/fun-with-container-formats-2/), they are at the core of any modern streaming solution, and in particular adaptive streaming (or ABR) that relies on the fragmentation of the container into small and easily downloadable “segments” of content that the player can gradually obtain and render. But when it comes to fragmenting, there are 2 main flavours out there (…

I hope above answer helps. Please let me know if there are any follow up questions.

---

_[View the full topic](https://community.bitmovin.com/t/how-to-create-dash-manifest-with-on-demand-profile-from-mp4-representation/2748)._
