fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

Metadata rotation #287

Closed alexarje closed 1 year ago

alexarje commented 1 year ago

FFmpeg supports the rotation of videos in metadata (see my blog for an example). This would be nice to implement to save some time when one wants to rotate 90 degrees.

joachimpoutaraud commented 1 year ago

I have updated the rotate_video() function and force the rotation of the video without encoding when rotating by -90,90,-180 or 180 degrees in order to speed up the comuputation.