Skip to main content
Help us improve Python packaging – donate today!

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

Release history Release notifications

This version
History Node

2.1.7

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
qtrotate-2.1.7.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Jul 9, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page