Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this plugin add other metadata like frame depth, height, width, channels etc to the gst buffer ? #20

Closed
sandeshk1 opened this issue Jan 8, 2021 · 4 comments

Comments

@sandeshk1
Copy link

No description provided.

@TimConnelly
Copy link
Contributor

That information is added to the header stored within the buffer itself. See

struct RSHeader {

@sandeshk1
Copy link
Author

It is possible to add these info to the gst meta struct ? Any reason why it is not added to gst meta ?

@sandeshk1
Copy link
Author

why is get_distance (int x, int y) function not called on the depth frame ?

I see only get_units() is called on the depth frame.

@TimConnelly
Copy link
Contributor

It is possible to add these info to the gst meta struct ? Any reason why it is not added to gst meta ?

The information you're asking for is already part of the required GstMapInfo. GstMeta is for adding custom metadata that would otherwise not be a part of video/audio.

why is get_distance (int x, int y) function not called on the depth frame ?

get_distance is an analysis function. This plugin is a source, only providing the data for downstream use. get_distance should be called in a downstream module where you implement your processing of the depth frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants