I tried the lossless rotation part first.
While .mp4 might be rotated that way, .mp4 created from .mkv does not rotate if below commands are correct
Code: Select all
$ ffmpeg -i t.mkv -codec copy t.mp4
$ ffmpeg -i t.mp4 -metadata:s:v rotate="90" -codec copy tr.mp4