[QUESTION] How to add fragment metadata with kvssink Gstreamer plugin #1001
-
A one liner description about the use case and what you are trying to achieve ** Any design considerations/constraints ** ** If you would not like to open an issue to discuss your solution in open-platform, please email your question to [email protected] ** |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
There isnt a way to set metadata with command line, but you can set it up in an application that uses kvssink. You would have to use This portion of code should give you details on what kvssink expects: We do not have a sample for this at the moment and we can look into, but hope this helps in the meantime. |
Beta Was this translation helpful? Give feedback.
-
Tested, sending |
Beta Was this translation helpful? Give feedback.
-
We are using gst-launch-1.0 directly, vs embedding the gstreamer API into our application. Would it be possible to update the sink to have another sink parmeter similar to the stream_tags that injects fragment metadata values right after initiating the stream? Or is there another plugin which can inject events |
Beta Was this translation helpful? Give feedback.
@sinanliuAmazon ,
There isnt a way to set metadata with command line, but you can set it up in an application that uses kvssink. You would have to use
gst_element_send_event
. The event name would bekvs-add-metadata
.This portion of code should give you details on what kvssink expects:
amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-gstreamer-plugin/src/gstkvssink.cpp
Lines 947 to 976 in 0888c66