Gstreamer support for the auto rotation of video using rotation tag in video.
Tim Müller
tim at centricular.com
Tue Mar 25 03:25:34 PDT 2014
On Tue, 2014-03-25 at 00:19 -0700, iamvamsi wrote:
Hi,
> I am working on a real time trans coder using gstreamer 1.x. As a part of it
> I have to auto correct the orientation of videos using the rotation tag
> present in the input video. With a little search I found that gstreamer can
> do the rotation if videoflip element is explicitly added to the pipeline but
> not otherwise.
>
> As of now I am mostly interested in .mov files ( iphone format ) and am able
> to get the rotation information from TKHD atom from the headers of the input
> file (This is not presently supported by the gst-discovery tool as it
> doesn't print any information about rotation). Now I'd like to know if it is
> possible to use this rotation information and add auto rotation to the
> video.
I believe the videoflip element in git master (1.3.x) has an 'automatic'
mode where it rotates the image based on the orientation tag, if needed.
Is that what you're looking for?
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list