<div dir="ltr">Hi devs<div><br></div><div>I am trying to inject a telemetry file (KLV) into a video to create a video MISB.<br><br>After many months looking I see that only Gstreamer is able to get it. Currently I am developing an open source project and it is already implemented and tested the demux in real time using ffmpeg but I can create the mux tool.<br><a href="https://github.com/All4Gis/QGISFMV">https://github.com/All4Gis/QGISFMV</a><br>What I am trying is:</div><div><br>D:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe -v --gst-debug=3 -e mpegtsmux name=mux^<br> ! filesink location=C:/Users/fran/Desktop/Multiplexor/MISB2.ts^<br> filesrc location=C:/Users/fran/Desktop/Multiplexor/DJI_0047_MISB_F.klv^<br> ! meta/x-klv ! mux. filesrc location=C:/Users/fran/Desktop/Multiplexor/DJI_0047.ts^<br> ! video/x-h264, stream-format=byte-stream, alignment=au ! mux.</div><div><br>But I receive these errors:<br><br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>0:0/Gst0Pip:eli0ne:0pip.eli1ne01/Gs3tCa4psF2ilt8er:0cap0sfi0lte r0.Gs1tPad:1src: caps = met6a/x-klv, pars2ed=0(bool ean)t0rue<br>000/Gs0tPi1peliBne:2pipe6line00/M9peg6TsMu9x:m1ux.4Gst0Pad :sinkW_65A: cRaps N= me ta/ x-k lv,  par sed =(boo lean)true<br>      collectpads gstcollectpads.c:1804:gst_collect_pads_event_default:<collectpads0> GstCollectPads default collecting can only handle time segments. Non time segment ignored.<br><br>(gst-launch-1.0:11620): GStreamer-CRITICAL **: 11:27:59.766: gst_segment_to_running_time_full: assertion 'segment->format == format' failed<br>0/GstPipeline:pipelin:e0/G0stC0aps:Filter:ca0psfi0lte.r1.Gs1tPad:8src7: caps 0= video/5x-h52640, s0trea0m-f ormat1=(str1ing6)by2te-0stream,  ali0gnme0nt=(0str0ing0)au1<br>B26/Gs0tPi9peline:6pipel9ine00/MCpegT0sMux :muxW.GAstRPadN:s in k_6 6:  caps  =  vid eo/x -h264,  stream-for mat= (str in g)cbyte-sotreaml, alilgnmeentc=(strtingp)au<br>ads gstcollectpads.c:1804:gst_collect_pads_event_default:<collectpads0> GstCollectPads default collecting can only handle time segments. Non time segment ignored.<br><br>(gst-launch-1.0:11620): GStreamer-CRITICAL **: 11:27:59.839: gst_segment_to_running_time_full: assertion 'segment->format == format' failed<br>0:00:00.250626000 11620 000001B2609690C0 WARN             collectpads gstcollectpads.c:1409:gst_collect_pads_recalculate_waiting:<collectpads0> GstCollectPads has no time segment, assuming 0 based.<br>0:00:00.279205000 11620 000001B2609690C0 WARN             collectpads gstcollectpads.c:1409:gst_collect_pads_recalculate_waiting:<collectpads0> GstCollectPads has no time segment, assuming 0 based.<br>0:00:00.306901000 11620 000001B2609690C0 FIXME               basesink gstbasesink.c:3248:gst_base_sink_default_event:<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements<br>/GstPipeline:pipeline0/MpegTsMux:mux.GstPad:src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188</div><div><br><br>The resulting video seems to have metadata but it does not look good (the image is corrupt i think)<br><br>Any help, suggestion about if I'm missing something, what am I doing wrong?</div><div><br></div><div>Gstreamer version:</div><div>gst-launch-1.0 version 1.16.0<br>GStreamer 1.16.0<br><br>thank you<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="1"><b>Francisco Raga</b></font><b style="font-size:x-small"> | </b><span style="font-size:x-small">Full-Stack </span><span style="font-size:x-small">Open Source </span><span style="font-size:x-small">GIS Developer </span></div><div><span style="font-size:x-small">    </span></div><div><font size="1">Móvil: (+34) 654275432<b> | </b>e-Mail: <a href="mailto:franka1986@gmail.com" target="_blank">franka1986@gmail.com</a> <b>| </b>skype: francisco_raga<br>Github: <a href="https://goo.gl/ydNTjY" target="_blank">https://goo.gl/ydNTjY</a></font><span style="font-size:x-small"> </span><b><span style="font-size:x-small">|</span><span style="font-size:x-small"> </span></b><span style="font-size:x-small">Linkedin: </span><a href="https://goo.gl/TCfj8S" style="font-size:x-small" target="_blank">https://goo.gl/TCfj8S</a><span style="font-size:x-small"> </span><b><span style="font-size:x-small">|</span><span style="font-size:x-small"> </span></b><span style="font-size:x-small">Site: </span><a href="https://goo.gl/qiypDj" style="font-size:x-small" target="_blank">https://goo.gl/qiypDj</a></div><div><font size="1"><br>"La vida real no tiene ningún mapa.."  Ivy Compton Burnett</font></div></div></div></div></div></div></div></div></div></div></div></div>