<div dir="ltr"><div><div><div>Hi Adrian.<br><br></div>The initial suggestion in the thread to add identity element had no impact. I also tried to replace the last part of my pipeline with a fakesink with sync=false and I have no do-timestamp in the pipeline so fiddling with timestamps (using a gst-launch) pipeline doesn't appear to be a way. Tried also setting max-time-size=0 for the queue, as I'm not certain why the queue/fakesink produce the critical message. But to no avail.<br>
<br></div>Best regards<br></div>Peter<br><div><div><div><br><br><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 4:13 PM, Adrian Daerr <span dir="ltr"><<a href="mailto:adrian.daerr@univ-paris-diderot.fr" target="_blank">adrian.daerr@univ-paris-diderot.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Peter,<br>
<br>
Not sure whether the cause is the same in your case, but when I stumbled across the same assertion error, it was because I had forgotten to set the 'format' property on my appsrc to one of the values specified here:<br>
<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstFormat.html" target="_blank">http://gstreamer.freedesktop.<u></u>org/data/doc/gstreamer/head/<u></u>gstreamer/html/gstreamer-<u></u>GstFormat.html</a><br>
<br>
See the following thread for more details:<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Re-videoflip-causes-critical-errors-in-gstreamer-1-0-tt4661512.html" target="_blank">http://gstreamer-devel.966125.<u></u>n4.nabble.com/Re-videoflip-<u></u>causes-critical-errors-in-<u></u>gstreamer-1-0-tt4661512.html</a><br>
<br>
hth & good luck,<br>
Adrian<div><div class="h5"><br>
<br>
<br>
On 23.09.2013 15:44, Peter Maersk-Moller wrote:<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">
Hi.<br>
<br>
I have a pipeline that reports:<br>
<br>
GStreamer-CRITICAL **: gst_segment_to_running_time: assertion<br>
`segment->format == format' failed<br>
<br>
I tried to search mailing list and the web, but found no obvious ideas<br>
to what it means. What does it mean? And how does one goes around<br>
mitigating this? It should be said that the pipeline plays. The version<br>
used is 1.1.90<br>
<br>
The pipeline is shown below. I notice that the CRITICAL message is no<br>
longer present, if I remove the pipeline elements AFTER the 'filesink'<br>
element. So quite likely something between decodebin and shmsink<br>
provokes the critical message, but I'm not really sure what to look for.<br>
<br>
CAPS='application/x-rtp, media=(string)video, clock-rate=(int)90000,<br>
encoding-name=(string)H264,<br>
sprop-parameter-sets=(string)"<u></u>Z0JAKLtAKALb+<u></u>AokAAADAAQAAAMAwYEAALcbAAtx73v<u></u>heEQjUA\=\=\,aM44gA\=\=",<br>
payload=(int)96'<br>
MIXERFORMAT=' video/x-raw, format=(string)BGRA,<br>
pixel-aspect-ratio=(fraction)<u></u>1/1, interlace-mode=(string)<u></u>progressive,<br>
width=(int)1280, height=(int)720'<br>
<br>
/usr/local/bin/gst-launch-1.0 -v \<br>
fdsrc fd=0 !\<br>
$CAPS !\<br>
rtph264depay !\<br>
h264parse !\<br>
tee name=t1 !\<br>
queue !\<br>
rtph264pay !\<br>
udpsink host=192.168.1.1 port=19044 t1. !\<br>
queue !\<br>
mpegtsmux !\<br>
tsparse !\<br>
filesink location=somefile.ts t1. !\<br>
queue !\<br>
decodebin !\<br>
videoscale !\<br>
videoconvert !\<br>
$MIXERFORMAT !\<br>
shmsink socket-path=/tmp/feed3-<u></u>control-pipe shm-size=22118400<br>
wait-for-connection=0 sync=false<br>
<br>
A producing pipeline could be something similar to<br>
<br>
gst-launch -q videotestsrc is-live=true do-timestamp=true !\<br>
$MIXERFORMAT !\<br>
x264enc !\<br>
h264parse !\<br>
rtph264pay !\<br>
fdsink fd=3 sync=true 3>&1 1>&2<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br></div>