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.

Files for qtrotate, version 2.1.7
Filename, size File type Python version Upload date Hashes
Filename, size qtrotate-2.1.7.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page