Injecting metadata from file MISP

Fran Raga franka1986 at gmail.com
Fri Jun 21 18:54:28 UTC 2019


Finally I made a parser to use the videos of a DJI without creating an
MISB, and create klv packets for after demux (I do not know how create MISB)

It's pure python

https://github.com/All4Gis/QGISFMV/blob/dev/code/player/QgsMultiplexor.py

I hope that it would be useful to someone

regards
*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


El mar., 11 jun. 2019 a las 13:15, Tim Müller (<tim at centricular.com>)
escribió:

> On Tue, 2019-06-11 at 11:29 +0200, Fran Raga wrote:
>
> Hi Fran,
>
> > gst-launch-1.0.exe mpegtsmux name=mux ! filesink location=MISB2.ts
> > filesrc location=DJI_0047_MISB_F.klv ! meta/x-klv ! mux.
> > filesrc location=DJI_0047.ts
> >  ! video/x-h264, stream-format=byte-stream, alignment=au ! mux.
> >
> > But I receive these errors:
> > (snip)
>
> So this part
>
>  filesrc location=DJI_0047_MISB_F.klv ! meta/x-klv ! mux.
>
> isn't going to work like that. meta/x-klv is supposed to be a parsed
> format with one buffer per KLV chunk. People usually don't feed this in
> from a file, but inject it live via an appsrc or such as they go along.
> So you would need a klv parser here.
>
> Then this part
>
>  filesrc location=DJI_0047.ts ! video/x-h264, ... ! mux.
>
> that's not really how things work. The file looks like it is an MPEG-TS
> stream. So if you want to get to the video data inside that MPEG-TS
> file you need to demux it, with the tsdemux element. So something like
>
>  filesrc location=foo.ts ! tsdemux ! video/x-h264 ! mux.
>
> might work, but usually one would put in a parser as well, in this case
> h264parse:
>
>  filesrc location=foo.ts ! tsdemux ! h264parse ! mux.
>
> Cheers
>  Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190621/dd9de505/attachment.html>


More information about the gstreamer-devel mailing list