Getting metadata from video stream

Sebastian Dröge sebastian at centricular.com
Mon Nov 4 00:50:50 PST 2013


On Sa, 2013-11-02 at 15:20 +0200, Mohammed Sameer wrote:
> On Tue, Oct 29, 2013 at 08:41:05AM +0000, Sebastian Dröge wrote:
> > On Mo, 2013-10-28 at 03:51 -0700, Blazej wrote:
> > > Hello,
> > > 
> > > Thanks for suggestion!:) I cannot see this parameter in the output of
> > > gst-discoverer, but maybe it's because I am limited to 0.10 version of
> > > gstreamer. 
> > > 
> > > Also, I did some research and found out that this kind of information is
> > > stored in 'Atoms', which are part of MPEG-4 standard. In such case maybe it
> > > is not supposed to be displayed by gst-discoverer, since it seems to display
> > > only the generic information about a file. But on the other hand, if ffprobe
> > > can detect this...
> > > Maybe these parameters should be accesible via qtdemux somehow?
> > 
> > I think extracting that information is currently not supported and
> > support for that has to be added to qtdemux. It should use the
> > image-orientation tag probably.
> 
> I think this is the rotation extracted from tkhd Atom transformation matrix.
> 
> There is a bug https://bugzilla.gnome.org/show_bug.cgi?id=679522 about that
> with a patch that extracts the info but it doesn't yet export it.
> 
> I'm personally interested in that issue but I'm not sure how should the data
> be exported.

See my comment in that bug :) For simple things we can export it via the
image-orientation tag, but additionally the complete matrix should
probably be exported as a GstMeta for the general case.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131104/640b866d/attachment-0001.pgp>


More information about the gstreamer-devel mailing list