I need to make mp4 videos eligible for 'streaming' by moving the moov atom to the start [videos are recorded in app by users of my application(so I do not know when a video will get recorded , from which device) (to be sent to my linux host) ] . People recommend mp4box for this purpose but , what exactly is mp4box ? what are those commands ? where do I type them? How do I use that tool for my android app? I don't know if I am missing something obvious but I really couldn't find answers to these basic questions.
Edit: What I mean is : mp4box , ffmpeg etc. doesn't look like 'add dependency to gradle and use it's classes' thing. According to a similar question , I can put moov atom to the start with this command :
'MP4Box -inter 500 original.mp4 -out fixed.mp4'
What is the way to implement this?
I'm open to other solutions too , like handling it on server side.