Injecting metadata from file MISP
Fran Raga
franka1986 at gmail.com
Tue Jun 11 11:31:49 UTC 2019
Thanks for the quick response.
I definitely don't know how to do it, I don't know Gstreamer.
What I have is an original video, the MISB video created with a commercial
tool and the klv file extracted from that video.
What I want to generate is that video to not go through that commercial tool
I know that it has to be done in a flow, starting from a csv for example,
but I wanted to test if I got it in a first attempt.
thanks
*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/20190611/f3c6082c/attachment.html>
More information about the gstreamer-devel
mailing list