<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-06-04 17:21 GMT+02:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Mi, 2014-06-04 at 13:49 +0200, Marcin Kolny wrote:<br>
> Hi,<br>
> I wrote simple plugin(demultiplexer), which reads from a file stored rtp<br>
> streams and demultiplex it. My pipeline:<br>
> gst-launch-1.0 filesrc location=file.RAW ! mydemux ! application/x-rtp !<br>
> rtph264depay ! fakesink<br>
> rtph264depay generate a lot of critical errors, like this:<br>
> (gst-launch-1.0:26999): GStreamer-CRITICAL **: gst_segment_to_running_time:<br>
> assertion 'segment->format == format' failed<br>
><br>
> It works fine, when I do two pipelines:<br>
><br>
> gst-launch-1.0 filesrc location=file.RAW ! mydemux ! udpsink<br>
> gst-launch-1.0 udpsrc ! rtph264depay ! fakesink<br>
><br>
> How can I set segment's format in my pipeline(or in my plugin)?<br>
> Thanks for your help!<br>
<br>
</div></div>rtph264depay expects a TIME segment, are you sending one? And are you<br>
dropping the BYTES segment your demuxer gets from filesrc?<br></blockquote><div>OK, thanks! I didn't send TIME segment. I also don't drop BYTES segment, but works fine without it. Is it necessary to drop BYTES segment in this case? <br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</font></span><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><br clear="all"><br>-- <br>Best regards,<br>Marcin Kolny
</div></div>