Skip to main content

mp4 rotation angle: read and set

Project description

Quicktime/MP4 rotation tool
============================
.. image:: https://badge.fury.io/py/qtrotate.svg
:target: https://badge.fury.io/py/qtrotate
Tool to read or change a new rotation meta of mp4 (Quicktime) files (e.g. from iphones and similar).

Installation
------------
.. code-block:: bash

$ pip install qtrotate

Quickstart
------------
.. code-block:: python

import qtrotate
rotation = qtrotate.get_set_rotation(file_path)

From terminal
------------
.. code-block:: bash

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qtrotate-2.1.7.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page