I think it's better to choose mp4box.js to create a restructure the mp4 and move towards the moov atom to the start without the FFmpeg.