metadata Command Examples
Example #1: Creating a Stream with Serial Metadata
[Source ID=0]
Set the baud rate for the serial port to 115,200 using the following command:
# metadata 0 set baudrate=115200 |
Start the serial metadata encoder instance:
# metadata 0 start |
Create a stream with video, audio and metadata using the following syntax:
# stream create addr=<IPaddr> port=<UDPport> vid=0 aud=0 data=0 |
Verify the metadata encoder stats:
# metadata 0 get all |
The system will return the metadata information:
Metadata ID : 0 |
Example #2: Creating a Stream with SDI Metadata
[Source ID=1]
Start the SDI metadata encoder instance using the following command:
# metadata 1 start |
Create a stream with video, audio and metadata using the following syntax:
# stream create addr=<IPaddr> port=<UDPport> vid=0 aud=0 data=1 |
Verify the metadata encoder stats:
# metadata 1 get all |
The system will return the metadata information:
Metadata ID : 1 |
Example #3: Streaming with UDP Metadata
[Source ID=2]
Create a UDP metadata encoder instance using the following syntax:
metadata create [addr=<IP source>] port=<dest port> |
Example:
# metadata create port=8500 |
The system will return the following message, including the UDP metadata ID:
Metadata source created successfully - ID: 2 |
Start the metadata UDP metadata encoder using the following syntax:
# metadata <ID> start |
Ex:
# metadata 2 start |
Create a stream with video, audio and metadata using the following syntax:
stream create [addr=<dest IP>] port=<dest port> vid=<id> |
Example (showing multiple metadata streams):
# stream create addr=10.64.1.124 port=1234 encap=ts-udp videosrc=1 audiosrc=1 datasrc=1,3 |
Verify the metadata encoder stats using the following syntax:
# metadata <ID> get all |
Example:
# metadata 2 get all |
The system will return the metadata information:
Metadata ID : 2 |
Example #4: Configuration Information for Multiple Metadata Sources
Get the metadata configuration information for the encoder using the following command:
# metadata get all |
Returns configuration information for three metadata sources: (1) serial port source configured for CoT (Makito X4 Rugged only), (2) HD-SDI source configured for KLV, and (3) network source configured for KLV:
Metadata ID : 0 |
Example #5: Creating Additional HD-SDI Metadata Sources
To create an additional HD-SDI metadata source and use it in a stream:
|