I want put rotation information into my mp4 video file but I have no idea about this.
Is there any program that I can add \"rotation\" metadata? It would be OK if there\
+1 for FFMpeg. More specifically, I had good results correcting orientation metadata with
ffmpeg -i input.mp4 -metadata:s:v rotate=90 -vcodec copy -acodec copy output.mp4
Check out the software FFMpeg, use ffprobe to give you the rotation metadata of any video file if it has it.
Check out this answer for functions allowing your to rotate videos.