<div dir="ltr">Hi,<div><br></div><div>The eos is monitored in callbback specified by gst_bus_add_watch(bus, _on_bus_messages, &user_data)  and the Eos should be  detected by GST_MESSAGE_EOS. But the event was never seen.</div><div><br></div><div>But see the remark mentioned by Tim Muller which works fine. ( thanks for the tip Tim)</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-03 9:58 GMT+02:00 Sérgio Agostinho <span dir="ltr"><<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank">sergio.r.agostinho@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How exactly are you monitoring the arrival of the EOS?<div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-04-02 11:16 GMT+02:00 marc lievens <span dir="ltr"><<a href="mailto:mark.lievens@gmail.com" target="_blank">mark.lievens@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><p class="MsoNormal">Hi,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">With the used pipeline ( gstreamer V1.4.5) the video is
saved to file and the onvif data is seen.</p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial"> </span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">rtspsrc </span><span style="font-size:9.5pt;font-family:Consolas">location=rtspUrl <span style="background-image:initial;background-repeat:initial">name=rtspsrc rtspsrc</span>.</span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">! queue
name=videoqueue ! rtph264depay! h264parse! matroskamux ! filesink rtspsrc</span><span style="font-size:9.5pt;font-family:Consolas">.</span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">! queue
name=onvifqueue ! application/x-rtp, media=application ! fakesink </span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">But when I send a eos  as (bool reply true) </p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial"> </span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">gst_element_send_event(matroskamux,
gst_event_new_eos());</span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial"> </span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">or as </span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial"> </span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">pad =
gst_element_get_static_pad(matroskamux, "video_0");</span></p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">gst_pad_send_event(pad,
gst_event_new_eos());</span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">, then the <span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">GST_MESSAGE_EOS</span><span style="font-size:9.5pt;font-family:Consolas"> </span>is never arrived and after
a while the next warning are  continues logged.</p>

<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial"> </span></p>

<p class="MsoNormal">warning
rtpjitterbuffer.c2351:gst_rtp_jitterbuffer_chain:<rtpjitterbuffer0>
packet 13548 too late as #46078 was already popped, dropping 7632</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">When I use only the Video channel then everything seems to
work fine. The eos is send and processed on <span style="font-size:9.5pt;font-family:Consolas;background-image:initial;background-repeat:initial">GST_MESSAGE_EOS</span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Please any idea is welkom, I'm a little but stuck on this
one</p></div>
<br></div></div>_______________________________________________<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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>