Move metadata to the beginning of the file
useful tips
// scenario
Some players and AI models fail when the moov atom is at the end of the file. Moving it to the front enables instant playback and reliable detection.
// shell
$ ffmpeg -i input.mp4 -c copy -movflags +faststart output.mp4