20,290
edits
No edit summary |
|||
Line 10: | Line 10: | ||
In the following example, we show you how to use Gstreamer In-Band metadata to add a KLV packet (generated by LibMISB) into a Transport Stream. Based on [https://developer.ridgerun.com/wiki/index.php/GStreamer_In-Band_Metadata_for_MPEG_Transport_Stream/Examples/_C/C%2B%2B GStreamer In-Band Metadata for MPEG Transport Stream - Examples - C - C++]. | In the following example, we show you how to use Gstreamer In-Band metadata to add a KLV packet (generated by LibMISB) into a Transport Stream. Based on [https://developer.ridgerun.com/wiki/index.php/GStreamer_In-Band_Metadata_for_MPEG_Transport_Stream/Examples/_C/C%2B%2B GStreamer In-Band Metadata for MPEG Transport Stream - Examples - C - C++]. | ||
'''Important''': The encoded packet that was generated by LibMISB must declare in the variable '''const char* filename''' and you need to define packet length in '''static guint8 klv_metadata[<PACKET_LENGTH>]'''. | {{Ambox | ||
|type=notice | |||
|small=left | |||
|issue='''Important''': The encoded packet that was generated by LibMISB must declare in the variable '''const char* filename''' and you need to define packet length in '''static guint8 klv_metadata[<PACKET_LENGTH>]'''. | |||
|style=width:unset; | |||
}} | |||
<syntaxhighlight lang="C"> | <syntaxhighlight lang="C"> |