Jump to content

LibMISB/Examples/GStreamer Application: Difference between revisions

m
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">
Cookies help us deliver our services. By using our services, you agree to our use of cookies.