Tool to read or change a new rotation meta of mp4 (Quicktime) files (e.g. from iphones and similar).
$ pip install qtrotate
import qtrotate
rotation = qtrotate.get_set_rotation(file_path)
$ ./qtrotate.py myfile.mp4 # Read rotation from mp4
90
$ ./qtrotate.py myfile2.mp4 -90 # Set rotation
$ ./qtrotate.py myfile2.mp4
270