How to convert mp4 video files to fragmented mp4 files?

I have a few video files in mp4 format which I want to convert into FMP4 (fragmented mp4) format for preparing the ABR stream, is there any tool available for it?

Hi Sahil,

There are many tools available to convert mp4 files to fmp4 and package it with ABR (HLS/MPEG-DASH) format. Tools are mentioned below:-

  1. Shaka Packager
  2. Bento4

If you don’t want to use any of the above tools, you can simply convert mp4 to fmp4 using the following command:-
ffmpeg -re -i input.mp4 -c copy -f mp4 -movflags frag_keyframe+empty_moov output.mp4