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


Release history Release notifications

This version

2.1.7

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 hashes

Supported by

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