<div dir="ltr">Thanks for the quick response.<br>I definitely don't know how to do it, I don't know Gstreamer.<br><br>What I have is an original video, the MISB video created with a commercial tool and the klv file extracted from that video.<br><br>What I want to generate is that video to not go through that commercial tool<br>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.<div><br></div><div>thanks<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><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 11 jun. 2019 a las 13:15, Tim Müller (<<a href="mailto:tim@centricular.com">tim@centricular.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2019-06-11 at 11:29 +0200, Fran Raga wrote:<br>
<br>
Hi Fran,<br>
<br>
> gst-launch-1.0.exe mpegtsmux name=mux ! filesink location=MISB2.ts<br>
> filesrc location=DJI_0047_MISB_F.klv ! meta/x-klv ! mux.<br>
> filesrc location=DJI_0047.ts<br>
>  ! video/x-h264, stream-format=byte-stream, alignment=au ! mux.<br>
> <br>
> But I receive these errors:<br>
> (snip)<br>
<br>
So this part<br>
<br>
 filesrc location=DJI_0047_MISB_F.klv ! meta/x-klv ! mux.<br>
<br>
isn't going to work like that. meta/x-klv is supposed to be a parsed<br>
format with one buffer per KLV chunk. People usually don't feed this in<br>
from a file, but inject it live via an appsrc or such as they go along.<br>
So you would need a klv parser here.<br>
<br>
Then this part<br>
<br>
 filesrc location=DJI_0047.ts ! video/x-h264, ... ! mux.<br>
<br>
that's not really how things work. The file looks like it is an MPEG-TS <br>
stream. So if you want to get to the video data inside that MPEG-TS<br>
file you need to demux it, with the tsdemux element. So something like<br>
<br>
 filesrc location=foo.ts ! tsdemux ! video/x-h264 ! mux.<br>
<br>
might work, but usually one would put in a parser as well, in this case<br>
h264parse:<br>
<br>
 filesrc location=foo.ts ! tsdemux ! h264parse ! mux.<br>
<br>
Cheers<br>
 Tim<br>
<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>