How to keep original video file header in FFmpeg [closed]
If by header, you mean the MOOV box/atom, then ffmpeg will always construct a new box. It cannot copy boxes or their contents over. What your command does is tell FFmpeg to demux all streams from the original file and remux them into a new container.
Can you be specific in what your emulator looks for?