RFC: SEI Unregistered User Data messages injection support
Support for parsing SEI Unregistered User Data messages into GstVideoSEIUserDataUnregisteredMeta
has been added on the parser side for H264 and H265 (!1458 (merged), !5070 (merged)) including support to write SEI messages of type Unregistered User Data (!5071 (merged)).
The next step is to support the injection of SEI Unregistered User Data, which presents the following dilemma:
- Parsers are considered parse-only and therefore shouldn't do the injection
- Parsers can inject SEI messages, which they already do for timecodes.
There seem to be opinions for both scenarios @slomo https://discourse.gstreamer.org/t/embedding-timestamp-into-h-265/352/2?u=ylatuya and @ndufresne !5071 (comment 2031847) and I would like to clarify here which is the right way to move forward.
Based on the final decision, there could be two alternatives:
- Injection is done in a new SEI Unregistered User Data injector element with caps
- Injection is done by the parser directly when input buffers have a
GstVideoSEIUserDataUnregisteredMeta
meta