Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 648 Bytes

README.rst

File metadata and controls

28 lines (22 loc) · 648 Bytes

Quicktime/MP4 rotation tool

Tool to read or change a new rotation meta of mp4 (Quicktime) files (e.g. from iphones and similar).

Installation

$ pip install qtrotate

From code

import qtrotate
rotation = qtrotate.get_set_rotation(file_path)

From terminal

$ ./qtrotate.py myfile.mp4  # Read rotation from mp4
90
$ ./qtrotate.py myfile2.mp4 -90 # Set rotation
$ ./qtrotate.py myfile2.mp4
270