Injecting metadata from file MISP

Fran Raga franka1986 at gmail.com
Tue Jun 11 09:29:35 UTC 2019


Hi devs

I am trying to inject a telemetry file (KLV) into a video to create a video
MISB.

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.
https://github.com/All4Gis/QGISFMV
What I am trying is:

D:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe -v --gst-debug=3 -e
mpegtsmux name=mux^
 ! filesink location=C:/Users/fran/Desktop/Multiplexor/MISB2.ts^
 filesrc location=C:/Users/fran/Desktop/Multiplexor/DJI_0047_MISB_F.klv^
 ! meta/x-klv ! mux. filesrc
location=C:/Users/fran/Desktop/Multiplexor/DJI_0047.ts^
 ! video/x-h264, stream-format=byte-stream, alignment=au ! mux.

But I receive these errors:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:0/Gst0Pip:eli0ne:0pip.eli1ne01/Gs3tCa4psF2ilt8er:0cap0sfi0lte
r0.Gs1tPad:1src: caps = met6a/x-klv, pars2ed=0(bool ean)t0rue
000/Gs0tPi1peliBne:2pipe6line00/M9peg6TsMu9x:m1ux.4Gst0Pad :sinkW_65A:
cRaps N= me ta/ x-k lv,  par sed =(boo lean)true
      collectpads
gstcollectpads.c:1804:gst_collect_pads_event_default:<collectpads0>
GstCollectPads default collecting can only handle time segments. Non time
segment ignored.

(gst-launch-1.0:11620): GStreamer-CRITICAL **: 11:27:59.766:
gst_segment_to_running_time_full: assertion 'segment->format == format'
failed
0/GstPipeline:pipelin:e0/G0stC0aps:Filter:ca0psfi0lte.r1.Gs1tPad:8src7:
caps 0= video/5x-h52640, s0trea0m-f ormat1=(str1ing6)by2te-0stream,
 ali0gnme0nt=(0str0ing0)au1
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
ads gstcollectpads.c:1804:gst_collect_pads_event_default:<collectpads0>
GstCollectPads default collecting can only handle time segments. Non time
segment ignored.

(gst-launch-1.0:11620): GStreamer-CRITICAL **: 11:27:59.839:
gst_segment_to_running_time_full: assertion 'segment->format == format'
failed
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.
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.
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
/GstPipeline:pipeline0/MpegTsMux:mux.GstPad:src: caps = video/mpegts,
systemstream=(boolean)true, packetsize=(int)188
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps =
video/mpegts, systemstream=(boolean)true, packetsize=(int)188


The resulting video seems to have metadata but it does not look good (the
image is corrupt i think)

Any help, suggestion about if I'm missing something, what am I doing wrong?

Gstreamer version:
gst-launch-1.0 version 1.16.0
GStreamer 1.16.0

thank you
*Francisco Raga** | *Full-Stack Open Source GIS Developer

Móvil: (+34) 654275432* | *e-Mail: franka1986 at gmail.com *| *skype:
francisco_raga
Github: https://goo.gl/ydNTjY *| *Linkedin: https://goo.gl/TCfj8S *| *Site:
https://goo.gl/qiypDj

"La vida real no tiene ningún mapa.."  Ivy Compton Burnett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190611/dd25c669/attachment.html>


More information about the gstreamer-devel mailing list