Jump to content

LibMISB/Examples/Example Application: Difference between revisions

Line 318: Line 318:


===How to execute the application===
===How to execute the application===
1. Execute the code to create the binary file to be streamed from the JSON file </br>
1.1 Go to the same working directory where you created the main.c file.
1.2 Run this command:
<pre>
./misb-converter --verbose --encode -i misb_ST0601_sample.json -o klv.bin
</pre>
2. Open a terminal to run the GStreamer pipeline who will get the streaming from the application
2.1 Run this command:
<pre>
gst-launch-1.0 udpscr port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph254depay ! decodebin ! videoconvert ! autovideosink
</pre>


===Expected results===
===Expected results===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.