How to pass GPS info (or custom info) to frame?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to pass GPS info (or custom info) to frame?

fthfth
Hello all,

Hello all,

I'm a newbie to gstreamer so i would be appreciated if you could help me.
I have been tasked to tag a video frame-by-frame with gps coordinates as it is recording. The platform must be on Ubuntu 14.04.

Do video frames even have per-frame meta data?

Is the GstMeta feature suitable with my task? If not, can you show me a way?
Reply | Threaded
Open this post in threaded view
|

Re: How to pass GPS info (or custom info) to frame?

Sebastian Dröge-3
On Wed, 2016-08-17 at 01:41 -0700, fthfth wrote:

> Hello all,
>
> Hello all,
>
> I'm a newbie to gstreamer so i would be appreciated if you could help me. 
> I have been tasked to tag a video frame-by-frame with gps coordinates as it
> is recording. The platform must be on Ubuntu 14.04. 
>
> Do video frames even have per-frame meta data? 
>
> Is the GstMeta feature suitable with my task? If not, can you show me a way?
Yes, GstMeta exists exactly for such use cases.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to pass GPS info (or custom info) to frame?

fthfth
Ty so much, I'm googling but I cannot find a good tutorial explaining whole steps (how to add/ read meta using buffer ). Do you have any suggestion
Reply | Threaded
Open this post in threaded view
|

Re: How to pass GPS info (or custom info) to frame?

Sebastian Dröge-3
On Wed, 2016-08-17 at 05:10 -0700, fthfth wrote:
> Ty so much, I'm googling but I cannot find a good tutorial explaining
> whole steps (how to add/ read meta using buffer ). Do you have any
> suggestion 

Take a look at the code in gst-plugins-base/gst-libs/gst/video where
e.g. the ROI (RegionOfInterest) meta is defined.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment