GStreamer-CRITICAL **: gst_segment_to_running_time: assertion `segment->format == format' failed

Peter Maersk-Moller pmaersk at gmail.com
Mon Sep 23 09:48:44 PDT 2013


Hi Adrian.

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.

Best regards
Peter






On Mon, Sep 23, 2013 at 4:13 PM, Adrian Daerr <
adrian.daerr at univ-paris-diderot.fr> wrote:

> Hi Peter,
>
> 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:
>
> http://gstreamer.freedesktop.**org/data/doc/gstreamer/head/**
> gstreamer/html/gstreamer-**GstFormat.html<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstFormat.html>
>
> See the following thread for more details:
> http://gstreamer-devel.966125.**n4.nabble.com/Re-videoflip-**
> causes-critical-errors-in-**gstreamer-1-0-tt4661512.html<http://gstreamer-devel.966125.n4.nabble.com/Re-videoflip-causes-critical-errors-in-gstreamer-1-0-tt4661512.html>
>
> hth & good luck,
> Adrian
>
>
>
> On 23.09.2013 15:44, Peter Maersk-Moller wrote:
>
>> Hi.
>>
>> I have a pipeline that reports:
>>
>>    GStreamer-CRITICAL **:  gst_segment_to_running_time: assertion
>> `segment->format == format' failed
>>
>> I tried to search mailing list and the web, but found no obvious ideas
>> to what it means. What does it mean? And how does one goes around
>> mitigating this? It should be said that the pipeline plays. The version
>> used is 1.1.90
>>
>> The pipeline is shown below. I notice that the CRITICAL message is no
>> longer present, if I remove the pipeline elements AFTER the 'filesink'
>> element. So quite likely something between decodebin and shmsink
>> provokes the critical message, but I'm not really sure what to look for.
>>
>> CAPS='application/x-rtp, media=(string)video, clock-rate=(int)90000,
>> encoding-name=(string)H264,
>> sprop-parameter-sets=(string)"**Z0JAKLtAKALb+**
>> AokAAADAAQAAAMAwYEAALcbAAtx73v**heEQjUA\=\=\,aM44gA\=\=",
>> payload=(int)96'
>> MIXERFORMAT='    video/x-raw, format=(string)BGRA,
>> pixel-aspect-ratio=(fraction)**1/1, interlace-mode=(string)**progressive,
>> width=(int)1280, height=(int)720'
>>
>> /usr/local/bin/gst-launch-1.0 -v \
>>      fdsrc fd=0 !\
>>      $CAPS !\
>>      rtph264depay !\
>>      h264parse !\
>>      tee name=t1 !\
>>      queue !\
>>      rtph264pay !\
>>      udpsink host=192.168.1.1 port=19044 t1. !\
>>      queue !\
>>      mpegtsmux !\
>>      tsparse !\
>>      filesink location=somefile.ts t1. !\
>>      queue !\
>>      decodebin !\
>>      videoscale !\
>>      videoconvert !\
>>      $MIXERFORMAT !\
>>      shmsink socket-path=/tmp/feed3-**control-pipe shm-size=22118400
>> wait-for-connection=0 sync=false
>>
>> A producing pipeline could be something similar to
>>
>> gst-launch -q videotestsrc is-live=true do-timestamp=true !\
>>      $MIXERFORMAT !\
>>      x264enc !\
>>      h264parse !\
>>      rtph264pay !\
>>      fdsink fd=3 sync=true 3>&1 1>&2
>>
>>
>> ______________________________**_________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
>> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>>
>>  ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130923/262a2007/attachment-0001.html>


More information about the gstreamer-devel mailing list