The following implementation is a command to rotate the movie by 90 degrees.
ffmpeg -i video.mp4 -vf transpose=1 -metadata:s:v:0 rotate=0 videoo.mp4
-vf transpose=1
The iPhone's video contains rotation information and actually
ffprobe -show_streams -print_format json videoo.mp4 2>/dev/null
To output motion picture information or rotation information as described below.
"tags": {
"rotate": "90",
"creation_time": "2017-08-24T01:49:38.000000Z",
"language": "und",
"handler_name": "Core Media Data Handler",
"encoder": "'avc1'"
},
"side_data_list": [
{
"side_data_type": "Display Matrix",
"displaymatrix": "\n00000000: 0 65536 0\n00000001: -65536 0 0\n00000002: 0 0 1073741824\n",
"rotation": -90
}
]
"rotate": "90",
and
"side_data_list":
and
"rotation": -90
Is it possible to hide this? Or is it possible to erase only this rotation information?